Archive for February, 2012

[Scala] Implicit Manifest tip

Posted by Ktoso under coding, english, scala (2 Responds)

Hello again! Today I’d like to show a nice little trick you can do in Scala to make your methods look more “like Scala”, and require less typing :-) Let’s take a look at the two methods bellow: // before: val cookie = unmarshall(classOf[Cookie], jsonRepresentingACookie)   // which is the same as the bellow sample [...]

Tags: , , , ,