The Throw Keyword was a Mistake

Written by Cheopys | Published 2019/12/20
Tech Story Tags: software-development | error-handling | runtime-error | engineering | exception-handling | fads | coding | hackernoon-top-story

TLDR The Throw Keyword was a Mistake when Java added an exception to C++. Java developers are routinely expected to throw exceptions in error conditions. The throw keyword is a sledgehammer of a thumb on a thumb. It is likely one of the worst things to ever happen to software development until pair programming came along with the new keyword. Java came along and validated that bad judgment was just bad judgment, and that it was just an issue of bad judgment along with Java's bad judgment. It's not just another tool in the box, glorified to glorified exceptions; why should they be real exceptions?via the TL;DR App

no story

Written by Cheopys | Titles of my articles have been badly edited without my consent
Published by HackerNoon on 2019/12/20