Skip to content

charlottebrf/second-js-string-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

String Calculator

This repository contains a running application that offers a second JS solution to the string calculator problem. Please see the Requirements file for full details of this problem. This is the second attempt at the problem, for the first attempt see: string-calculator

Table of contents

Getting Started

npm install

Running Tests

jasmine

Test suite

Jasmine

My Approach

I aimed at all times to do the smallest possible thing & to write the kata in a TDD way. I followed a Red, Green, Refactor cycle.

I installed lodash as a dependency to use a wider variety of enumerators, rather than repetitive for loops.

Future Improvements

For the next version of the String Calculator I'd like to make the following improvements:

  • Be more accurate in my use of delimeters & regex - so each number is separated by its the specific character next to its number
  • Have all of my syntax using ES6 syntax

About

Second version of JS calculator kata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published