News for hackers. Stuff that matters.
Re:Udash – Scala and Scala.js Reactive Web Framework by alextheparrot on Sunday February 11, 2018 @03:04PM (#16354456)
I use Scala daily and have never used Clojure - what creates the steep learning curve? Scala also has a lot of features between “Beginner” and “Advanced” which can really add to the learning curve (Implicits being a good example).
Re:Udash – Scala and Scala.js Reactive Web Framework by dominotw on Sunday February 11, 2018 @03:10PM (#16354495)
Oh man I had the misfortune of starting scala with a framework( akka http) that used magnet pattern. Turned me off from scala forever till I rediscovered it again.
Re:Udash – Scala and Scala.js Reactive Web Framework by threeseed on Sunday February 11, 2018 @04:29PM (#16354931)
I am very much in the minority but I can't stand most of Akka.

It's overly engineered with too much clever magic and hence is very reminiscent of frameworks like J2EE Spring which is why people left Java to begin with.

Re:Udash – Scala and Scala.js Reactive Web Framework by briankelly on Sunday February 11, 2018 @03:09PM (#16354486)
I haven't tried Clojure yet, but compared to Common Lisp, Scala let's you ease into the advanced features but lisps demand an immediate shift in thinking. You can basically write Java with Scala without much friction.
Re:Udash – Scala and Scala.js Reactive Web Framework by alextheparrot on Sunday February 11, 2018 @05:34PM (#16355217)
It lets you ease into it insofar as you don’t use libraries that heavily rely on more advanced features. Trying to understand how Circe is actually serialiazing your case classes (Or why it is failing) can be quite difficult without understanding Shapeless.
Re:Udash – Scala and Scala.js Reactive Web Framework by threeseed on Sunday February 11, 2018 @05:38PM (#16355233)
It took me weeks to get Circe working on my project.

But this compiler plugin makes it infinitely easier: https://github.com/tek/splain

Re:Udash – Scala and Scala.js Reactive Web Framework by alextheparrot on Sunday February 11, 2018 @07:02PM (#16355546)
Wow going to plug this into a project and try it out tonight, might be worth adding as a default plugin to projects - looks good on the surface.
Re:Udash – Scala and Scala.js Reactive Web Framework by briankelly on Monday February 12, 2018 @02:50PM (#16361451)
Fair enough but I still think avoiding those libraries is very doable. Personally I used play-json without the rest of the play framework and it is robust and easy to grok.