Re:Why Scala seems difficult but really isn’t
by Elrac on Wednesday June 22, 2011 @11:34AM
(#2683570)
That said, I own a whole raft of Scala books, including the original by Odersky, the yellow-black Apress one and so forth; and of all of them, I find Wampler & Payne the most approachable and useful.
Re:Why Scala seems difficult but really isn’t
by fogus on Wednesday June 22, 2011 @10:20AM
(#2683201)
That's fair. Indeed, I've found that general purpose programming languages are not the ideal platforms for DSL development (my previous comment about Scala's fitness in this regard should be taken as a relative statement). That is, there are many idiosyncrasies of the host language that leak into the DSL, error handling/reporting is hard and tends to obscure the code, and the eventual DSL tends to have a very hosty flavor.
What we need are special-purpose languages designed for creating DSLs.
They're able to make a language that sorta-kinda looks like plain English, except that it's based on structurally unstable idioms that would require the user to be familiar with all of the corner cases of Scala syntax if they actually want to use it.