Happy Friday! Here is your weekly recap of The Coder Cafe on the theme of code health.
As always, don't feel bad if you haven't had time to read all the posts this week. What's important is to keep moving forward, no matter the pace. Focus on the journey, not just the destination.
Visual of the Week
Issues
Weekly Podcast
Knowledge Check
What’s the definition of readability?
Why should we aim for readable code?
Can you think of at least three readability principles?
Have you really written readable code this week? 🙂
How can we simplify complex if statements?
What’s the definition of cohesion?
Why should we aim for low cohesion?1
Can you think of at least two code smells showing a lack of cohesion?
Can you think of at least three types of cohesion?
What’s the definition of coupling?
Why should we aim for low coupling?
What is the relationship between cohesion and coupling?
Can you think of at least two types of coupling?—Bonus point if you can think about my favorite!
Can you think of an example in your codebase or system where coupling could be loosened?
Explore Further
Next week, the theme will be… database fundamentals! 🎉
It was a mistake on purpose. I just wanted sure reading that low cohesion as a goal triggered something in you 😉.