|
|
|
|
|
by cies
567 days ago
|
|
> Write everything in plain JavaScript. If you are one programmer it may work, but many of us work in teams. JS is horrible for that as you need a lot of discipline (which often does not carry over well from team to team) in order to write "good JS". We use Elm now. Elm translates well to JS (quick to compile and Elm is designed to map well to JS). We use Elm libs, but not nearly as much as in the unholy React+jQuery (yes, that's a bad idea) code it replaces. All is compiled into one bundle. For the browsers the result is much less to download. For us devs it is a very different development flow: once the compile errors (shown in the IDE) are gone, it just works. Compared to the loads runtime bugs in JS, we are confident this is a huge step forward and a good foundation to build on top of. |
|