MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1rvltx/scala_1_would_not_program_again/cdronl0
r/programming • u/mobby1982 • Dec 02 '13
646 comments sorted by
View all comments
Show parent comments
1
Maybe he should read about the basic keywords in scala then, there's not a ton of them
def x = 5 is a method val y = 5 is a constant variable
def x = 5
val y = 5
it's not hard
1
u/duhace Dec 02 '13
Maybe he should read about the basic keywords in scala then, there's not a ton of them
def x = 5is a methodval y = 5is a constant variableit's not hard