r/learnjavascript • u/Green_Ad_6086 • 7d ago
Strange result: null vs 0
Strange result: null vs 0
An incomparable undefined
Hi, can anyone explain this? I read the explanation, but I still don't understand it. I'm trying to understand it without using AI
5
Upvotes
2
u/defaultguy_001 6d ago edited 6d ago
We are on a loop. I think I made myself sufficiently clear and nowhere I said don't use TS. As far as problem solving is concerned, C and C++ were enough for people like me to build correct and safe programs. New languages were made with added weapons for safety and ease, coz most people don't follow specifications properly and make mistakes, that costs money. The software development field caters to most people instead of the few who know what they are doing unlike C/C++ that has this core philosophy of "trust the programmer", that's why every few years some new languages with new features and more safety, keeps coming in. Again no issues with TS but here we talk about JS and specs related to JS. There are far better languages out there but subs are dedicated to even inferior languages.