News for hackers. Stuff that matters.
Re:Show HN: I Wrote a Book on Java by zahlman on Tuesday September 24, 2024 @02:23PM (#41639480)
>For example, you will find functions where the runtime value of parameters will change the return type (e.g. you get a list of things instead of one thing).

I have long argued that such interfaces are doing it wrong. That's what "Special cases aren't special enough to break the rules." in the Zen is supposed to warn about, to my understanding.

There are no comments on this comment yet.