When people ask what makes someone a senior software engineer, they tend to get the same responses: ability to ask meaningful questions, mentoring others, putting aside one’s ego, technical ability and so on. But, there’s something else that is just as essential that is rarely mentioned: making the intent of your code clear.
This can be accomplished a few ways:
It’s easy to neglect some of the above when you’re new to programming, or under tight deadlines. But making the effort is absolutely worth it. Your code will be easier to understand, easier to test, and easier to refactor. New contributers will thank you. Future-you will thank you, too. After all, there’s nothing worse than coming back to a codebase you wrote 6 months ago and wondering what the hell is going on. So take the time now to make your intent clear - even if it only helps future-you, it’ll be worth it.
Sign up for my newsletter to be notified when I publish new content.