tag : scalatips

Scala Apply Method

The apply methods in scala has a nice syntactic sugar. It allows us to define semantics like java array access for an arbitrary class. For example, we create a class of RiceCooker and its method cook

Partially Applied Functions and Curry

Partially Applied FunctionsWhen you invoke a scala function, you need to apply the arguments to the function. If you pass all the expected arguments, you say the function is fully applied. If you only

Scala Call by Value vs. Name

From today, I start working on series of articles about how Scala is special and powerful than regular programming languages, such as Java, under tag scalatips. If you have any confused topic, please