<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Code Smells on CS5010</title><link>/code-smells/</link><description>Recent content in Code Smells on CS5010</description><generator>Hugo</generator><language>en-US</language><copyright>Copyright (c) 2026 Kalyan Mudumby</copyright><lastBuildDate>Thu, 26 Nov 2026 00:00:00 -0500</lastBuildDate><atom:link href="/code-smells/index.xml" rel="self" type="application/rss+xml"/><item><title>Alternative Classes with Different Interfaces</title><link>/code-smells/alternative-classes-different-interfaces/</link><pubDate>Thu, 26 Nov 2026 00:00:00 -0500</pubDate><guid>/code-smells/alternative-classes-different-interfaces/</guid><description>Email and text reminders do one job with two different method shapes, so every caller branches and the retry loop exists twice. Learn to line up the signatures, share a parent, and adapt what you can&amp;rsquo;t change.</description></item><item><title>Comments</title><link>/code-smells/comments/</link><pubDate>Thu, 26 Nov 2026 00:00:00 -0500</pubDate><guid>/code-smells/comments/</guid><description>A payroll comment says overtime is paid at 1.5x while the code says 1.25. Learn to replace what-comments with code that explains itself, and to keep the why-comments that are worth keeping.</description></item><item><title>Data Class</title><link>/code-smells/data-class/</link><pubDate>Thu, 26 Nov 2026 00:00:00 -0500</pubDate><guid>/code-smells/data-class/</guid><description>Three classes decide whether a loan is overdue, and they disagree. Learn to spot a Data Class, move behavior to where the data lives, and know when a plain data carrier is fine.</description></item><item><title>Dead Code</title><link>/code-smells/dead-code/</link><pubDate>Thu, 26 Nov 2026 00:00:00 -0500</pubDate><guid>/code-smells/dead-code/</guid><description>A new developer spends an afternoon fixing a coupon method nobody has called in two years. Learn to find dead code, delete it, and know when to check first.</description></item><item><title>Divergent Change</title><link>/code-smells/divergent-change/</link><pubDate>Thu, 26 Nov 2026 00:00:00 -0500</pubDate><guid>/code-smells/divergent-change/</guid><description>One Invoice class, three teams, three merge conflicts in one sprint. Learn to spot a class with many reasons to change, split it with Extract Class, and know when to leave it.</description></item><item><title>Duplicate Code</title><link>/code-smells/duplicate-code/</link><pubDate>Thu, 26 Nov 2026 00:00:00 -0500</pubDate><guid>/code-smells/duplicate-code/</guid><description>A discount rule copied into three classes, a bug fix that reaches two. Learn to spot duplicate code, pick the right refactoring, and tell real duplication from look-alikes.</description></item><item><title>Inappropriate Intimacy</title><link>/code-smells/inappropriate-intimacy/</link><pubDate>Thu, 26 Nov 2026 00:00:00 -0500</pubDate><guid>/code-smells/inappropriate-intimacy/</guid><description>Team and Player reach into each other, and a small change to the roster breaks Player. Learn to spot Inappropriate Intimacy and fix it, and when close classes are fine.</description></item><item><title>Incomplete Library Class</title><link>/code-smells/incomplete-library-class/</link><pubDate>Thu, 26 Nov 2026 00:00:00 -0500</pubDate><guid>/code-smells/incomplete-library-class/</guid><description>LocalDate has no next business day, so five services copy the same loop and one forgets Sunday. Learn to centralise missing library behaviour with a Foreign Method or a Local Extension, and when to leave it.</description></item><item><title>Lazy Class</title><link>/code-smells/lazy-class/</link><pubDate>Thu, 26 Nov 2026 00:00:00 -0500</pubDate><guid>/code-smells/lazy-class/</guid><description>A recipe app with a one-line formatter, a one-number holder and an empty subclass. Learn to spot classes that don&amp;rsquo;t earn their keep and fold them in without losing good small classes.</description></item><item><title>Message Chains</title><link>/code-smells/message-chains/</link><pubDate>Thu, 26 Nov 2026 00:00:00 -0500</pubDate><guid>/code-smells/message-chains/</guid><description>One line prices a seat through five classes, and a small change breaks six screens. Learn to spot Message Chains, fix them with Hide Delegate or Move Method, and tell them from fluent calls.</description></item></channel></rss>