3 ms·
I did a couple of blog posts about UDash recently, one of which was to view this very site using functional programming library Fetch (similar to Facebook's HAX
by justinhj 9y ago
I did a couple of blog posts about UDash recently, one of which was to view this very site using functional programming library Fetch (similar to Facebook's HAXL)
http://justinhj.github.io/2017/10/11/hacker-news-api-3.html http://justinhj.github.io/2017/10/11/hacker-news-api-3.html
The other was a simple roman numeral converter
http://justinhj.github.io/2017/08/27/roman-numeral-tool-with-udash.html http://justinhj.github.io/2017/08/27/roman-numeral-tool-with...
For me the advantage of UDash is for people that want a type safe Scala "all the way down" web application. One of the downsides is that is difficult to avoid runtime errors, at least to the extent that Elm does (by design).
Another drawback is not being able to simple share a template with designers; they would have to be proficient in Scala at least to the extent they can fix compile errors in the page code.
Some plus sides are that it plays well with Twitter Bootstrap and type safe CSS.
- jeremyjh 9y agoCan you expand on why it is difficult to avoid runtime errors when everything is typesafe?
- justinhj 9y agoThis was from personal experience where code that would compile correctly would give a runtime error in the browser. Could be that I didn't know enough about UDash to fix it, but the error was unhelpful so I worked around it.