adrian783

joined 1 year ago
[–] [email protected] 1 points 10 months ago

for some stuff absolutely, styling frameworks like bootstrap and others kludged together the concept of grid based designs. css grid just makes it official and more flexible.

[–] [email protected] 1 points 10 months ago (1 children)

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality

mdn goes into it more and it's way more involved than I thought, looks like order of operand doesn't matter. see the number to string section

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (4 children)

2 equal signs will coerce the second operand into the type of first operand then do a comparison of it can. so 1 == "1" is true. this leads to strange bugs.

3 equal signs do not do implicit type conversion, cuts down on weird bugs. 1==="1" is false.

edit: it appears to be more complicated than that for double equals and the position of operands don't matter. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality

[–] [email protected] 5 points 10 months ago (3 children)

bro we're on css grid now

[–] [email protected] 7 points 11 months ago

I mean, you can try to have them repair your microwave

[–] [email protected] 3 points 11 months ago (1 children)

wat, that has got to be costing them a ton in opportunity cost?

[–] [email protected] 7 points 11 months ago

sure, once you look past the insane wealth inequalities and transient tech workers it's mighty beautiful.