Saturday, 24 January 2015

Why Geeks Need to Write


This is my first slog entry for csc148, and the first thing I am asked to write about is, "why geeks need to write"? What is this tomfoolery...geeks don't need to write, right? WRONG. Writing is an important aspect in anyone's life, especially a programmer's, despite the common belief that code isn't English and writing therefore has no application in the world of a computer scientist. Clear, concise, and namely good writing in the field of computer science is important for the following reasons:

1) it allows one to convey information to others in a way that is understandable. This is important from a business perspective, because if you have a brilliant idea, but you can't explain your code or your idea in a way that makes sense to the user(s), it is likely that they will pay no mind to your project, and possibly resort to that of a competitor.

2) It helps you learn about what you know, and what you may not know as well as you thought you did. By trying to write out your ideas, you can gauge what concepts you are having difficulty with. For example, when I try to write about object oriented programming clearly and concisely, I often go into too much detail, because I don't really understand it well enough to give a general statement on its applications and importance. However, I have become pretty good at writing about course concepts from last semester, such as for loops and while loops: concepts that I had initially found difficult to grasp.

3) Writing translates to verbal explanation. By writing about key concepts and ideas you have, it keeps a record of all the things you've learned and what you need to learn in the future. It also allows you to explain things to people who may be struggling with computer science, or those who are new to the subject and want to learn. Furthermore, by explaining concepts to other people, you reinforce what you know, which is always very reassuring.

4) It helps other programmers read and understand your code. Say for example, you write a program that has thousands, even millions of lines of code in it, and you ask another programmer/developer to take over and continue your project. It is very important that you have well written, understandable comments throughout the code, for several reasons. Firstly, if there is an error or bug in the code, the comments could help elude to the area that may be problematic, because maybe the idea wasn't the most suitable, or even correct. Good writing can help with debugging as well. Moreover, comments help the other programmer understand your code. It is possible that your code is lengthy and inefficient, and another programmer may not understand the idea you were trying to portray. With well written comments, much of the confusion could be avoided, and the code improved or fixed.

These are just some of the reasons why geeks should write. There are many more, but  I believe that  these ones are the most important!