Maxi Contieri⭐⭐⭐forMaximiliano Contieri - Software Designmcsee.hashnode.net·Mar 26, 2023Code Smell 204 - Tests Depending on DatesTL;DR: Tests must be in full control and you can't manage time. Problems Fragile Tests CI/CD Breaks Solutions Tests should be always in full environmental control. Create a time source Context I read a Tweet about adding a fixed date to chec...Discuss·10 likes·66 readsCode SmellsGeneral Programming
Christiaan FouchéforMeditationsfouche.hashnode.net·Mar 30, 2023The Stable Dependencies PrincipleWhat if I told you change is coming? Lots of it. Like the butterfly effect, it can cause your code to break in unexpected ways. Or, like the domino effect, a single code change could trigger a chain reaction that forces you to change many additional ...Discuss·1 like·131 readscleancode
Jaap Groeneveldforjgroeneveld.hashnode.net·Oct 1, 2022About naming thingsThere is this one quote that I hear often repeated. There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton But is it really true? Yes, finding the perfect name for something is difficult. But let u...Discuss·61 readscleancode
Christiaan FouchéforMeditationsfouche.hashnode.net·Mar 30, 2023The Stable Dependencies PrincipleWhat if I told you change is coming? Lots of it. Like the butterfly effect, it can cause your code to break in unexpected ways. Or, like the domino effect, a single code change could trigger a chain reaction that forces you to change many additional ...Discuss·1 like·131 readscleancode
Maxi Contieri⭐⭐⭐forMaximiliano Contieri - Software Designmcsee.hashnode.net·Mar 26, 2023Code Smell 204 - Tests Depending on DatesTL;DR: Tests must be in full control and you can't manage time. Problems Fragile Tests CI/CD Breaks Solutions Tests should be always in full environmental control. Create a time source Context I read a Tweet about adding a fixed date to chec...Discuss·10 likes·66 readsCode SmellsGeneral Programming
Jaap Groeneveldforjgroeneveld.hashnode.net·Oct 1, 2022About naming thingsThere is this one quote that I hear often repeated. There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton But is it really true? Yes, finding the perfect name for something is difficult. But let u...Discuss·61 readscleancode
Alexander PushkarevforTestClubtestclub.hashnode.net·May 13, 2020Is Test-Driven Development effective?During some interesting discussion, one very respectful gentleman said “there are plenty of studies demonstrating the effectiveness of TDD”. But is it so? Test-driven development (TDD) has been a hot topic for a long time. There’re proponents and opp...Discuss·50 readsTDD (Test-driven development)