Saturday, April 4, 2015

My Final Impression And Overall Experience On CSC148

Well friends, time really does fly quickly. I feel like it was just yesterday when I stepped into my first lecture of CSC148 when we first started learning about objects. But all good things must come to an end, and it was the same case with CSC148. On the 2nd of April, we finished our final lecture, and we've got nothing more to learn from this course. So this will be my final slog for the course. As we all prepare for final exams, I'd like to reflect on the things I learned, some hurdles I faced along the way, and share my final impressions of the course.
First of all, I'd like to talk about a few things I along with my peers have learned in this course. I walked into this course expecting that it was going to be just like CSC108, where we learned about Python commands and executing them. I thought that it would be another technical programming course, but in the end, I was really wrong. I'm not saying there was no technical knowledge involved in this course. I did learn many interesting concepts like object oriented programming, abstract data types, recursion, tree data structure, linked lists and Big-Oh. But the big chunk of our learning experience for this course was actually thinking about and executing abstract programming. Throughout this course, we were taught how to create programs for abstract problems and make sure that they could be used by your peers and your clients as well. One example of this was in the beginning of the course, where we worked on the class Point, which deals with an abstract co-ordinate system. Not only did we use object oriented programming to create methods for the abstract co-ordinate system, but we also made sure that other people who'd like to import our program and clients who'd like to use our program could do so without directly copying and pasting the program. Besides abstract programming, another important thing we learned was how to make our programs shorter, more efficient and reader-friendly, since this is a really good skill to have especially when you enter the professional world. Something I really appreciate learning was list comprehension and ternary if, and it is because when you're programming at a complex level, these concepts can make your program shorter, neater and easier to understand. These are the things I've had the opportunity to learn in this course.
Now, regarding the difficulty of this course, it's definitely not been a walk in the park. I've really experienced a lot of difficulties in this course as well as CSC165, the other computer science course I'm doing. One of the key problems I've faced was actually implementing the concept of abstract programming onto a real world problem. So far, I'd only been used to specific problems which you can easily solve with the help of a few functions. But now, we were given an abstract problem, to which you had to find the solution by yourself. And it was really difficult, especially when it came to the assignments. Another hurdle I've had to overcome was recursion, and I had a hard time actually understanding it. As a result, I started struggling a bit with later concepts. However, I soon buckled up and realized that I had to learn it soon, so after immense dedication and concentration, I was able to understand the concept of recursion far more better than I used to before. I'd like to take this time to thank my instructors, TAs and my peers who've always helped me learn new things and helped me in my time of need.
I guess this is pretty much it for me in this course. In conclusion, I've had a blast with this course. It certainly was challenging, but it's all been worth it in the end. This course has really motivated me to learn a lot more about the science of computing, and I'm really looking forward to learning it in the future years to come. Well, this is it for my adventure in CSC148. Good luck to all for the years to come, stay awesome and keep coding. Goodbye.

Saturday, March 28, 2015

Reflections on blog about tracing recursion

