Saturday, July 21, 2018

Coding Diary -- Day 8

I finished 59% of Learn and Understand NodeJS today, I  really learned a lot

What I learned today

(1)synchronous: one process executing at a time
JS is synchronous. Think of it as only one line of code executing at a time.

(2)Callbacks: A function passed to another function, to be run when the other function is finished.The function calls back invoking the function the function you give it when its done doing its work.

(3)Buffers: Temporary holding spot of data being moved from one place to another. Intentionally limited in size.  Gathering data and putting in a Temporary spot to be processed as it comes.

(4)Stream:   A sequence of data made available over time.Pieces of data eventually combine into a whole.  Imagine something similar to a river where water flows down itStreams are just a sequence of pieces of data pieces broken into chunks.

(5)First class functions:   Everything you can do with other types you can do with functions.you can use functions like strings,numbers etc. Functions in JS are first class.

IIFE:Modules code that is protected that doesn't impact other code

Scope:   where in code you have access to a particular variable or function.

(6)TCP/IP (action) and HTMP
In general, the foundation of Javascript like inherit and Class is very important, we need to use them in the nodejs and also REACT

Question :
(1)Stacket

The plan for tomorrow:
(1)Church
(2)Politic Meetup
(3) Watch Andrew Mead

plan for next week
(1)Andrew Mean 26.5/7= 4
(2) Learn and Understand NodeJS

Today I learned a lot, but after I came back and wanted to write a review, I almost forget what to write...oh..Yesterday my roommate doesn't sleep in the night again, but I don't want to complain about her, because after 7 days  I won't meet her anymore. Tomorrow I will go to the church, but I think I won't take the  Eucharist anymore because I am not a Christian.


   


No comments:

Post a Comment

Day 13

(2) so is that possible to build it from scratch? (3) is that mean it’s better to do that by service? how about if i want to find a API? ...