First project at Makers Academy is to create a list of students on our course, and handle that data. Started this on Day 2 of Makers Academy. Day count is by number of days on this specific project.
Quality control - Reeks . There are plenty of code smells in this project. Good thing it was the first week at makers! See how my code was at the end? Recreating instagram or in my final project.
Providing an overview of how I progressed on the project each day.
First attempt at coding with Hannah - HanWax! We ask for names and put them into a nice array and output them onto the screen. We try a few different ways of doing this as we progress through the lesson. We bother a lot of people for their names and hobbies so we have an accurate data set to start with.
New day, new partner - Charlotte - cmew3! We start again, using the best of both our programmes from yesterday. We add an interactive menu, prompting users to choose what they want to do. We explore saving the data to a csv file. Along the way we constantly refactor our code to make it as neat as possible. We also have an excersize in which we have to fix code (codetofix.rb)
Day 3 coding with Dave - Bayonnaise! We start again, trying to make the most efficent version of the programme. We explore file saving and loading, including going on a slight tangent adding functionality that checks if a file exists before trying to load / save. We made a version that uses the CSV library to explore both.
Day 4 we are focussing on something other than student directory. I'm paired with Toan - yoshdog, who showed me how to use the Date object to check months and sort the students by cohort so I could make this version awesome.
Introduction to TDD - Test Driven Development - Is a rocky one. I'm paired with Catharina - CatharinaLD and we work through the basics of rspec.
TDD we meet again, this time with Jenny - thejennywang. Started from scratch and built up our tests again, graduating to checking CSV files with doubles and using lets and before methods.
Working with Iona - ionaselig, tackling rspec again...
Working with Joe - joedowdell. Final showdown on understanding rspec.
git clone https://github.com/zoeabryant/ma-student-directory.git
cd ma-student-directory
ruby directory.rb
(directory[- DAY NUMBER].rb)