Code Monkey home page Code Monkey logo

classes-exercises's Introduction

Welcome

Dear Developer,

As the CEO of Planetastic it is my pleasure to welcome you to the team. We are so very excited to have you here and are looking forward to all the great things you are going to build. The sky is the limit for us in Airline flight management software.

Sincerely, Minimum Viable CEO

Description

The following exercises are designed to teach you how to effectively build a complex system through a series of small steps. Each step of this adventure you will be presented with a series of problems to solve. Your objective is to implement the functionality defined in the tests. You finish a step when all the tests pass. Each exercise can be solved independently, however, each step introduces logical and domain information you will use on the next step.

The goal of theses exercises is to practice building an application which is composed of multiple different classes. This will start to help you understand how larger applications are created.

Complete the exercises in the following order:

  • airline_seat_test.rb
  • flight_test.rb
  • airplane_test.rb
  • booking_test.rb

Bonus:

  • subclasses_test.rb

Getting Started

Fork and clone the classes-exercises repository.

$ cd ~/your/project/dir
$ git clone [email protected]:USERNAME/classes-exercises.git
$ cd classes-exercises

Create a branch so that you're not changing master:

$ git checkout -b make-tests-pass

Keeping in sync with the upstream repository

origin is your fork of the project. We'll need to connect to the upstream repository.

To do this, add a new remote named upstream that points to the JumpstartLab:

$ git remote add upstream [email protected]:JumpstartLab/classes-exercises.git

Then pull down the updated version of upstream:

$ git fetch upstream

And now make sure you're on master:

$ git checkout master
$ git branch # should say *master

Make master point to the exact commit that upstream/master is pointing at:

$ git reset --hard upstream/master

classes-exercises's People

Contributors

kytrinyx avatar srt32 avatar novohispano avatar

Watchers

James Cloos avatar Rolando Navarrete avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.