3 ms·
> I like making classes which abstracts the underlying work, hence improving (local) code readability. Where did you get the impression that scripting folks do
by anamax 18y ago
> I like making classes which abstracts the underlying work, hence improving (local) code readability.
Where did you get the impression that scripting folks don't do that?
> Code which can be compiled, and errors which can be caught before a single line is executed.
I find that most of the errors caught by compilers is in code that I had to insert to make the compiler happy while I worked on the actual problem. Yes, it's "just a little effort" to write stubs, but much of that work is wasted and it has to be done at the wrong time.
It is much better to simply allow missing methods, etc. and trap on use.