Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You pay for not specifying those parameters and so on in other ways later on.

By leaving those things out you are broadening the problem model and denying the compiler information that it needs from you as the programmer so that it can do a good job of solving the problem.

You have to remember that the computer can't synthesise knowledge about the problem domain that you deny it in the first place.

So sure tightening things down by specifying them may be tedious but it is the reality of the problem that you are solving.

Convenience of leaving it out will translate to instability such as run-time exceptions not to mention a massively reduced ability in tooling support (like IDE auto-complete).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: