I taught someone JavaScript. It was absolutely crappy experience because there's no compiler and dynamic typing makes the error messages confusing at best and non-existent at worst. As an example, if you accidentally subtract a number from a text instead of getting an error pointing at that exact errorneous line the error silently propagates and messes up code down line. You'll get super confusing bugs that will take a lot of effort to debug which for begginer might be close to impossible.

Strongly statically typed languages don't have this issue. You have a compiler that checks if your code makes sense and tells you the exact line where a problem is. In great languages like Rust it even suggests a solution that is often correct.

Reply to this note

Please Login to reply.

Discussion

No replies yet.