3 ms·
My friends are trying to get me to port it, I'll ping you if I do. Being a common second language is relevant, but JS also has weird truthiness rules and very
by SonOfLilit 3y ago
My friends are trying to get me to port it, I'll ping you if I do.
Being a common second language is relevant, but JS also has weird truthiness rules and very first-class-feeling lists and hashmaps but not native deep comparisons, and many of the bugs you described stem from this. Those categories of bugs don't exist in Python, that has almost perfect truthiness (PSA: an epoch datetime is falsy! Wat) and deep comparisons by default.