On the 5th week of CSC148, I wrote a blog about my impressions and my experience regarding tracing recursion. For this week's blog, I will provide my thoughts on how my impression of recursion changed as we went on with the course. I will also compare my experience in this topic with that of my classmates and my friends.
When we were first introduced to recursion, the concept of it simply befuddled my mind. I had no idea about what it was, how it worked and how important it was in the field of computing. Just to refresh your mind, recursion is when you call a function within the same function. Pretty strange, isn't it? That's exactly what I thought. So at time, I vowed to myself that I'll simply learn how to trace recursive code in order to succeed in the exam and from then onward, I'll never even come near this topic again. I had a similar conversation with my friends and out of frustration regarding not being able to understand recursion properly, we all agreed. I simply thought that recursion is one of the many programming techniques we'll learn and that there are many more (possibly easier) solutions to it. I underestimated its importance but friends, I could not have been more wrong.
Starting from week 6, we started learning about tree data structures. I was excited about learning a new concept, but what really surprised me was the amount of recursion involved in each and every function. When we created the tree class, everything from small functions such as repr, str to functions that show whether a number is present in any node of the tree or not, recursion was there. Furthermore, we moved on from simply tracing recursive functions and code to writing our own recursive functions. Personally, it was a difficult experience for me since it was a whole new leap from the work that we previously used to do. However, after hours of dedication and concentration, I started getting the hang of writing recursive code. I went on and did more research on tree data structures, when I came to realize that it had vast applications in may fields, especially in the field of artificial intelligence. Since it is the field of my interest, I had to understand the fact that understanding recursion and writing recursive code is mandatory for me.
Furthermore, for our second assignment, we had to implement a strategy called minimax in a game of tippy where the computer selects the best possible output given the game state and the circumstances. When I started to work on the program, I realized that the only way to solve this problem in a short and efficient way was by using recursion. Now I'm not saying that recursion can't be substituted. Functions that are made easier with recursion can also be done manually. However, the program would be extremely long, messy and hard to understand for yourself and your peers. That's something you wouldn't want if you want to succeed in programming in the future. Since I was working alone, I couldn't discuss with my partners regarding the assignment. But after the due date, I had a discussion about it with my friends and we all came to a unanimous agreement that we had underestimated the importance of recursion in the field of computer science. 
Now, my opinion of recursion have completely changed. I've realized that by substituting manual code with recursive code, you make the function shorter, more efficient and less likely to produce errors. Now at this stage, whenever I encounter a problem in programming, I try to see if I can solve the problem using recursion. I know that for those new to recursion, it is a difficult concept for many of us, but I can't stress how important it is to everybody and the only way to succeed in it is by practicing a lot. If you encounter problems, don't forget to ask for help when it is all around you. Finally, to understand more about recursion and how to trace them, you can check out the link http://looralicsc148.blogspot.ca/2015/02/week-5-tracing-recursions.html. Here, the person has given a detailed explanation on tracing recursion. Well, that's pretty much it for this blog. I hope you'll find it informative. I'll see you all next time. Until then, stay awesome and keep coding. Bye.

Saturday, March 21, 2015

Learning a new programming language

Hello everybody.
For this week's blog, I wanted to talk about why it is necessary for everyone to learn programming in any programming language. This might be helpful to those who've been having thoughts in their head that are telling them to learn coding. This might also be helpful who're already proficient in a programming language, but are too lazy or doubtful about learning a new programming language.

First of all, I think it is important to learn a new programming language so that it serves as a platform for actually learning some of the techniques we learn in computer science. We need programming languages in order to apply our knowledge in computing and make interesting things happen. For example, this semester, we've learned a whole lot about recursion. We can trace recursion in our minds and on our notebook, but to actually apply it and to truly understand what's happening, we need to code it in a programming language. Not just in our course, but the need to learn a programming language also becomes handy in our daily lives. For example, we can come up with the idea of a program through which we can create a proper budget for our income and gives us a detailed report of our expenses. However, one needs knowledge of using a programming language in order to actually make that idea a reality.

Secondly, I think that it is really important to learn a programming language since it makes the process of learning other programming languages a lot more easier. For example, I've recently started learning C++ after Python and I must say that now, the process seems a lot more easier. And the reason for that is quite simple. It is that programming and computer science aren't the same thing. Computer science deals with computing techniques and the use of computers in solving problems, whereas programming is the process of applying that knowledge in a programming language. When you start programming in a new language, you're essentially applying your knowledge onto a programming language through code and observing the output. Since you get a lot of experience with applying computing techniques through this process, doing it again in a brand new programming language becomes no challenging task. The only challenge then would be adjusting to the change in the code command.

Lastly, I think that learning to code in a programming language is really necessary since it serves as a major skill in your resume when you're heading to the workforce or to graduate school. Nowadays, the presence of computing and software in any profession is undeniable. In this case, having knowledge of programming and understanding software and programs really puts you ahead in the workforce and opens up a lot of unimaginable opportunities for you. Furthermore, learning programming also develops your logic and problem solving skills which is greatly appreciated by employers and everyone wherever you go.

Well that's pretty much it from what I think. I hope that was able to persuade you to learn a new programming language. If not, I hope this will make you appreciate programmers even more and keep the thought of making taking up a book and learning a new programming language in the back of your minds. I guess it's time for me to take my leave. See you all next week. Till then, stay awesome and keep coding. Bye.

Saturday, March 14, 2015

Becoming a successful programmer

