3 ms·
At least in C# you can ignore most of it and the complexity doesn't really come from numerous foot guns. You can still write Java 1.6/.NET 2 style C# code just
by EraYaN 2y ago
At least in C# you can ignore most of it and the complexity doesn't really come from numerous foot guns. You can still write Java 1.6/.NET 2 style C# code just fine, it's all there. The rest of the features can be fully ignored and they won't hurt you.
But then again the newer features they do make writing code a lot nicer, giving more compile time analysis warnings etc hopefully resulting in slightly better code. And the new features also enabled a lot of performance improvements in the runtime which is nice. .NET 2/4 wasn't all that fast, .NET 8 can be a lot faster.
- rezonant 2y agoYou can still write ES5 and it will work in the latest JS runtimes, so I'm not sure how this is different. Further, indeed the newer JS features do in fact give you better compile time analysis, warnings, etc, and result in slightly better code.
- niutech 2y agoYou can even write ES3 and it should work in all web browsers.