← Writing

Full-Stack React, TypeScript and Node

Reading this textbook from O'Reilly to build my foundations of Full Stack Development.

Dominick Blanco

1 min read

Review:

So far the it has been easy to follow and gives a solid enough foundation without overwhelming the reader

Chapter One: TypeScript

11/15, 11/16

TypeScript is a language and a complier (converts TS to JavaScript)

JS is dynamically typed which causes lots of production errors

JS is also limited for large apps

TS is statically typed which forces the dev to indicate the type of a var up front

TS allows us to find bugs before they reach users

Setup:

npm init
npm install typescript 

Compiling:

tsc string-vs-number.ts --> node string-vs-number.js

JS is a Object Oriented language

  1. encapsulation
  2. abstraction
  3. inheritance
  4. polymorphism

encapsulation

  • protects data in containers called classes
  • access the data via methods the class provides
  • enforces strict control

TS syntax has modifiers

  • private - hidden from outside world - use getters and setters to access it
  • public - default
Share LinkedIn Post

Dominick Blanco is a software engineer at Oracle Cloud Infrastructure and a Georgia Tech OMSCS student from the Bronx, writing about technology, identity, and community.

More writing

Get new posts

Follow along with the RSS feed.