Seemingly forever ago, about the turn of the millennium, i attended a high school where I was taught C++ by an ex-TTC systems designer. He militantly drove the tenants of this new (to us) Object Oriented Programming into his class. He was appalled at the condition of my peers goto statements, and our overwhelming lack of decent professional laziness.
Mr. Little, went on to show us that the compartmentalization of code made it easier to read, easier to understand, more powerful, and primarily: shorter. Showing how one could build up a library of tools that one could use to challenge just about any task and how, with due consideration, in the future only the barest amount of effort would be needed to maintain it.
I also vaguely recall talk of hunting down people who made code purposefully more cryptic..
That was the first computer sciences course i had taken that taught more than typing. The idea that people survived in coding prior to OOP is still somewhat shocking to me. Modularity is good.
Sunday, 5 April 2015
Impressions of tracing recursion
Tracing recursion was one of the most aggravating tasks we have been put to in this course. Every time I thought I had it, i would then trace too much, or worse still, to little, and thus miss steps.
It was, thankfully, as equally fruitful. Once one had made it through.
In general call oriented tracing is very illuminating for learning an algorithm or process in computer sciences as it forces the person to behave in as rote as possible a manner; forcing them to confess all the work they would normally take for granted. Furthermore the concept of tracing only so much into the past captures the idea of encapsulation in recursion.
All in all, a frustrating but fruitful exercise.
It was, thankfully, as equally fruitful. Once one had made it through.
In general call oriented tracing is very illuminating for learning an algorithm or process in computer sciences as it forces the person to behave in as rote as possible a manner; forcing them to confess all the work they would normally take for granted. Furthermore the concept of tracing only so much into the past captures the idea of encapsulation in recursion.
All in all, a frustrating but fruitful exercise.
Thursday, 12 February 2015
Why Geeks should rite??
In the pursuit of being very specific and exacting in ones understanding and process one may find it convenient to convey these ideas to, and receive like ones from, yourself and others in a different place or time.
Communication like programming or 'thinking like a computer scientist' are acquired skills that we can get 'better' at; though it may be more appropriate to say 'get more successful at'. Eliminating ambiguity in your understanding is just the same as eliminating ambiguity in your communication.
For instance the initial line in this block of text could have read 'Geeks should write because they may need communicate with people or profit from keeping a cohesive record.' This is, perhaps, more successful.
Communication like programming or 'thinking like a computer scientist' are acquired skills that we can get 'better' at; though it may be more appropriate to say 'get more successful at'. Eliminating ambiguity in your understanding is just the same as eliminating ambiguity in your communication.
For instance the initial line in this block of text could have read 'Geeks should write because they may need communicate with people or profit from keeping a cohesive record.' This is, perhaps, more successful.
Better late than never?
Well, it turns out several part time callings are significantly larger than a single full time one.
Here is my exceptionally tardy start to the race.
To make a cursory recap of these past weeks;
Assignments are labours best started well in advance and fulfilled to the barest specification, at First. Then elaboration can be profitable and not simply frustrating.
Test are terrifyingly short, too short.
Recursion, no matter how comfortable you are with it, or regularly you use it, will trip you up from time to time.
Recursion, no matter how comfortable you are with it, will trip you up from time to time.
Recursion will trip you up from time to time.
Subscribe to:
Posts (Atom)