What are the advantages and disadvantages of Angular.js vs. Elm?

后端 未结 3 1518
太阳男子
太阳男子 2021-01-30 16:24

I\'m looking into doing some reactive programming in the browser and comparing angular.js (http://angularjs.org/) with Elm (http://elm-lang.org/).

What are the relative

3条回答
  •  情话喂你
    2021-01-30 16:53

    Both complex static graphical layouts and interactivity are much more simple in Elm than in HTML/CSS/any JavaScript framework. With Elm, the accidental complexity lies in the types, but it is well worth learning about them - they help understand, debug and modify software better, and they should be already familiar to you if you come from a functional programming background. Note that you can also embed Elm in HTML/JS, so in theory, you can migrate gradually.

提交回复
热议问题