2 ms·
Thankyou, im glad someone understood the point. A similar example that web-focused developers are likely familiar with, is type hinting in PHP. For the develop
by stephenr 8y ago
Thankyou, im glad someone understood the point.
A similar example that web-focused developers are likely familiar with, is type hinting in PHP. For the developer's purpose, there is no 'compile' step (yes the code is compiled and then run, but it happens at request time so its not realistic to compare it to compile time type checking in a compile language like Java).
The 'compile/run' lifetime (in browser based JS) bears similarity to that of PHP: compile time effectively is run time, because it's compiled during the request and then executed immediately.
- arcticbull 8y ago100% it's just as safe, though I doubt the program is more reliable as it's harder to catch issues later on.