|
|
|
|
|
by throwaway89988
879 days ago
|
|
Nice writeup, the IT industry is fashion driven for at least 2 decades now, and in the echo chamber of the internet bullshit like 'exceptions == bad' are repeated w/o any real world experience. Checked exceptions in Java are an excellent example: They make total sense, once a more complicated program gets developed. Not that I love them, but I don't know of a better way to solve the problem of exceptions/errors when one cannot simply restart a process w/o problems. Checked exceptions are brilliant for showing the developer, where error handling needs to go. (IOException in my business domain? Doesn't look right, how can I solve it?) The other thing which really annoys the hell out of me in the criticism of Golang is, that most people don't understand that Golang is part of a bigger system/approach to software development and complexity. Again, Golang makes much more sense for real world software which has to be maintained over a decade, than comparing a feature to another languages feature. Real world software is not written in a language, but on a platform consisting of standard libraries, documentation, a community and idioms. The Go community succeeded here in an impressive way, especially compared to other communities which are more concerned about ideology/politics/holier than thou RUST. Funnily enough, exceptions is the one thing which I really miss in Golang, but I am afraid they will never be added. |
|