3 ms·
I think this approach comes out of highly dynamic languages like python. If a typo in a variable name doesn't cause any problems until it get evaluated, then y
by gizmo686 5y ago
I think this approach comes out of highly dynamic languages like python.
If a typo in a variable name doesn't cause any problems until it get evaluated, then you really need to execute every piece of the code to be sure that you don't have incredibly simple errors.
If you are using languages with a even a primitive static type system, you can catch a lot of errors at compile time (or when the interprartor loads them), which provides most of the benifits of 100% coverage.
- theonething 5y agofor undeclared variables PHP is even worse. It just keeps going and just gives you a notice!
- rbanffy 5y agoPHP has a lot in common with BASIC at that.
- nicoburns 5y ago> If a typo in a variable name doesn't cause any problems until it get evaluated Linters even in languages like python will catch that kind of thing.