Friday, January 30, 2015

Impressions of CSC148 so far

Things I have learned so far in CSC148:

Part One: From the classes and labs

1) Going to lecture is not nearly as helpful as it could be if you're just passively taking notes; it's so much more helpful when you have the Python shell open and are working things through as you learn, solidifying the new information. Which I have now started doing.

2) The concept of interacting classes is not as intimidating as I had once believed!

3) However, the concept of recursion IS as intimidating as I thought it would be! Hopefully time and studying will change this.

---

Part Two: From the assignments

1) An assignment where we get to build the program from scratch is much more rewarding than the 108 assignments where the main program was given to us and we just had to fill in the functions.

2) However, I now know I was wrong to think the 108 assignments were time-consuming. THIS was time-consuming! The next two items contain rants about more specific aspects of this statement:

3) WRITING GOOD DOCSTRINGS TAKES AGES! AGES AND AGES. Also if you're like me and do them at the very end of writing all the functions rather than at the beginning (bad, I know, sue me), then it's a bit of an anticlimax. "HOORAY, code finally works! Now... time to spend 4 hours writing fat, long, beautiful docstrings and making sure everything is properly styled." Then again, better to be writing docstrings the day a project is due than writing code the day a project is due!!!

4) DEBUGGING TAKES JUST AS LONG AS WRITING THE CODE TO BEGIN WITH. I learned this lesson in 108, then 'forgot' it, then learned it again, then 'forgot' it again. As you can see here, I am putting this lesson into writing on the internet this time so that this time I won't be able to 'forget'.... right?

5) The intense satisfaction of one's code finally working after days of debugging is somewhat like the feeling of crossing the finish line of a half-marathon EXCEPT BETTER BECAUSE YOUR LEGS AREN'T KILLING YOU AND YOU DON'T FEEL LIKE THROWING UP! A little sleep-deprived? Maybe. But that's pretty much a constant for most students anyways!

---

Part Three: The length of this blog has gotten out of hand, so I will bring it to an abrupt end:

All in all, I am enjoying this course and learning a lot from it so far. I am terrified for the midterm but I feel like I have access to all the resources I need to study hard enough to succeed on it.

Wednesday, January 21, 2015

Why should geeks write?


Although science and technology are inextricably linked and I am certainly not going to attempt to demarcate between the two, I am a science student and I also happen to be the type to get more excited over a review article than a prototype. In short, I am more of a book nerd than a geek. The reasoning that lead me - book nerd that I am - to become a student of as interdisciplinary a program as Cognitive Science, and thus take courses like this one, is the same as the reasoning that leads me to believe that people on the geekier end of the spectrum should learn to love writing. First of all, an education that is at least somewhat well-balanced (sciences, technology, and yes, humanities) makes it easier later on when one is striving to share what one has learned or developed with different audiences for different potential applications. Secondly, results aside, having a wider skill set is simply convenient when it comes to problem-solving.

I am not the only one who thinks this way. The concept of a 'debugging journal' or 'debugging blog' has been talked about by many computer programmers in many different contexts, but they always said the same thing - that writing out the nature of their problem in English rather than in whatever programming language they may have been using helped them to see precisely what was wrong. One example showed a 'lessons learned' section afterwards, which seemed all the more helpful. Some might even find this a satisfying way to document what one has learned. Either way, writing about bugs one faces while programming will almost certainly make it much easier a similar bug comes up again, or even a problem that requires the same general line of thought in order to be solved.

Then, just as importantly, comes the necessity of communicating what one has created with others. Even one can write the best code in the world, one has to be a good communicator in order to explain one's ideas to others, whether this be by writing very clear comments in the code, explaining the code to those to whom one is submitting (in the case of students) or selling (in the case of software developers) or teaching (in the case of professors) the code.  Knowledge and skill are both incredibly valuable but the way in which they are shared, taught, and applied is through good communications skills.

It does not matter if you are a nerd, a geek, neither or both - or if you're not even sure of the difference between the two. The point is that taking a well-rounded and - when possible - interdisciplinary approach to one's learning helps maintain and build confidence and skills in many different domains that will come in handy, be it for making connections between different disciplines in order to enhance your own understanding, be it for using something you find easier to help you learn from something you have found harder, or be it for taking what you have learned and undertaking the task of sharing it in the hopes that it can be applied in any number of creative ways.  And unfortunately (or fortunately, on the off-chance that this thought does not inspire that much dread after all), this does mean that many geeks would certainly benefit from a bit more writing.