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
159,409 views
0 shares
javascript-memes, variables-memes, const-memes, var-memes, declaration-memes | ProgrammerHumor.io
More Like This
That is a good excuse
4 years ago
115.2K views
0 shares
Those Broken Lightbulbs
3 years ago
89.6K views
0 shares
Cookie Cutter For Empty Jsons
25 days ago
266.3K views
0 shares
Can We Stop This Nonsense
5 months ago
316.7K views
0 shares
"Pay a small monthly fee to make this button clickable"
2 years ago
99.2K views
0 shares
Made my first big contribution to open source software today
3 years ago
156.5K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp