JavaScriptN0ob / taxCalculation-tutorialMaterial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

taxCalculation-tutorialMaterial

####Wenpei Z

This is a simple tax calculation function demo for using during the class teaching.

Important part is always keep in mind of SOLID principles when create any js functions or classes.

  • S — Single responsibility principle
  • O — Open/closed principle
  • L — Liskov substitution principle
  • I — Interface segregation principle
  • D - Dependency inversion principle

Another important part is better thinking and coding in
👍declarative logics compared to 👎imperative, also using 👏**less variables** in the codes, too.

About


Languages

Language:JavaScript 100.0%