Skip to content

A simple calculator demonstrating TDD and OO design principles.

Notifications You must be signed in to change notification settings

amandapouget/reverse_polish_notation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reverse Polish Notation Calculator

A simple calculator demonstrating TDD and OO design principles along with a simplistic MVC pattern applied to the command-line interface.

Purpose

Demonstrates that it is possible to lay a reliable and extensible foundation even with the most basic functionality and environment.

Challenge

The goal of this exercise is to implement a command-line calculator which uses reverse polish
notation (RPN).
Reverse Polish notation (RPN) is a mathematical notation in which every operator
follows all of its operands, in contrast to Polish notation (PN), which puts the operator
before its operands. It is also known as postfix notation. It does not need any
parentheses as long as each operator has a fixed number of operands.

Technologies

  • Ruby

Testing

$ rspec

To run:

$ ruby index.rb

References Used

About

A simple calculator demonstrating TDD and OO design principles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages