The Importance of Context in Programming Practices and Note-taking Methods
Hatched by Kai Nguyen
May 23, 2024
3 min read
14 views
The Importance of Context in Programming Practices and Note-taking Methods
In the world of programming, it is crucial to understand that what works in one context may not necessarily work in another. The idea of a one-size-fits-all approach is often misguided, and it is essential to consider the details and nuances of each situation. Programming practices, for example, are mostly tacit knowledge, meaning that they are not easy to share or communicate effectively.
One common pitfall when it comes to programming practices is confusing means and ends. This confusion often leads to the use of phrases like "the right way to do it" or "clean code" versus "code smells." These phrases carry a certain moral or hygienic weight, implying that there is a definitive and superior way of doing things. However, it is crucial to question these practices and ask why they are considered the right way. Understanding the end goals and objectives can help determine the most appropriate means to achieve them.
Another factor that can lead to bad advice is the absence of a gradient. When there is an abundance of resources and money to support any approach, there is little incentive to explore and discover better practices. The lack of a gradient, or the absence of consequences for poor decision-making, can hinder progress and innovation.
Furthermore, it is important to be cautious of falling into the trap of confirmation bias. When we come across comments or ideas that align with our preconceived notions, it is tempting to upvote or support them without critically evaluating their validity. Instead, we should strive to admit complexity and subtlety, acknowledging that there is rarely one method that can rule them all. Being measured and thoughtful in our approach, rather than overly confident, can lead to more effective problem-solving.
These principles can also be applied to note-taking methods, such as the Zettelkasten method. In the collection phase of this method, it is recommended to put marks in the margins and write corresponding notes. To enhance organization and clarity, it can be useful to color-code these marks and reflect the code in the notes. For example, circle terms that are being defined and denote them with a "D" in the margin. This visual distinction can help quickly identify key concepts.
Additionally, when encountering arguments in the text, it is beneficial to mark them with an "A" in the margin and potentially draw a vertical line. This allows for easy reference and analysis of the author's reasoning. It is also essential to acknowledge weaknesses in arguments or disagreements due to different starting points. In such cases, a bolt glyph in the margin can serve as a reminder to approach the topic with a critical mindset.
In conclusion, both in programming practices and note-taking methods, context matters. It is crucial to understand that there is rarely a universally applicable approach that can be deemed as the right way. By questioning and evaluating practices, admitting complexity, and avoiding confirmation bias, we can foster a more thoughtful and effective problem-solving mindset. As a result, we can continuously improve and adapt our methods to suit the specific challenges and objectives we encounter.
Actionable advice:
- Always ask why when encountering programming practices to understand the underlying end goals.
- Be aware of confirmation bias and actively seek out diverse perspectives to avoid falling into the trap of blindly supporting familiar ideas.
- Embrace complexity and subtlety, acknowledging that there is rarely a one-size-fits-all solution. Be measured and thoughtful in your approach rather than overly confident.
Sources
Hatch New Ideas with Glasp AI 🐣
Glasp AI allows you to hatch new ideas based on your curated content. Let's curate and create with Glasp AI :)
Start Hatching 🐣