Skip to content

SOLID principles in TypeScript and JavaScript, demystified in less than 5 minutes each.

Notifications You must be signed in to change notification settings

mikaelvesavuori/5-minutes-or-less-solid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

5 Minutes or Less: SOLID principles in TypeScript/JavaScript

SOLID principles in TypeScript and JavaScript, demystified in less than 5 minutes each

Everyone who's coded for some time has probably heard about these principles, but do you know them?

If you were ever afraid to ask, here's your chance to understand them easily and in just a few minutes each!

Five Minutes or Less

The SOLID Principles

The principles in their mnemonic order:

My recommended way to approach them, from easiest to "hardest", is:

Running the code

You can install the things with npm install and then just go at each file with npx ts-node src/{filename}.ts.

Or, if you're lazy, you can also copy the individual TS file's contents into the TypeScript playground if you want to avoid cloning and installing anything at all.

About

SOLID principles in TypeScript and JavaScript, demystified in less than 5 minutes each.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published