This week in CSC148, there wasn't anything that grand or special. We only had 1 week of class where we learned about inserting or deleting nodes from binary search trees. To learn more about trees, you can refer to my previous blog where I've talked a lot about trees. Anyways, for this week's blog, I wanted to talk about something else besides stuff we learn in this course. I wanted to talk about something that's always been on my mind, and that is how I can become a good and a successful programmer. Well I'm not implying that I'm the best programmer in the universe. I know I'm nowhere near that level of expertise. But I'd definitely like to be a good one and I know that you all reading desire the same as well. So I wanted to share a few steps which me myself and everyone else can apply to their daily lives to be better programmers.

I think the first and the most crucial step towards becoming a good programmer is practice. We've all heard the quote that "practice makes perfect" and that definitely applies to the field of programming. What separates a good programmer from normal programmer is the amount of time besides schoolwork dedicated towards learning new programming languages, more efficient programming techniques and advanced concepts in computer science. Practice will definitely keep you ahead of the curve. Alongside that, practicing in your own time also raises a lot of questions in your mind for which you can seek the help of professors and TAs. By doing this, you're also making good connections with experts of their own respective fields which could open up a lot of doors for you in the future.

Secondly, I think another very important step towards being a good programmer is innovation. Simply learning new stuff sounds really exciting, but that's barely scratching the surface in terms of being a good programmer. I think that one needs to be innovative, and create his/her own creative projects. Based on your level of expertise, it doesn't hurt to come up with simple software or programs. There are lots of advantages to this. First of all, it helps you understand your strengths and weaknesses when it comes to programming. You can improve your weaknesses and further strengthen your positive aspects. Secondly, you can represent these projects of yours in order to display your programming expertise and experience, which can be really useful to you when it comes to entering the job market or grad school in the future. Lastly, by doing these projects, you get the opportunity to explore which area of programming you like more and which one you like less. This will really help you plan for the future. And who knows, maybe you'll create the next breakthrough program that can make a billionaire. But lets leave that aside for the future.

The last but not least important step towards being a good programmer is discipline. I see that there's a heavy sense of procrastination in the field of programming. A lot of times, people say that they'll learn more the next day. Or sometimes if people encounter an error when working on a project and can't find the solution, they get easily pissed and just give up halfway. Sometimes people get awesome and innovative ideas, but they're too lazy to even bother beginning. This is a huge problem since this'll only hold you back from releasing your full talent. That's why I strongly advise you to stay in discipline and manage your time properly. If you encounter errors, you must persevere and try your best to come up with a solution. If not, you must search for help. If you want to get started on a project, you must start managing your time properly, so that you can stop wasting your time procrastinating and start working on your project. Remember, time is limited and it's very hard to find time for anything once you reach adulthood. So make wise use of it.

With this, I'll be ending my blog. I hope you found this information useful. I'll see you all next week. Till then, stay awesome and keep coding. Peace out.

Saturday, March 7, 2015

Understanding Tree Data Structures

As we continue learning more about abstract data types, or ADTs, we were introduced about a brand new ADT called trees. It was a very difficult data structure to understand at the first try for me since there were a lot of new terminologies and techniques that I did not understand, but now that I think I more or less got the hang of it, I thought I'd give my two cents regarding this topic. I'd start with a brief introduction of what trees are and some of the terminologies behind it. Then, I'll talk about some actions that you can carry out with the tree data structure. Lastly, I'll also talk about binary trees and binary search trees.

Now, first of all, we can confirm that trees are an abstract data type because just like any other ADT, we specify the kind and meaning behind the data type we store, and various methods we can carry out on that data type in a tree. The way a tree works is that there is a parent node, which may or may not contain data, that is connected to one or more child nodes, or children through edges. All trees begin from a single node, which we call the root. The interesting thing about trees is that except for the root, all nodes have exactly one parent. We also have paths in a tree, which is basically a sequence of nodes from one node to another. In order for paths to exist, all consecutive nodes from the beginning node to the end node must have an edge connecting them. The number of edges in a path are what we called the length of the path. Since we know that all nodes except the root have exactly one parent, we can conclude that all nodes have exactly one path to its parent node as well as the root. Another interesting thing about trees is that it flows continuously from the root to the leaf (a node with no children), thus avoiding any possibilities of loops in a tree. If you want to find the height of a tree, you can do it by adding 1 to the length of the entire tree. Easy, isn't it? The last important terminology would be the arity, or the branching factor of the tree, which basically refers to the number of maximum number of children for any node.

