Literals represent something. Magic numbers are a form of literal. This goes back at least as far as the book Edward Yourdon and Larry L. Constantine (1979), Structured design (affiliate link), on page 94. The number 79 can truly represent the result of 80-1.
Continue reading …
As soon as you write a piece of software, you “architect” it. Can’t get around that; but if you do not do it consciously, the resulting structure may not be great. Taking ownership of the process is important to change the result and create maintainable software. When we write/architect software, we worry about two things:
Continue reading …