DEV Community

Cover image for The one about TDD & the Ukulele - WEEK 2
iqraraza
iqraraza

Posted on

The one about TDD & the Ukulele - WEEK 2

WEEK 2

JEST was my new best friend and TDD my new enemy. It was natural to write code, THEN test it. Suddenly, I had to do it the other way round. There is method to the madness though.

Red, green refactor...red, green, refactor... was all that was running through my hippocampus whilst washing dishes.

Mock functions and COVE (closed over variable enivroment) was the meal deal of the week.
Sounds complicated ? Is it ! For me anyway. It’s like setting a timer, waiting to go off, and then its times up.

Using the terminal was like my new home. I had become a lot more comfortable with paired programming and making new friends on my cohort. I soon came to realise how important it is to be able to communicate well and have good chemistry when partnering. That being more important than the coding aspect itself.

Everyone I partnered with were on the opposite side of the spectrum to me, however, they were all extremely kind and helpful. I never was made to feel inadequate or stupid.

So grateful.

One of my partner's even played the ukulele during our short lived pairing session. He set the bar too high !

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay