this post was submitted on 16 Jul 2023
693 points (92.2% liked)
Programmer Humor
32596 readers
553 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How so? Moving back and forth between Typescript and C# / Java is pretty natural imho, as long as you understand the compiled vs interpreted differences.
The vary concept of truthy and falsy makes it very out of step. The triple equals only partly negates that foot gun. Const and let also only partly negate the footgun of hoisting, lexical scope, and the non-obvious impacts of currying. Prototype inheritance would be truly bizarre to people used to more standard inheritance style and many people don't know that javascript's classes are syntax sugar over that system and it leads to foot guns. Many people don't understand destructuring, because they don't understand that javascript objects are all dictionaries in a trenchcoat. Honestly there's a lot of cargo cult behavior in javascript that comes because the language is bizarre given what most people would have experienced.