this post was submitted on 13 Aug 2023
346 points (94.4% liked)

Programmer Humor

32581 readers
970 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] 10 points 1 year ago

I've recently started writing JS recently, after writing C, go, shell and ruby for years.

Ended up with this gem in my code:

var total = +qty + +pool[0] - +pool[1];

I hate it.