CodeHubOrg / discussions

Discussion board for CodeHub Bristol
2 stars 2 forks source link

JS101 Session 21 February 2017 - Functional programming #45

Open katjad opened 7 years ago

katjad commented 7 years ago

Today was very much about functions and also functional programming. We started off with a brief presentation by @TimHandy 'Intro to Functions: Things I wish someone had told me.' He was looking at input and output of functions, and the difference between pure functions and those that modify the object they are called on. You can find the code here https://functions-js101.gomix.me/ And always good pointing out again: devdocs.io is a really good resource for having documentation of languages and frameworks in one place.

We then did some coding, and there were a lot more discussions about functions and functional programming. Some people worked on the functions section of Rebecca Murphey's JS assessment which also touches on things like 'partial' functions and currying.

This is a good introduction into FP https://www.gitbook.com/book/drboolean/mostly-adequate-guide/details thanks @leighman for pointing it out (and also for answering a lot of questions ;))

It was a good turnout today. Welcome to all new members!

For next session: Think about what your goals are - for the next year, and also till in two weeks when we meet again. If you want, post them under the Goals issue #44. We want to make it a habit that at the beginning everybody briefly says what they've been working on or want to work on, what they learned/struggled with (mini "standup") so people can help each other out, ask questions etc.

I also think it's a good theme for the group to keep evaluating and sharing what were the things that helped us most with learning JS and document it, so it can be of help to new members. We have the JS101 handbook, and it's also the theme of the app we have started building.

We will keep looking at functions for the next sessions. I will do a little talk next time on how to define functions and intro to higher order functions - i.e. functions returning functions etc.

@CodeHubOrg/js2016