JavaScript developers really woke up one day and said "Let's create four different ways to declare variables, each with subtly different rules that will absolutely destroy newcomers' sanity." And then they had the audacity to add const const which is technically valid syntax. The real horror is that last example where var var lets you mutate your string into whatever Lovecraftian nightmare you want. No wonder half of Stack Overflow is just people asking "why doesn't my variable work?" Ten years of experience and I still occasionally get bitten by this nonsense.
Thanks I Hate Variable Variables
2 months ago
176,171 views
0 shares
javascript-memes, variables-memes, const-memes, var-memes, declaration-memes | ProgrammerHumor.io
More Like This
APIs Vs Web Scrapers
8 months ago
366.0K views
1 shares
More like… Taa Daaaa!
3 years ago
119.4K views
0 shares
The Two Faces Of Web Development
10 months ago
222.3K views
1 shares
Time to push back against the Angular hate on this sub
2 years ago
86.1K views
0 shares
White Guy Blinking Overflow Error
4 years ago
224.1K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp