lambalicious@lemmy.sdf.org to Programmer Humor@programming.devEnglish · 3 days ago[CSS] So I'm learning CSS nowlemmy.sdf.orgexternal-linkmessage-square27fedilinkarrow-up1232arrow-down16file-text
arrow-up1226arrow-down1external-link[CSS] So I'm learning CSS nowlemmy.sdf.orglambalicious@lemmy.sdf.org to Programmer Humor@programming.devEnglish · 3 days agomessage-square27fedilinkfile-text
minus-squarelambalicious@lemmy.sdf.orgOPlinkfedilinkEnglisharrow-up12arrow-down1·3 days agoHey now, CSS has variables, scopes, conditionals and calc()! The only thing I can’t find is goto.
minus-squareSupervisor194@lemmy.worldlinkfedilinkarrow-up6arrow-down1·2 days agoCSS isn’t a programming language. Programming languages are logical, follow sensible rules and provide consistent output.
minus-squarelambalicious@lemmy.sdf.orgOPlinkfedilinkEnglisharrow-up3·2 days agoGot it, JS is not a programming language then!
minus-squarefunkless_eck@sh.itjust.workslinkfedilinkarrow-up3·edit-22 days agoObject.is(NaN, NaN); // -> true NaN === NaN; // -> false Object.is(-0, 0); // -> false -0 === 0; // -> true Object.is(NaN, 0 / 0); // -> true NaN === 0 / 0; // -> false !![] // -> true [] == true // -> false !!null; // -> false null == false; // -> false 0 == false; // -> true “” == false; // -> true
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up4·3 days agoIf it doesn’t have goto, it’s not a real language
Hey now, CSS has variables, scopes, conditionals and
calc()
! The only thing I can’t find is goto.CSS isn’t a programming language. Programming languages are logical, follow sensible rules and provide consistent output.
Got it, JS is not a programming language then!
Object.is(NaN, NaN); // -> true
NaN === NaN; // -> false
Object.is(-0, 0); // -> false
-0 === 0; // -> true
Object.is(NaN, 0 / 0); // -> true
NaN === 0 / 0; // -> false
!![] // -> true
[] == true // -> false
!!null; // -> false
null == false; // -> false
0 == false; // -> true
“” == false; // -> true
malbolge is a programming language
If it doesn’t have
goto
, it’s not a real language