There are lots of interesting functions and methods that we can carry out using the tree data structure. However, dealing with this data structure requires a solid grasp of recursion, so learning this topic is mandatory. First and foremost, we can carry out the basic methods like __repr__, __str__ and __eq__. As we can see, in the  __repr__ and  __str__ function, once we carry out the operation for the parent node, we call the same function again for the upcoming children node, which have their children node. Yeah, I think we know it now. By calling the function again within the same function, we are applying recursion. Sweet. We can also carry out operations like finding the height of the tree, and check to see if a certain value is present in any possible node of the tree or not, though it requires a strong understanding of recursion just like the other functions. One can also carry out traversal, which simply means visiting the nodes in order to carry out certain operations or functions in them. There are three types of traversals. They are:
i) in-order traversal: visiting a node between its children. Note that this is only applicable for trees that only have two children.
ii) pre-order traversal: visiting a node before its children.
iii) post-order traversal: visiting a node after its children.
Of course, one can also be creative and come up with many other unique operations and functions for trees.

Now I'd like to take a moment and talk about binary trees and binary search trees. A binary tree is a tree with the additional property that it has an arity of 2. In simple words, any node in a binary tree can have an utmost of two children, where the children in the left is called the left child, and the children on the right are called right child. A binary search tree is just a binary tree with the additional property that the value for every node is greater than all values of nodes in the left sub-tree and smaller than all values of nodes in the right sub-tree. This property of a binary search tree makes searching for values faster and more efficient since now, we can filter out a large chunk of values without having to go through each and every unimportant data individually.

Trees are a very important way of storing data and they can be used to represent sorted data, make data more easily searchable, and make the process of searching data faster and more efficient. I'm really interested in learning more about this data structure and I'm looking forward towards learning more. This is it for me today. See you guys later. Till then, stay awesome and keep coding.

Saturday, February 28, 2015

Summary On Abstract Data Types

One of the main objectives of a programmer is to create programs and code which is efficient, elegant and properly readable by the programmer him/herself, his/her colleagues and the clients. For this, one has to focus more on the semantics of the program than on its implementation, which he/she does by creating classes for a certain data type and by defining various methods that could be carried out on the data type. This is where abstract data type comes in really handy.

An abstract data type (ADT) is a data type where we specify the kind and meaning behind the data type we store, and various methods we can carry out on that data type. I can see three major advantages to using an ADT to solve problems in computing than the normal ways in which we solved things back in CSC108. They are:
i) Using the concept of ADT definitely makes the program look a lot more elegant and readable for    yourself, your peers and your clients.
ii) Since you don't have to focus on how the program is implemented, there is a lot more freedom in thinking about algorithms or new methods for the program.
iii) Lastly, through the use of ADT, one can easily carry out tasks like debugging, maintenance, updating the program, etc. in an efficient and organized manner, without disrupting the client code.

There are two main examples of ADTs that I would like to talk about. They are Stack and Queue. They are both similar in the sense that they are both implemented as a list in Python in order to pile up objects and remove them. However, the way they add and remove objects are different, and that's what I will be covering. 

Stack:
A Stack is a linear sequence of data types. In a Stack, new items are stored on the top (end of the list), and items at the top are the ones that are removed first. Think of it as a stack of new notebooks when you go to to the shop. Usually, shopkeepers add new notebooks to the top of the stack, and consumers take notebooks that are on the top of the stack. 
Some operations that can be carried out on the Stack ADT are:
i) Reverse the sequence of the Stack.
ii) Pop: Remove and return top item, provided the stack is non-empty.
iii) Push(item): Store item on top of stack.
iv) is_empty(): Return whether the stack is empty or not.

Queue:
Just like Stack, A Queue is also a linear sequence of data types. However, new items are stored at the back of the queue (end of the list) and items at the front (beginning of the list) are removed first. This means that in order to remove an item you just added in a queue, you need to remove everything you added before it. 
Some operations that can be carried out on the Queue ADT are:
i) enqueue(A): add object A at the back of the queue (end of the list).
ii) dequeue(A): remove and return object A from the front of the queue(beginning of the list).
iii) Reverse the sequence of the Queue.
iv) is_empty(): Return whether the Queue is empty or not.

