Principles for Writing FunctionsHere are the most important things I have in mind when writing functions. I’ll try to list all that matters without going into detail.1d ago1d ago
Published inCodeXStop using CSS and Test Ids to locate elements in testsHow should we locate elements when testing web pages?Nov 22, 2024Nov 22, 2024
Antipattern #2 — Sharing state between testsA shared state between tests means pain while understanding and debugging them.Oct 21, 2024Oct 21, 2024
Antipattern #1 — Bigger scope than neededWhy defining variables upfront is a bad ideaOct 16, 2024Oct 16, 2024
Published inLevel Up CodingSpeaking a Ubiquitous LanguageCan you quickly grasp a codebase's goals? Do technical details distract you when changing a business rule? Do you understand the value of…Jun 18, 20241Jun 18, 20241
Published inDev GeniusAutomated testing in C — Part IIAcceptance testing means testing software in a user-centric way (roughly the same as end-to-end testing). I’ll present a way to test a CLI…May 21, 2024May 21, 2024
Published inDev GeniusAutomated testing in C — Part II’m a fan of automated testing but usually do it in higher-level languages like Kotlin, Ruby, or Python. I’ll prove that we can do it in C…May 17, 20241May 17, 20241
Published inCodeXCoding backwardLet’s learn about one of my favorite techniques in coding. It offers focus, direction, and waste reduction.Apr 3, 20241Apr 3, 20241
Published inCodeXGuiding Principles for RefactoringRefactoring is an essential activity for the codebase’s health, but there are some guidelines to follow so we can get the best out of it.Mar 24, 20242Mar 24, 20242