The Throw Keyword was a Mistake - By Chris Fox

programming design

Originally Posted on: https://hackernoon.com/the-throw-keyword-was-a-mistake-l9e532di

I came across this provocative piece arguing that the throw keyword was a mistake in language design, and while I don't fully agree with the conclusion, it raises some genuinely worthwhile caveats about exception handling that are worth sitting with. It immediately reminded me of Dijkstra's classic "Go To Statement Considered Harmful" — that same energy of challenging an accepted construct that most developers never think twice about.