Tag archives for Scala
An equivalent of Scala Var Keyword in Rebol
This is even easier than for the val keyword (see ""):
var: :set
That's all Folks :) Test for the absolute skeptics:
>> var 'a 1
== 1
>> a
== 1
>> a: 2
== 2
>>
Of course in Rebol this syntax is completely useless as you could just write:
a: 1
But for our Scala learning purpose this may ...more»
An equivalent of Scala Val keyword in Rebol
Scala emphasizes scalability and this scalability claim is based on its immutable-state-by-default stance. In our first lesson "") we learnt that scala can declare a variable with either the var or the val keyword. Rebol can also protect a variable (the function name is protect) but it doesn't do it ...more»
First Step to Scala with Rebol
Scalazine has written her "First Steps to Scala". Here's my own. I am so thrilled to do so. This is why: the best way to learn a programming language is just to teach it to others as you'll be obliged to question and answer yourself about the what, the why ...more»
Tags: Scala






No Comment
Tags: Functional Programming, Immutability, Scala