I'd recommend checking out the week 5 blog in the link http://nigerianmahogany.blogspot.ca/. Here, the person has a visual representation of what happens in a stack and in a queue.

And that's about all I have regarding ADTs. I'm really enthusiastic towards learning about more ADTs, and I'll update you all if I learn more. Any questions are welcome and you can leave them in the comments below. Till then, keep on coding and stay awesome. Bye.

Saturday, February 14, 2015

My Summary Of Object Oriented Programming Concepts

So far in CSC148, we've been practicing object oriented programming (OOP) in Python, and although there's much more for us to learn regarding object oriented programming, I wanted to briefly summarize and explain some of the concepts we've learned so far in this field, and that's what today's blog is going to be all about. First of all, I'm going to give a brief introduction to object oriented programming and explain what exactly it means. Then I'll start explaining the concepts in OOP I've learned so far.

Ptting it in simple words, OOP (Object Oriented Programming) is a way of programming in which the user not only defines the data and its type, but also functions and methods that can be applied to it. This way of programming comes very handy especially when it  comes to abstract programming. For example, in our first week in CSC148, we made a class called Point where we create various methods and carry out various operations, based on an abstract set of co-ordinates given by the user.

Now, I will start explaining some concepts that I learned in object oriented programming.

1) Objects:

In OOP, we bundle up the data type and the methods applied to a data structure and call them objects, which are stored at a location in memory. In Python, every single thing from integers, strings to even classes, are objects. One of the advantages to this type of programming is the ability to import modules like math, str, unittest, etc., which make programming a lot more easier since instead of carrying out various operations on your own, you could already use pre-defined functions in a module.

2) Classes:


In simple terms, one can think of classes as a template or a backbone for creating objects, initializing variables and creating as well as implementing various methods. In out first week, in order to solve the abstract problem which I talked about in my explanation of object oriented programming, we created a class called Point where we initialized a variable name for the co-ordinates and started creating and carrying out functions like finding the co-ordinate's distance from the origin.

3) Inheritance:

I guess one of the cool things I've liked about Python so far is how you can create a new class that inherits objects and methods from the old class, thus making programming a lot more easier and elegant. This is what we call inheritance. In CSC148, we practiced inheritance by creating a class called employee which takes in details of an employee and returns their amount of pay and total pay. After that, we created subclasses called HourlyEmployee and SalariedEmployee which inherits methods from the employee class. This made the programming process, especially the process of initializing variables a  lot more easier since by inheriting the init function, one can avoid writing the same code over and over again which takes in a lot more time. This feature is especially important in cases where one has to create many different subclasses but carry out similar methods as in the parent class.

For further information regarding OOP, you can also refer to the link of one of my peers, which is https://humaircsc148slog.wordpress.com/2015/02/15/object-oriented-summary/.

And that's about what I've learned regarding object oriented programming that I can write off the top of my head. I know for sure that there's a lot more to learn regarding this way of programming and I look forward to it. Until then, keep coding and stay awesome.

Friday, February 6, 2015

My impressions on tracing recursion

On the 4th week of CSC148, many of us getting accustomed to programming were introduced to a technique, called recursion. In simple words, recursion is a programming technique in which a function or method calls upon itself in order to solve a problem. The purpose of this week wasn't necessarily teaching us how to code recursive codes, but more regarding how to actually trace recursive codes and predict the output to a recursive function or method,

On the first lesson, we were introduced to a programming style where you can carry out simple functions with items in a list or dictionary with just one line instead of creating loops and calling out each element in the list or dictionary. For example, let there be a list of integers named I. In order to square every element in the list, instead of calling out a loop, we can use the command [item ** 2 for item in L]. I really liked this method since it looks a lot more shorter and elegant rather than calling out a loop.

