This code stinks!
"Code smell" refers to hints and patterns within code that can be a tip off that something is wrong. Learning to recognize code smells is a critical skill in software engineering. If you can sniff out a bad code smell early, you can eliminate a bugs before they even happen. If not, you may find yourself needing to rip out large swaths of code (not to mention your hair) because you ran into a wall, muttering to yourself "I knew that was too hacky an approach..."
Recognizing code smells is also an important skill in Quality Assurance, code review, and evaluating potential modules to use. It can help identify code that will be difficult to unit test, and therefore easy to break.
This session will provide a practical overview of a number of key "code smells", anti-patterns, and other bad things to watch out for, in both your own code and in someone else's. Along the way we'll learn about aspects of good coding patterns and how to avoid stinky code in the first place.
Schedule info
- Login to post comments