Daily scala
A short daily dose of scala examples and occasionally explanations.
Showing posts with label
try
.
Show all posts
Showing posts with label
try
.
Show all posts
Thursday, September 3, 2009
Exception handling
›
In Scala exceptions are not checked so effectively all exceptions are runtime exceptions. When you want to handle exceptions you use a try ...
Monday, August 17, 2009
Return values
›
As with most functional languages, most control structures ( if, for, try ) return values. The common java idiom: String name= null ; if ( ...
3 comments:
›
Home
View web version