瞎扯淡 Why a functional language?

zzz6519003 · July 27, 2019 · Last by edwardzhou replied at July 31, 2019 · 2377 hits

Forget what you have heard about functional programming. Fancy words, weird ideas, bad tooling. Barf. Elm is about:

No runtime errors in practice. No null. No undefined is not a function.

Friendly error messages that help you add features more quickly.

Well-architected code that stays well-architected as your app grows. Automatically enforced semantic versioning for all Elm packages.

No combination of JS libraries can ever give you this, yet it is all free and easy in Elm. Now these nice things are only possible because Elm builds upon 40+ years of work on typed functional languages. So Elm is a functional language because the practical benefits are worth the couple hours you'll spend reading this guide.

Functional Programming? Don’t Even Bother, It’s a Silly Toy

https://medium.com/better-programming/fp-toy-7f52ea0a947e

You need to Sign in before reply, if you don't have an account, please Sign up first.