this post was submitted on 19 Jun 2025
99 points (86.7% liked)

Programmer Humor

42052 readers
12 users here now

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

Rules:

founded 6 years ago
MODERATORS
 

Made with KolourPaint and screenshots from Kate (with the GitHub theme).

you are viewing a single comment's thread
view the rest of the comments
[โ€“] HiddenLayer555@lemmy.ml 13 points 10 months ago* (last edited 10 months ago) (1 children)

Can't say I've ever experienced this kind of confusion in Java but that's probably because they intentionally restricted the syntax so there's no ambiguity.

[โ€“] PeriodicallyPedantic@lemmy.ca 2 points 10 months ago

I think he means that of you initialize the variables, it becomes simpler but still unambiguous