Harking back to an unpublished blogpost originally drafted in December…
- the file structure — this time our test files are stored in a folder named __tests__. (The underscores in the folder name ensures that your test folder is always at the top of your file directory).
By Thursday afternoon we were ready to pair on the Coinchanger kata. Having already built coinchanger in Ruby during our first week at 8th Light, the challenge was to understand a new language by applying it to a familiar problem. You can see the differences in syntax by comparing my two repos:
Coinchanger in Ruby: https://github.com/sohbaker/coinchanger
Another key part of my week was making further improvements to my todo list Sinatra application. This was initially prompted during a pairing session with our new mentor Laurent mid-week. He gave me feedback on my code and introduced me to REST and HTTP Verbs.
During my WAZA time on Friday afternoon I continued this by reading through various resources. I really enjoyed understanding the different types of requests you can make to an application, and how you can encourage your application to behave more harmoniously by using the relevant HTTP verb.
If HTTP Verbs and REST is something you’ve not yet heard of, stay tuned. I hope to pull my learning together in a future blogpost, including the resources which helped me as I continue working on my application.
Highlights this week:
- pairing with Laurent on my To Do list and beginning to understand restful routes in Sinatra
Things I’ve learned:
- being a good developer is more than understanding or remembering coding languages. Being comfortable in finding out what you don’t know and identify helpful documentation is key
Things I’ve struggled with:
- getting my head around asynchronous code – namely async/await and promises. Devlin’s Zagaku was perfectly timed for helping with this!
Things I’m curious about:
- REST and HTTP Verbs
What I’d like to focus on:
- making my To Do List a more RESTful Sinatra application