Dienstag, 12. August 2008

Scala functions

Scala offers so many different concepts that it sometimes can be quite overwhelming. Scala blends object orientated and functional programming. The very basic block of functional programming is of course a function. Now a functions seem similar to a method but a function in scala can be a value. Today I found another usefull resource from the blogsphere[1]. The essential points discussed:

  • the apply method
  • Closures
  • Partial Functions
  • apply (ied) in many places


[1]http://creativekarma.com/ee.php/weblog/comments/scala_function_objects_from_a_java_perspective/

Keine Kommentare:

Kommentar veröffentlichen