4 ms·
This is one of my favorite things about programming. I mentally define the context of the file, method and method segment, in that order. This allows me to focu
by overview 4y ago
This is one of my favorite things about programming. I mentally define the context of the file, method and method segment, in that order. This allows me to focus my search for words which are accurate to the given scope / context i.e. method / method segment and file-level concepts. From there, it’s a matter of identifying overlap and reusing key terms.
I think one thing people subconsciously or consciously struggle with is how explicit to be. I tend to side towards explicit because I’ve found the biggest trade off to be character count, which is not a big deal. I’ve received several compliments from other programmers when following this approach. A crucial step is to go though everything at the end and simplify / cut-out words that don’t provide meaningful value. Keep it iterative and constantly refine. Once you get used to this natural process of it, it becomes less stressful and more fun - almost like an exploration of ideas and concepts.