Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: cd34994303
Fetching contributors…

Cannot retrieve contributors at this time

90 lines (75 sloc) 12.524 kB

Scala Dojo 02 - funs with lists

Summary

This weeks dojo should start to push you a little harder and you may need more than the hour to complete all the challenges. Along the way you will be introduced to Scala's Lists and functions, these two pages are good starts on the subject;

Funs with Lists

There are 8 tests that you will need to go green, plus a bonus one at the end for 2 additional points. This week the tests are not exhaustive and so a certain amount of good sport is expected and as such points will be deducted for implementations that are not in the spirit of the game, for example hard coding return values. You'll also find some tests offer bonus points for implementing them in a particular way. The skeleton maven project I have created for the dojo can be found here on github, as last time you should not change the existing tests, but feel free to add new ones along the way.

Getting the code

To get started you can go to the repo and fork the project into your own github repository by clicking the fork button on the top right. This is the preferred method as it means we can easily share our solutions with each other but if you don't wish to do this you can create a local copy from my repository by simply executing the git clone command.
  1. go to https://github.com/leneghan/scala_dojo_02_funswithlists
  2. click fork button on the top right of the screen
  3. git clone https://github.com//scala_dojo_02_funswithlists.git
or
git clone https://github.com/leneghan/scala_dojo_02_funswithlists.git

Getting started with git

If you dont have git currently installed you can download it here from the git website. When using Git I found this one page cheat sheet useful, it also comes with some pointers about good VCS practice, Git_Cheat_Sheet_grey.pdf

Resources

Jump to Line
Something went wrong with that request. Please try again.