Random
Only logged in members can reply and interact with the post.
Join SimilarWorlds for FREE »

Excuse me, Against JavaScript I meant Line number not Error number.

[media=https://youtu.be/GwuMWI4n4nI]
Top | New | Old
DeWayfarer · 61-69, M
They, and I mean all high level language makers, will say you need to validate your own input in your own code. They can not be responsible for run time inputs.

The fact that JS is a interpretive language here, rather than a complied language, doesn't even matter. Both require you to validate all inputs. Even from a file. A division by zero from an input will still cause an error later on in the code, regardless of the language. And I ought to know having program in enough languages to kill enough know it alls. I was teethed on binary. Cards and all.

 
Post Comment