964
Shiiieeettt....... (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] bus_factor@lemmy.world 25 points 9 months ago

Golang won't even compile with dead code. Unfortunately that's too strict, you just end up commenting out the whole block instead. At least the commented out code is obvious in review, and some automated checks catch it if you have them.

[-] ramjambamalam@lemmy.ca 3 points 9 months ago

commenting out the whole block

var foo is declared but not used is such a pain in my asshole when doing this.

this post was submitted on 25 Feb 2024
964 points (98.1% liked)

Programmer Humor

32562 readers
454 users here now

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

Rules:

founded 5 years ago
MODERATORS