Crafting Self-Evident Code with D
Have you ever looked at your code from five years ago and had to study it to figure out what it was doing? And the further back in time you look, the worse it gets? Pity me, who is still maintaining code I wrote over 40 years ago. This article illustrates many simple methods of making your code self-evident and much easier to understand and maintain To let you know what you’re fightin’ for, allow me to introduce this little gem I wrote back in 1987: #include #define O1O printf #define OlO putchar
评论
?
参与讨论