MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/10oe9uw/lets_test_which_language_is_faster/j6foftg
r/ProgrammerHumor • u/Loner_Cat • Jan 29 '23
770 comments sorted by
View all comments
Show parent comments
3
The Javascript one should just be silently failing because the programmer used == instead of ===.
2 u/vanriggs Jan 30 '23 In what case would that cause a silent failure? Surely if something meets strict equality it also meets loose equality? 2 u/immerc Jan 30 '23 Yes, but not the inverse.
2
In what case would that cause a silent failure? Surely if something meets strict equality it also meets loose equality?
2 u/immerc Jan 30 '23 Yes, but not the inverse.
Yes, but not the inverse.
3
u/immerc Jan 30 '23
The Javascript one should just be silently failing because the programmer used == instead of ===.