I half way agree. I always say form shapes function. Sure you can write good code in any language. But some encourage it more then others. Ultimately it's the programmer fault when things get over complex though
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
Honestly, I more than half agree because the factor most seem to conveniently ignore is that languages and environments that encourage better and safer code are aimed at the lowest common denominator.
The lowest common denominator of developers are the ones that benefit the most from a reduction in defects or unsafe code they may produce. They are the biggest pool of developers. And in my experience, the ones least likely to proactively take measures to reduce defect rates unless it's forced upon them and/or baked into their environment.
They are the ones that will slap any in typescript to resolve errors instead of actually resolving them, or the ones that will use dynamic in C# instead of actually fixing the bad design ... etc
Typescript literally doesn't work though, every large system has some JavaScript interface somewhere and the "any" type propagates through the system because there's no type safety at runtime
Fuck them both to death
I don’t understand how this would happen. If the any type truly “propagates through the system”, that means you’re passing around a variable of which you say, “I don’t know what this is. You deal with it.” How can you do any meaningful operations on it when you don’t know the type?
You write your typescript code to expect a given type but at the end of the day it's JavaScript with a type checking compiler so when "'any" gets in through a library or interface somewhere you just get a random "undefined" somewhere when you try to perform an operation with it because it's just JavaScript at the end of the day