Simple code is different from simplistic code: Elm vs JavaScript

2022-01-07englishartigojavascriptelm

There are languages, frameworks, and libraries that strive to enable you to accomplish relatively complex tasks by writing a few lines of code. JavaScript is a good example. To make an http call to a page of my site using this language, you just have to write a single line:

await fetch("https://segunda.tech/about")

There is a big difference between a solution being simple and being simplistic. This solution I wrote in JavaScript is not simple. It’s simplistic, as it ignores fundamental aspects of the problem in question.

Read the full article at: https://dev.to/marciofrayze/simple-code-is-different-from-simplistic-code-elm-vs-javascript-1pp