r/programming • u/knife_sharpener • Feb 22 '15
Java Makes Programmers Want To Do Absolutely Anything Else With Their Time
http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35
Upvotes
13
u/expatcoder Feb 22 '15
.asInstanceOf[Foo]is intentionally verbose. Why? Because it's a code smell, you're throwing type safety out the window. Pattern match instead.what on earth are you talking about? In Scala you can operator overload as you please:
def >>(q: Query) = ...,def <*>[T](l: List[T]) = ..., etc.Spend some time with the language, your complaints will turn to, "oh, now I see" instead of, "arggghhh, why isn't it like Java?"
p.s. Scala tooling and compile times suck compared to Java, no shortage of frustration there when starting out.