this post was submitted on 22 Oct 2023
632 points (95.8% liked)

Programmer Humor

32767 readers
608 users here now

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

Rules:

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

JS instills distrust. Rely on built-in sort? It's alphanumeric. Rely on built-in reverse? It modifies your array. Copy an array? No you didn't.

Yeah no kidding we bang out a kata in a dozen characters. I don't even believe in order of operations at this point. I've been routinely betrayed.

[โ€“] Strykker 1 points 1 year ago

The only order of operations I believe in is the one defined in braces. If it's not the order better not matter.