When Naming Constants Gets Hard
private static final Integer ONE = 1; private static final Integer TWO = 2; private static final Integer THREE = 3; private static final Integer FOUR = 4; private static final Integer FIVE = 5;
A dark-themed code editor shows five Java integer constants named ONE through FIVE, each assigned its corresponding number. The joke is that even trivial values are being given overly elaborate constant declarations, matching the feeling of wishing there were an easier way to do something simple. EN: A dark-themed code editor shows five Java integer constants named ONE through FIVE, each assigned its corresponding number. The joke is that even trivial values are being given overly elaborate constant declarations, matching the feeling of wishing there were an easier way to do something simple.
- @eternalclassic / 30877 2023-04-12
- Type
- image
- Size
- 664×449 · 30.5 KiB
- Mood
- sarcastic
- Language
- en
- Added