Better Software - September 2008 - (Page 18) Code Craft What Can We Learn? So what do we learn from this sordid tale? It’s important to consider the idioms of the language you’re working in and to gauge the beauty and quality of code against the familiar idioms to which it should adhere. Common language idioms help to show the elegance, beauty, and artistry of a piece of code. They help you write code that seems familiar and easy to work with, and they (usually) help you avoid simple bugs. You can gauge your mastery of a language by how well you know its idioms. But don’t blindly trust idioms. Idioms can be flawed. Always use your brain. Of course, if this seems like too much work, perhaps you should give up and produce boring ugly code. Or learn to play bagpipes, instead. {end} Do you always follow the idioms of your programming language? Have you ever stepped outside of the lines? Why? Follow the link on the StickyMinds.com homepage to join the conversation. Without oversight, software projects can creep out of control and cause teams to freak. But with Software Planner, projects stay on course. Track project plans, requirements, test cases, and defects via the web. Share documents, hold discussions, and sync with MS Outlook®. Visit SoftwarePlanner.com for a 2-week trial. 18 BETTER SOFTWARE SEPTEMBER 2008 www.StickyMinds.com http://StickyMinds.com http://StickyMinds.com http://StickyMinds.com/2008salarysurveystaff http://StickyMinds.com/2008salarysurveymanagement http://StickyMinds.com/2008salarysurveydirector http://StickyMinds.com http://SoftwarePlanner.com http://SoftwarePlanner.com http://www.StickyMinds.com
For optimal viewing of this digital publication, please enable JavaScript and then refresh the page. If you would like to try to load the digital publication without using Flash Player detection, please click here.