this post was submitted on 16 Jul 2023
700 points (92.3% liked)

Programmer Humor

32710 readers
133 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

No offence

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 1 year ago (1 children)

Honestly JS seams saner then python, it's wierd but rather sane. The only really bad parts of JS are the type coercing == and =! operators which are very broken

For example "" == 0 and 0 == "0" are both true, but "0" == "" is false.

[โ€“] [email protected] 4 points 1 year ago

this is an unpopular opinion of mine, but I think lua is, in turn, a saner version of js. Apart from the 1-based indexing (which really isn't that big a deal imo). But I really love the stackful coroutines.