Functional Programming using JavaScript
11–20 of 88 posts
Re: Functional Programming using JavaScript
#12Re: Functional Programming using JavaScript
#13Re: Functional Programming using JavaScript
#14Re: Functional Programming using JavaScript
#15Re: Functional Programming using JavaScript
#16For those you want to learn the functional programming I'd suggest to immedeately commence looking at Ocaml/Haskell instead to see the real big picture. Because it's of course adorable that you can write map and compose in JS (it's 2014, it can do it everywhere), but FP = many more serious things.
Re: Functional Programming using JavaScript
#17finally, a slide deck that uses `history.replaceState` instead of `history.pushState`. no more having to hit "back" 90 times to exit the deck. how the latter ever became a pattern is beyond me. [EDIT] it probably became a pattern because of browsers that didnt implement the history API, so all hashchange events were pushed onto the history stack.
If you're launching a link from a page you expected to come back to, surely opening the link in a new tab would be the way to accomplish this?
Re: Functional Programming using JavaScript
#18finally, a slide deck that uses `history.replaceState` instead of `history.pushState`. no more having to hit "back" 90 times to exit the deck. how the latter ever became a pattern is beyond me. [EDIT] it probably became a pattern because of browsers that didnt implement the history API, so all hashchange events were pushed onto the history stack.
To be honest, using replaceState for this doesn't seem to make sense to me. A user would probably want to go backward and forward through this using browser history navigation (for instance using the navigation buttons on their mouse). If you're launching a link from a page you expected to come back to, surely opening the link in a new tab would be the way to accomplish this?
Re: Functional Programming using JavaScript
#19This is a really nice presentation that introduces a lot of concepts well and also helps a person conceptually understand how functional programming fits in to the larger programming world. Book mark it and share it.