AlnurFaisal / oo-starbucks-new

Object Oriented Programming using Classes, Inheritance and Composite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Object Oriented Starbucks!

Getting started

  • Fork the repo
  • Clone the repo: git clone https://github.com/thoughtworks-jumpstart/oo-starbucks
  • Go into project directory: cd oo-starbucks
  • Install project dependencies: yarn install
  • Run tests: yarn test:watch

Tips:

  • TDD
  • YAGNI (do the bare minimum)
  • clean code
    • no comments
    • no dead code
  • user stories
    • as a __,
    • i want __, (thing to implement)
    • so that ___ (business value)

Pre-requisite knowledge

javascript prerequisites

  • teach class how to do multiple exports ?

vscode prerequisites

  • disable vscode-js-import
  • disable React snippets

Caveats

  • this seemingly simple example is designed for you to practice OO modelling. later when we learn web APIs, there are helper libraries that can help us do things slightly differently
  • Abstraction may seem confusing, but "The purpose of abstraction is not to be vague, but to create a new semantic level in which one can be absolutely precise"
  • First time we're trying this format, so bear with us

About

Object Oriented Programming using Classes, Inheritance and Composite


Languages

Language:JavaScript 100.0%