All Posts tagged as "Clean Code"

The story of reducing a Github Actions workflow by ~7 minutes

I was working in a nasty flacky test, the test was passing locally but was failing on Github Actions CI, but there was a deeper problem...

Read

DRY in test suites is an antipattern

One of the first things that new software engineers learn is the DRY princliple (Don't repeat yourself), the principle states that in software engineering we should try to reduce repetition by extracting common...

Read

Against closure consts

Imagine that your a developing a library that you want to open-source or you created a helper that will be used all over the codebase in a mid-to-large project. Your little library exposes a function that does what is intented but relies on some (sensible in your eyes) const values.

Read