Re:Java’s Checked Exceptions Are Evil? (2015)
by pjmlp on Sunday September 23, 2018 @07:02AM
(#18050492)
They were following up on CLU, Modula-3 and C++ exceptions design, the predecessors that everyone forgets when complaining about them.
[ Parent
| on HN ]
Re:Java’s Checked Exceptions Are Evil? (2015)
by projektfu on Sunday September 23, 2018 @07:42AM
(#18050619)
I don't know what Gosling's actual influences were, but when Java came out I was struck by its similarity in many respects to Modula-3. One convention I wish they had borrowed was modules instead of classes as the encapsulation technique, although I think many potential converts to the language would have found Modula-3's partial revelation of types to be confusing.
We live in a wonderfully polyglot world these days. At the time Java was introduced, I felt like new programmers encouraged each other to pick sides. Were you going to use C? Pascal? C++? (Visual) Basic? Ada? Lisp? Your "choice" brought you praise from one camp and ridicule from another.