I prefer the 2nd. It states what really must be passed (whereas the 1st lets the compiler tolerate errors that will manifest themselves at runtime).
(Exceptions are when you inherit a class and have no choice in the signature.)
I prefer the 2nd. It states what really must be passed (whereas the 1st lets the compiler tolerate errors that will manifest themselves at runtime).
(Exceptions are when you inherit a class and have no choice in the signature.)
janus (17th October 2008)
Bookmarks