Skip to main content

Write Sh1tty Code - why you should and feel good about it

In the article "Write Shitty Code - why you should and feel good about it" by Kam Lasater, the author explores the idea of deliberately writing "shitty code" and explains the potential benefits that come with it.

Lasater argues that writing code is not just about producing high-quality, flawless solutions. Instead, it is a skill that requires practice and experience. By embracing the concept of writing "shitty code," developers can improve their coding skills more effectively. Through practice, each iteration of writing code becomes easier and less "shitty," leading to continuous improvement.

One of the key advantages of writing "shitty code" is the ability to reconnect with the joy of creation. By focusing on quickly achieving an outcome, developers can experience the thrill and satisfaction of seeing their code work. This sense of accomplishment can reignite the passion for coding and serve as a motivating factor in the learning process.

Additionally, writing "shitty code" provides an opportunity to learn from failures. When code fails, it becomes a valuable lesson that helps developers understand the intricacies of the system and identify potential weaknesses. By assuming that the failure is a result of the code itself, developers can dive into the code and system, gaining insights that may not have been apparent otherwise.

Debugging skills are also honed through the process of writing "shitty code." The frequent feedback loops that arise from working with imperfect code enhance a developer's understanding of their tools and the debugging process. Over time, this leads to an improved grasp of the tools at hand and the ability to effectively locate and fix issues.

Moreover, writing "shitty code" encourages exploration of the design space. When faced with unfamiliar tasks, developers may be limited in their understanding of what is possible. By writing more code, even if it is imperfect, developers expand their knowledge of the design space and discover alternative solutions they may not have considered initially.

Finally, by embracing the concept of writing "shitty code," developers can release themselves from the burden of perfection. Lowering expectations allows for more creativity and freedom of thought, fostering a positive emotional state. This shift in mindset can contribute to a more enjoyable and fulfilling coding experience.

In conclusion, while there are often discussions about the ideal standards of code quality, intentionally writing "shitty code" can have its advantages. By viewing it as a means to improve skills, find joy in creation, learn from failures, enhance debugging abilities, explore design possibilities, and unlock creative energy, developers can embrace imperfection and cultivate continuous growth in their coding journey.

Read the full article here (opens in a new tab).

Tagged as

software development · coding skills · learning · creativity · debugging · 005.1