100xdevs Cohort

Lecture 1.1

 

Recapping Pre-requisites

Programming Languages

0s and 1s

Assembly language

High level programming languages

JS Architecture

Node.js

Popular languages

C++

JAVA

Javascript

Golang

Rust

Primitives

Variables

numbers

strings

arrays

 

Loops

For

while

 

Functions (Primitive, callbacks)

APIs (Native vs Web)

 

Simple programs

Sum from 1-100

Fibonacci

Pattern creation

https://leetcode.com/

Checkpoint

Can we write basic code in JS?

Do we understand basic Data variables / structures in JS?

Javascript

 

 

Single threaded

Asynchronous

Loosely typed

Interpreted

Native JS vs APIs

Where can JS run

Browser

Data centers

Flight TV

Mobile devices

Single threaded

https://replit.com/@HarkiratSingh4/WorrisomeScrawnyStatistic#break.js

 

Asynchronous

Text

Simple code 

vs

Complex asynchronous tasks

Quiz

Text

Simple code 

vs

Complex asynchronous tasks

Program that calculates sum from 1-100

Program that generates a pattern

 

Program that writes to a file

Program that does an HTTP API call

Loosely typed

Strongly typed

 

Interpreted

Native JS

var x = 2;

for loops

Date()

 

 

https://262.ecma-international.org/9.0/#sec-numbers-and-dates

APIs

 

 

Exposed by the runtime environment

fetch

setTimeout

setInterval

You can create programs

 

But how do you expose them to the world? That is what we'll learn tomorrow

Made with Slides.com