2 ms·
Go added multiple returns for error/exception handling. It's a solution, just not a pretty one. In comparison, Oberon has... nothing. If you check the source c
by cyberax 7mo ago
Go added multiple returns for error/exception handling. It's a solution, just not a pretty one.
In comparison, Oberon has... nothing. If you check the source code of Oberon OS for something like USB, a lot of code is either YOLO or a mess of nested blocks.
- pjmlp 7mo agoYou are overlooking that Oberon is from 1992, and modern versions of Oberon like Active Oberon, do support exceptions and many other modern programming language features that Go designers still ignore to this day. Unfortunately just like the authors did in 1972, they are keen ignoring other languages learnings.
- elch 7mo agoDid you mean the C authors?
- pjmlp 7mo agoYep, > Although we entertained occasional thoughts about implementing one of the major languages of the time like Fortran, PL/I, or Algol 68, such a project seemed hopelessly large for our resources: much simpler and smaller tools were called for. All these languages influenced our work, but it was more fun to do things on our own https://www.nokia.com/bell-labs/about/dennis-m-ritchie/chist.html https://www.nokia.com/bell-labs/about/dennis-m-ritchie/chist... And thus systems programming without bounds checking was eventually made mainstream