3 ms·
That's because you actually haven't used C++ that much or you haven't used js that much or both. In practice, despite the type system, it is actually less safe.
by ninetyninenine 2y ago
That's because you actually haven't used C++ that much or you haven't used js that much or both. In practice, despite the type system, it is actually less safe. There are bugs in C++ that are so subtle nobody can find it for years.
Javascript is practically safer because each crash leaves an incredibly obvious stack trace about what caused the crash. It leads to programs with less bugs then C++.