On the same day, we started learning how to recursive code. We traced a recursive function called sum_list, which takes in an integer or an arbitrarily nested list of integers, and returns the sum of all integers in it. While doing this exercise, there were two thoughts that came to my mind. The first one was that the same problem could have been solved by using more iterations or loops, but then I realized that it would be a very complicated process and would be very messed up to read when it comes to debugging the program. In that sense, I felt like recursion is a very powerful programming tool since it makes the problem solving process very short, elegant and readable. The second thought that came to my mind was the fact that just for this problem, one didn't have to undergo the rigorous process of recursion since all they had to do was get the sum of all the integers in the list, no matter how they are listed. However, once we started going in detail regarding how to solve it, I realized that I shouldn't rely on this intuition since it might cause errors in other recursive problems. Therefore, I told myself that I would properly follow the proper steps for tracing recursive functions. I also did a bunch of recursive exercises which helped me strengthen my recursion tracing skills.

On the next day, we applied the concept of recursion in order to carry out a sorting process called mergesort sorting. Just like selection or insertion sort, it is a way to sort numbers. The way it works is that it takes in a list of numbers, divides it into two parts. Then it applies the same process to those two parts and continues on until there are several lists which only contain at most 1 integer. Then, it sorts the elements in ascending (or descending, depending on user) order. Since you need to call the same steps over and over again, we decided to go about this using recursion, and it made the process a lot more shorter. It was a very interesting exercise. We also did labs where we further polished our recursion tracing skills.

In order to understand more about how recursion actually works, you can refer to week 5 blog of the link http://csc148slogz-z.tumblr.com/. The person here breaks recursion down and explains how recursion works in a program where we find the depth of a nested list. Furthermore, you can refer to the February 7 post of the link http://christianlessard.blogspot.ca/ where the person talks about why learning to trace code is important. For those of us who feel like giving up at the moment, this could be helpful to you.

Overall, this has been a very interesting week in CSC148 since I got to learn a brand new concept I had never even heard of before. It felt very thrilling to trace recursive codes. I look forward to learn how to actually code them efficiently. And just like recursion, I look forward to learning more programming techniques in this course and in the years to come. Till then my friends, keep coding and stay awesome. Take care.

Saturday, January 31, 2015

My impression on the first few weeks

Having already done CSC108 in the fall of 2014, the first few weeks of CSC148 was sort of like a review of what I learned in CSC108. However, there were lots of new things I learned and there were lots of interesting tasks that I took on, which have made my experience with CSC148 a worthwhile one.

On the first week, we learned about object-oriented design. Compared to CSC108, we started thinking about creating programs for problems that are more abstract. An example we were given was the co-ordinate system where might have to carry out operations like finding the distance from the origin, finding the distance between two co-ordinates, and many more. We learned how to define classes and how to make, call and carry out different kinds of methods within the class. We were also introduced to the concept of making sure that the user actually understands what exactly our class does. We were able to do so using the help() command. A new thing I learned during that week was the 'is' command. Just like the '==' command, they're used to check whether objects are equivalent or not. However, while '==' returns True if the objects are equivalent, 'is' returns True if and only if both the objects are in the same memory address. I found this new concept really interesting. The first week was basically like a walk-through of the things we learned in CSC108.

On from the second week, we started learning more about special methods like help, str, repr and self. The 'repr' command was something new that I learned this week. It is similar to str in the sense that they both give string representation of an object. However, the string provided through repr can still be used as a valid expression and used for evaluation if pasted back into Python. On the other hand, you can't do this with str. Besides the lectures, we also started doing labs, something we didn't do in CSC108. I got the opportunity to work with a partner on a task. I got the chance to communicate about the problems and work as a team to come up with a solution. I also got hands-on teaching and help from the TA in case I got stuck on something. Overall, the second week was very informative and fun.

 On the third week, we started learning about inheritance. We were taught about creating sub-classes from a main class, by which we can inherit certain methods from the main class itself without having to repeat code for each and every little class we make. We also learned a bit about list comprehension, which showed us cool tricks we can do with lists like doing operations within lists without having to make loops, or create a matrix. We also started to write slogs starting from this week, where we got the opportunity to write about our opinions regarding the lectures, new things we learned and about challenging topics. For this week, we had to write about why geeks need to write. I thought this was a fun experience since I personally love writing and by writing these blogs, I can get my opinions regarding the course and new things I learned across to a lot of other people. Furthermore, by writing about new things you learned, you can make sure that the new concepts are now ingrained in your mind. The third week was pretty fun for me.

