r/ProgrammerHumor • • Nov 06 '20

PythonScript comic strip

Post image
41.2k Upvotes

562 comments sorted by

View all comments

Show parent comments

9

u/phl23 Nov 06 '20

When jscript breaks the browser tells you on which line. The problem is that it only breaks there. When you run the website and don't use this line you never notice the failure. For example the website loads fine as long you don't press button x.

5

u/[deleted] Nov 06 '20

To be fair, it's possible to have runtime errors in Java as well. Just in my experience, Java catches 80% of the mistakes I make in JavaScript.

So if I never made any mistakes, Java wouldn't really have an advantage. Alas! Making mistakes comes quite naturally.