Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Introduction #173

Open
milesfrain opened this issue Jun 12, 2020 · 1 comment
Open

Update Introduction #173

milesfrain opened this issue Jun 12, 2020 · 1 comment

Comments

@milesfrain
Copy link
Member

milesfrain commented Jun 12, 2020

The Functional JavaScript section currently reads:

Libraries such as UnderscoreJS allow the developer to leverage tried-and-trusted functions such as map, filter and reduce

Should probably update this to note lodash, ramda, fp-ts, and sanctuary.

However, functional programming in JavaScript has its own disadvantages: JavaScript is verbose, untyped, and lacks powerful forms of abstraction.

Readers may ask "what about TypeScript?", so we should explain that TypeScript isn't a "sound" solution for types.

Some more language comparison details here: https://discourse.purescript.org/t/language-highlights/1471

We could also possibly give a whirlwind tour of some of the advanced type features (targeting Haskell, Elm, and TypeScript users) with a disclaimer not to worry if the section may be confusing, since it will all be addressed in the upcoming chapters. Another option is to link to language comparisons and cheatsheets purescript/documentation#334.

A more detailed outline can be found in #193 (comment)

@milesfrain
Copy link
Member Author

If you prefer to learn by reading examples, the purescript, purescript-node and purescript-contrib GitHub organizations contain plenty of examples of PureScript code.

Todo - convert these to links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant