View on GitHub

reading-notes

FUNCTIONAL PROGRAMMING

Reading

a style of building the structure and elements of computer programs, that treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data

 

It returns the same result if given the same arguments, and It does not cause any observable side effects.

 

You’ll always get the same result, as all the code a pure function uses is inside of it or gets past to it as parameters.

 

When talking about data, it means the state of the data cannot be changed after it’s created.

 

if a function consistently yields the same result for the same input, it is referentially transparent.

 

Videos

Modules are small-ish certain packages of code and js files that we can use to do specific things, we use them so we don’t have to download a metric ton of code everytime, and instead just get this comparatively small number of files.

 

require imports and gets the module from the specified path, so you can not use the module in any file you want.

 

by assigning a variable to whatever require gets from the the modules.

 

you first have to export it, using module.export = function;

 





301 Home
read01 Introduction to React and Components
read02 State and Props
read03 Passing Functions as Props
read04 React and Forms
read05 Putting it all together
read06 NODE.JS
read07 REST
read08 APIs
read09 FUNCTIONAL PROGRAMMING
read10 In memory storage
read11 Authentication
read12 Mongo and Mongoose
read13 CRUD
read14 Project Ideas
read15 Project Kickoff