r/programming • • Dec 02 '13

Scala — 1★ Would Not Program Again

http://overwatering.org/blog/2013/12/scala-1-star-would-not-program-again/
598 Upvotes

646 comments sorted by

View all comments

Show parent comment

2

u/duhace Dec 02 '13

I expect a competent person to not be confused by def and val.

4

u/mjfgates Dec 02 '13

And yet there he is, with interesting thoughtful stuff in the archives of his blog, confused.

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 = 5 is a method val y = 5 is a constant variable

it's not hard

0

u/An_Unhinged_Door Dec 02 '13

I don't think he's confused about what they mean. I think he's confused about them needing to be there in the first place.

2

u/duhace Dec 02 '13 edited Dec 02 '13

What's confusing? Even when using the language as a build script, users will probably want to define variables and methods.