Decision for Unchecked Exceptions in Scala
Posted
by
Jatin
on Programmers
See other posts from Programmers
or by Jatin
Published on 2012-11-30T06:04:50Z
Indexed on
2012/11/30
11:21 UTC
Read the original article
Hit count: 286
As a java programmer, I have always been critical of Unchecked Exceptions. Mostly programmers use it as an en-route to coding easiness only to create trouble later. Also the programs (though untidy) with checked exceptions are much robust compared to unchecked counterparts.
Surprisingly in Scala, there is nothing called Checked Exceptions. All the Java checked and unchecked are unchecked in Scala.
What is the motivation behind this decision? For me it opens wide range of problems when using any external code. And if by chance the documentation is poor, it results in KILL.
© Programmers or respective owner