Here are some thoughts on beautifying code and some reasons why the geekiest makeover of all time is worth all the fuss.
Or as Dionne from Clueless would put it, Cher’s main thrill in life is a makeover, it gives her a sense of control in a world full of chaos.
This is what ugly code looks like. It’s a dependency diagram—a representation of interdependence or coupling (the black lines) between software components (the grey dots) within a program. A high degree of interdependence means that changing one component inside the program could lead to cascading changes in all the other connected components, and in turn to changes in their dependencies, and so on.
Programs with this kind of structure are brittle, and hard to understand and fix. This dependency program was submitted anonymously to TheDailyWTF.com, where working programmers share “Curious Perversions in Information Technology” they find as they work. A user commented, “I found something just like that blocking the drain once.”
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — TechShop is closed, files bankruptcy
Wearables — Get concrete solutions
Electronics — Are you grounded?
Biohacking — Learning to See with Sound
No comments yet.
Sorry, the comment form is closed at this time.