To top this week off, we had an assignment given to us where we had to create a game interface, mainly focusing on the game 'Subtract Square' . This was a rather challenging assignment and was designed to take our computing knowledge to the limit. However, it was a fun assignment since I got an opportunity to apply all of the concepts I learned into making a good game interface. Along with that, the assignment taught me how and where to seek help where I needed it. Lastly, I realized the importance of teamwork since had I not teamed up with my partner, the assignment would have been more challenging than it already was. Nevertheless, it was a worthwhile experience for me.

Anyways, this is pretty much it for my first few weeks. It has been a really fun and informative experience. I've learned a lot of new things and have been able to do a lot of tasks (like writing this blog) which I didn't expect to do in this course. I'm really pumped up so far and I look forward to learning more new concepts and challenging in the future.

Thursday, January 22, 2015

Why Geeks Should Write?

For us students in computer science, most of us enter the field thinking that now we don't need to write those pointless, long and boring essays anymore. We think that now we can finally focus on the technical stuff and code for the rest of your life. But I'm here to tell you otherwise. In this blog, I'll give you three reasons as to why us geeks should continue to write and hone our writing skills.

First and foremost, the ultimate reason why I think geeks need to know how to write is to learn to express oneself and explain the concepts you've learned or your works in a clear and precise manner. This ability is important in all fields and aspects, and this skill is massively important in the field of computer science. If you decide to head on to employment in the future, you'll not be working on a project alone. You'll be collaborating with a lot of other people in your field and outside your field. In such cases, you need to be able to clearly explain your works and activities so that the entire team can understand what you're saying and thus work together to produce the best possible outcome from your work. Furthermore, let's say you create a software or a program. Now that is completely pointless unless you're able to sell your product. For this to happen, you need proper clarity in your explanation so that the other people who're less educated in the field of computer science will be influenced by your product and will be tempted to buy the product, thus leading to you getting commercial success from your work. 
Not only in employment, but even if you decide to head on to research, this skill comes extremely handy. Whether it comes to writing your thesis, defending your thesis, talking with your supervisor, team members or other faculty members, you need to learn to be precise and clear with your explanations and express yourself properly so that other people can understand what your research or opinion is actually about and give you proper advice to enhance yourself. Otherwise, a thesis or a project which only you understand but not anyone else will be of very little use to anybody. 
In my opinion, through activities like writing blogs and communicating with others more, one learns the skills to properly express oneself so that he or she may excel wherever he or she may go.

Secondly, the other major reason that I think geeks need to know how to write is so that ourselves along with the next generation of computer scientists and programmers can learn from our mistakes and experience so that we may become even better leaders in our field. As we learn how to program, we come across various problems, bugs and mistakes which can take us from a couple of hours to a few number of days to fix. This could be seen as a major waste of time, time which is better spent on learning about new things or doing some other activities. I think that by writing about your experience as you continue to program, sort of like a journal or a log, not only do you ingrain that experience in your head, making the mistake less likely to happen again; but you also save it as a reference, just in case you encounter a similar problem again in the future and you don't know the solution. 
Not only for yourself, but your experience will also be of great importance to those who're new to programming and are having the same problems you once had. They could just look it up online and find the solution instead of wasting a significant amount of time on stupid little problems. By writing about out experiences, we're giving the next generation of computer scientists and programmers more time to learn and gain more knowledge so that in the upcoming future, these people may become even better leaders in their respective fields than they aspired to be.

Finally, I think that geeks should also learn how to write because it can serve as a break from whatever geeky activity you're up to. I think that writing serves as an awesome hobby, since you can just take a break from your work or studies once in a while and write about your experiences in life, your current feelings or something you wanted to talk about. It could actually bring a little bit of happiness in your life if you just give it a chance.

In case you'd like more information regarding this topic, you can refer to Slog #1 of the link http://computerscienceuoft.blogspot.ca/. The article itself is very interesting as the writer draws a comparision between writing code and essay. The writer also has a link regarding  Joel Spolsky's blog on advice for computer science students, which I think you all should check out.

There you have it folks. These are the reasons why I think geeks should definitely learn how to write. I hope that was beneficial for everybody, and I'll see you all next time. Peace out.