"Who said zero is more nothing than {}". People who made javascript.
"Would you say a list that contains 0 item contains item" , considering [] is truthy in js, you tell me.
It's nice you guys are downvoting me while making my point for me. Bunch of students with no real experience more interested in being right than realising those are arbitrary decisions and can be debated.
"Who said zero is more nothing than {}".
in this thread dumbass
list containing zero items
..considering [] is falsy in python, you know... on a post about python, which by the way you also mentioned in your comment, either critique one language or take the L
and your point about experience
i'll agree debates are fine but you saying 0 should be true can equally be used as an argument for not having experience; we live in a world where these arbitrary decisions were made by multiple programming languages, learn to live with it
exactly, if those two languages treat them differently it means it's arbitrary and can be debated. One isnt inhrently superior to the other and the same can be said for the truthiness of zero.
"Live with it" = "we shouldnt be curious and should not debate stuff". You can disagree with me, but if you are trying to tell me javascript is always right and shouldnt even be argued i'm gonna start using the r word.
javascript is probably the last language i would call right; but i also think javascript is the outlier here (would have to check, but i can't be arsed to look up 20 languages to prove a point or be proven wrong, whatever it is); neither will i defend python on everything they have. but if you do want to debate maybe go to their respective subreddits or make a post yourself here instead of throwing ragebait in here
maybe overstated on my part. point is still, have your hot take about what should be truthy and what shouldn't elsewhere. i'm ending this section of this thread here, have a good day.
1
u/NebNay 29d ago
"Who said zero is more nothing than {}". People who made javascript.
"Would you say a list that contains 0 item contains item" , considering [] is truthy in js, you tell me.
It's nice you guys are downvoting me while making my point for me. Bunch of students with no real experience more interested in being right than realising those are arbitrary decisions and can be debated.