372
I Hate It (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] wgs@lemmy.sdf.org 13 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.

this post was submitted on 13 Aug 2023
372 points (100.0% liked)

Programmer Humor

32584 readers
1016 users here now

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

Rules:

founded 5 years ago
MODERATORS