And so begins the winter term of my senior year. As I begin to accomplish the tasks that are asked of me I am learning more not only about myself but also about the Computer Science and IT industry in general. This term my blog posts are going to be a bit different. They will be focused on a question that Is asked by my professor, I will do my best to answer and bring new ideas to the table each time I post.
Prompt for blog post #1: What is one thing from the articles (about clean code practices) that you would like to start doing (more often), and why? What is one thing you want to avoid doing and why?
For this post, it was important to look at two different articles, one on clean code and one on code smells. For the clean code article, I chose to look at an article posted online by freecodecamp.org. This article has a lot of good pointers and good information, however for sake of time and space I will go over an area that I liked more than others.
The picture above is something that I have struggled with in my own personal code, and it is something that I continue to work towards perfecting. In my case I have found myself being lazy and entering a value in my classes and if statements instead of named constants. Going forward, I am going to do my best to implement code that uses named constants and code that is easy to read as another programmer rather than just computers. Code smells I plan to follow a similar pattern, being less lazy, more focused and really taking my team to create code that is free of smells. It may take longer to write the code, but I will save myself time later on with editing the code and testing.
Thank you all for taking the time to read my post, and learn a little more about my personal code writing and practices, I hope that by sharing some experiences that others can learn something that they can improve upon.
Leave a Reply