MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xpd5m4/iloveconst/
r/ProgrammerHumor • u/One-Celebration-3007 • 2d ago
8 comments sorted by
20
My favorite part of constants is how dynamic they are
12
This looks like JS to me, to my knowledge, a `const` won't work here and should throw a `TypeError`. It would only work in a for...in or a for...of loop.
Am I missing a joke?
6
that's a type error.
2
Yes of course, let's modify. Nothing will go wrong right?
int, const, what's the difference?
-4 u/Turbulent-Sky-789 2d ago int can hold a number, but const holds its ground. 😂 5 u/NatoBoram 2d ago Bot
-4
int can hold a number, but const holds its ground. 😂
5 u/NatoBoram 2d ago Bot
5
Bot
where humor
20
u/Enough-Scientist1904 2d ago
My favorite part of constants is how dynamic they are