At a talk earlier in the week I was asked if the millennium bug fixes should be cleared out. The question was asked while talking about clearing out dead and commented out code. My response off the top of my head was yes, but I've since reconsidered. The answer, of course, is not that simple. … Continue reading Should millennium bug fixes be cleared out?
Tag: cleancode
A comment on comments
Which code is more readable? implementation uses // Delphi units SysUtils, Windows, Classes, // Libraries Lib.Utils, Lib.Settings, Lib.JSON, MainFormU, // Main form unit Settings; // Settings unit procedure TForm.OnButton1Click( ASender: TObject ); var Humpty: THumptyDumpty; begin // Set up a humpty dumpty class and execute it, passing it the personal id, name and what looking … Continue reading A comment on comments
Where’s the white space in the code
Writing code is much like writing a book. There is the intrigue, the story, the chapters and paragraphs. It's all there. But there's often one thing lacking in code that no self-respecting author of a book would ever do without; Readability. An author that want people to read his books has to - on top … Continue reading Where’s the white space in the code