loading...

Weeknotes - 01 Makers

ruthmoog profile image ruthmoog ・3 min read

Makers weeknotes (16 Part Series)

1) Weeknotes - 01 Makers PreCourse 2) Weeknotes - 02 Makers PreCourse 3 ... 14 3) Weeknotes - 03 Makers PreCourse 4) Weeknotes - 04 Makers PreCourse 5) Weeknotes - 01 Makers 6) Weeknotes - 02 Makers 7) Weeknotes - 03 Makers 8) Weeknotes - 04 Makers 9) Weeknotes - 05 Makers 10) Weeknotes - 06 Makers 11) Weeknotes - 07 Makers 12) Weeknotes - 08 Makers 13) Weeknotes - 09 Makers 14) Weeknotes - 10 Makers 15) Weeknotes - 11 Makers 16) Weeknotes - 12 Makers

Welcome to Makers

It's been an exciting few days, meeting my fab cohort and the coaches, discovering the instant hot water tap in the kitchen and, finding out where the best place to work in the office is.

Learning

Every morning started with a short learning workshop, a chance to reflect on the journey so far and set up the day with mini-goals on the path to the Big Three goals all Makers students strive to achieve in 12 weeks:

  • I can make anything
  • I help my teams succeed
  • I am equipped for longterm growth

The key ideas I chose to work on were 1) deciding what was the most important thing to focus on that day, 2) adapting to the growth mindset by rewarding learning over completion, and 3) tracking my learning with evidence.

Debugging

Maybe 60%* of a profesh day programming will be spent on code, with the rest on teamwork & communication or research & understanding problems. 60%* of that code time will be spent on debugging, with the rest on writing tests, code, and refactoring.
How do I get the code to do what I expect? Read the error, check the output, reproduce the problem, p everything ever, and always go back to the spec to avoid assumptions in behavior.

*these stats are not credible, just go with it.

TDD

I live with a TDD fanatic and I don't need any further convincing that TDD is a neat way to write flexible code that people can look at and say "OMG it's gorrrgeous!".
Actually producing it is another matter, and I've found transforming user stories into requirements really hard. Dr Balbes' article on splitting stories for agile teams was helpful.

The golden rule for the TDD process is Red, Green, Refactor (aka write a test: watch it fail, write some code: make it pass, improve the code without changing the behavior).

Another idea to remember to help write tests is Arrange, Act, Assert (aka Given, When, Then) wherein sometimes the act and assert are the same thing [but just don't worry about that its fiiine]. Arranging your tests means the test code has access to whatever it needs to run, for example, an instance of the class you're testing. Act is the behavior being tested. Assert is what you are expecting to happen.

Note: RSpec is a popular testing framework for Ruby. It's a domain specific language (ie its a language - written in Ruby - specifically for testing).

Coding Challenges


pseudocode for my 'airport challenge' solution

During the week we practised pairing and TDD by building a 'boris bikes' program, and I explored cohesion and coupling with a secret diary project.
The weekend challenge was building an airport and it destroyed me, but, with some coaxing and persistence I made something that kinda met the spec.

Misc

😻 Shout out to Angie for giving me kitty highlighters of joy
πŸ’… Classes are an ATTITUDE
🌻 Met some donkeys in my lunch break
πŸƒ Enjoying daily meditation more than I expected

Makers weeknotes (16 Part Series)

1) Weeknotes - 01 Makers PreCourse 2) Weeknotes - 02 Makers PreCourse 3 ... 14 3) Weeknotes - 03 Makers PreCourse 4) Weeknotes - 04 Makers PreCourse 5) Weeknotes - 01 Makers 6) Weeknotes - 02 Makers 7) Weeknotes - 03 Makers 8) Weeknotes - 04 Makers 9) Weeknotes - 05 Makers 10) Weeknotes - 06 Makers 11) Weeknotes - 07 Makers 12) Weeknotes - 08 Makers 13) Weeknotes - 09 Makers 14) Weeknotes - 10 Makers 15) Weeknotes - 11 Makers 16) Weeknotes - 12 Makers

Posted on by:

ruthmoog profile

ruthmoog

@ruthmoog

Developer β€’ πŸ‘©πŸ»β€πŸ’»πŸ πŸ’ƒπŸΎπŸ’‘πŸ° 🐈 πŸ‡ͺπŸ‡Ί

Discussion

markdown guide
 

Well this is giving me flashbacks...

bike.break!

 

Great post!

My mind is blown...can't believe there has been a farm nearby this whole time! I'll definitely be popping over there at some point!

 

It's a green oasis! a few of the cohort went over this week (on a day when it rained - for that authentic farm experience :/ )