Øredev 2008 - Agile - Clean Code III: Functions
Uploaded on Dec 22, 2008 / 9256 views / 18669 impressions / 6 comments
Clean Code III: Functions
Robert C. Martin, Object Mentor, USA
Get ready for a challenge as Robert Martin dives deep into the topic of clean Java code by examining what makes a good function. In this talk you will look at a lot of code; some good and some bad. You will experience how such code is analyzed, critiqued, and eventually refactored. You will understand the decisions made by an expert in the field as bad code is gradually transformed into good code. How big should a function be? How should it be named? How should it be documented. How many indent levels should it have? How should it deal with exceptions, arguments, and return values. This talk is all about code at the lowest level. And yet the principles and techniques presented have far reaching implications.