pointers to some interesting js language elements (an eyeope

Posted by agent_008_nl on 05-Oct-2015 06:32

http://cryto.net/~joepie91/blog/2015/05/04/functional-programming-in-javascript-map-filter-reduce/ 

http://reactivex.io/learnrx/  (still have to investigate this one)

https://trello.com/c/uQvl02sL/115-walk-through-fp-in-js-loops-arrays-map-reduce-foreach-filter

http://www.smashingmagazine.com/2014/07/dont-be-scared-of-functional-programming/

besides check out functions like every and some.

--
Kind regards,
 
Stefan Houtzager
 
Houtzager ICT consultancy & development
 
www.linkedin.com/in/stefanhoutzager

All Replies

Posted by egarcia on 05-Oct-2015 09:45

Hello Stefan,

Thank you for sharing these links.

Best regards.

Posted by agent_008_nl on 09-Oct-2015 03:43

A bit of extra info about improvements in ecmascript 6 on the subject :

ariya.ofilabs.com/.../es6-and-arrow-function.html

www.2ality.com/.../es6-iteration.html

http://es6-features.org/#StatementBodies (and other subjects)

Nice to learn some new things.

Posted by egarcia on 12-Oct-2015 08:18

Here are a couple of links on the subject of functional programming.

TypeScript has support for the arrow function:

   github.com/.../spec.md

If you are interested on functional programming, you might like the latest episode of the Eat Sleep Code Podcast (Telerik Developer Network):

developer.telerik.com/.../

On the latest episode, they talk about functional programming, LINQ, C#, and F#.

Check the show notes for additional information.

Posted by agent_008_nl on 12-Oct-2015 09:14

Thanks Edsel.

"I think that JavaScript's loose typing is one of its best features and that type checking is way overrated. TypeScript adds sweetness, but at a price. It is not a price I am willing to pay." - Douglas Crockford (plus.google.com/.../MgzNUSTwjRt)

And: medium.com/.../the-two-pillars-of-javascript-ee6f3281e7f3

The `class` keyword will probably be the most harmful feature in JavaScript. Douglas Crockford doesn’t use `new` or `this` at all, instead opting for an entirely functional approach to code reuse.

Posted by egarcia on 12-Oct-2015 17:06

Thank you for the links Stefan.

TypeScript provides optional type annotations and type definitions that are helpful when developing large applications. In particular refactoring benefits from them.

Posted by agent_008_nl on 23-Dec-2015 06:04

Another interesting one to check out: ELM

athiemann.net/.../optimistic-ui-elm.html

Posted by egarcia on 23-Dec-2015 06:19

Thank you for sharing on Elm.

It seems interesting.

I particularly like the Zip Codes example at http://elm-lang.org/examples which shows you how to access a REST service.

This thread is closed