by werpon · 13y ago · 0 comments
On one hand, it's incredibly rewarding when a completely new and strange concept finally 'clicks', then you write a few lines to test your understanding and it just works.
On the other hand, it's frustrating to realize that there are still a lot of concepts you don't fully grasp, several libs that are still out of your reach, yet another completely new way of structuring your code that you are yet to unravel. Essentially, that you are (I am) still a newbie.
All in all, I find Scala better suited to learning FP and applying your newly-acquired knowledge to develop mildly useful apps, as quick results usually lead to more motivation. Just IMHO.
(Not to mention there are many libs that aren't yet up to par with their JVM counterparts, but that's another can of worms.)
Yeah, a real productivity booster. It's like batteries included but with C4 attached to every battery.
Sometimes, people have work to do.
tstamp <- this ! "data-timestamp" >>> arr parseTime -< el
(path, score) <- css "td[class~=score-time] a" >>>
(this ! "href") &&& (getAllText >>> arr parseScore) -< el
So yes, you do have to learn about arrow syntax in order to use HXT efficiently. For most newbies it is not an easy concept to grasp, not helped by the fact that HXT isn't a very well documented library.On the other hand, as a hobbyist, it's absolutely fantastic.
The extra difficult-to-learn parts of Haskell makes for programs that are more practical, shorter and easier to work with.
There's a trade-off between simplicity and power - and we don't really want to maximize simplicity only. And if we did, Java would not be a good candidate either.
I gather this is not a design goal of a language with "avoid success at all costs" as an unofficial motto