Coding Bootcamp Week 2: Node.js, NPM, Test Driven Development, Pair Programming & Closure
JavaScript Fundamentals
This week we were dived into the realm of unit testing utilising Jest and have been consistently using it in our daily development processes.
We started with pair programming and learnt the importance of it by collaborating in pairs, which proved to be the most challenging aspect of the week.
Test Driven Development Cycle: Red -> Green -> Refactor. Fireship gotchu.
Links
Value vs Reference and Scope.
We referenced Lodash documentation to implement TDD on our own versions of the functions. Also utilised Jest Mock Functions in my code.
Additional Links
- Closure examples
- More on Closure
- Another one on closure
Emotional Check-In ☢️
This week, I had the opportunity to collaborate with two different people on my course, which was good in terms of socialising, but resulted in less productive work.
On the positive side, I have noticed a marked improvement in my ability to communicate code.
I must admit that my focus has been solely on coding, leaving little room for other pursuits, but I am not complaining, getting the work done is top priority.
Leap through time
- Week 1: Command line, Git & GitHub, JavaScript Basics & Introduction to HTML/CSS
- Week 2 👀
- Week 3: Recursion, Object Oriented Programming, Data Structures — Stacks & Queues
- Week 4: Review day, Asynchronous Callbacks, Internet & Promises
- Week 5: HTTP, Express, Model-View-Controller (MVC) Pattern & SQL
- Week 6: Node Postgres, Supertest & Error Handling with Express
- Week 7: Backend Project, Async Await & CICD
- Week 8: DOM, React- Components, State & Hooks
- Week 9: API Calls, React — Router, Context & Optimistic Rendering
- Week 10: Frontend Project, Error Handling, Custom Hooks & Class-Based Components