Shakespeare’s sonnets have exactly 14 lines, his plays have usually around 2600 lines (Hamlet about 4000 lines). This is not that different from the few thousand lines of code a typical programmer writes for a unit, library or project, for example jQuery 1.2 and 1.3 have around 4000 LoC (jQuery 1.2.6: 3549 LoC, jQuery 1.3.2: [...]
Posts Tagged ‘code’
Lines of Code
Posted in development, principles, software, tagged code, development, loc, magnitude, principles, programming, software on August 24, 2009 | Leave a Comment »
Clean code
Posted in development, software, tagged code, development, refactoring on September 26, 2008 | Leave a Comment »
Usually if you begin with an application you start clean, then it grows to become messy, and then it is maybe refactored back to cleanliness. Here is an intersting idea from Robert Martin:
Always check in your code a little bit cleaner than when you checked it out