AI code is often reused, because it's code and you are supposed to export/import it. Hence the damage spreads instead of being contained.
Luckily I’m working in a codebase with “human” issues, which I’m responsible for refactoring
JS infra and tooling is the worst thing that is still happening to web dev.
Both are slowly getting better and better. I see no objective reason to stay narcissistic about it in 2024.
Bad code is a universal problem, not a feature of a specific language.
I have recently used NextJS, after not using it for a few years. It feels like it has jumped the shark. Meh new features bur requires redoing many things.
In all seriousness though, I hate having to add a bunch of tooling to my dev process so that I get to write extra syntax to avoid warnings about valid code in the language as it is actually interpreted by the VM. It’s bureaucratic bs, so yeah, I avoid roles heavy on TS.
JS has a type system already. Its rules are laid out in easy to read specs. Maybe ”engineers” should learn how JS works instead of placing “safety” features in the way of their half baked understanding of the code and how it interacts with external data from the DOM, http requests and so on.
In all seriousness though, I hate having to add a bunch of tooling to my dev process so that I get to write extra syntax to avoid warnings about valid code in the language as it is actually interpreted by the CPU. It’s bureaucratic bs, so yeah, I avoid roles heavy on C.
Assembly has a type system already. Its rules are laid out in easy to read specs. Maybe ”engineers” should learn how Assembly works instead of placing “safety” features in the way of their half baked understanding of the code and how it interacts with external data from the terminal, disks and so on.
Also, you shouldn’t gatekeep who is/isn’t an engineer.
Otherwise, no programming language would have a type system except for Idris, for exactly the same reason.
Do you mean the fact that it can imply a variables type from assignment?
Edit: I’m plainly wrong, mishmashing words.
Yes JavaScript has a dynamic type system
You don't imply anything from an assignment other than the variable now has or is pointing to the new value. This is the same in every programming language. The only difference is that some programming languages gatekeep what you can assign to a variable based on types.