Sarah Jay wrote:I can think of it as a best rule to be followed while coding right?
I guess you could look at it as a “rule” but I like to think of it more like the Chinese idea of “
feng shui” — my code should be arranged in a way that it’s easy to find my way around it, that the ideas the code represents flows naturally into each other, and that changes can be easily made.
Another way of looking at is that you’re trying to tell a story with your program. That means things have to be organized into phrases, sentences, paragraphs, and chapters. Each thing is a part of another thing that is part of a bigger thing and all of it needs to come together in a way that makes sense.