reading-notes

Reading Notes for Codefellows

View the Project on GitHub kylecohen14/reading-notes

functional programming concepts

  1. What is functional programming?
    • building structure/elements of computer programs, using mathematical functions and dosnt change state/data
  2. What is a pure function and how do we know if something is a pure function?
    • function will have same arguments and will return same results
  3. What are the benefits of a pure function?
    • easier to test
  4. What is immutability?
    • cant be altered
  5. What is Referential transparency?
    • when function gives same result for similar input

## node js tutorial

  1. What is a module?
    • separate file holding a function that can be passed to other files
  2. What does the word ‘require’ do?
    • pulls another file to be used inside that file
  3. How do we bring another module into the file the we are working in?
    • var = require(‘/blah’) in the app
  4. What do we have to do to make a module available?
    • export it

cite