Aside from an introductory experience to concepts in computer science, my biggest takeaway from CSC148 is a meta-cognitive one relating to problem solving. I have not only learnt (and relearnt) the importance of how we approach problems, but also specific strategies and habits that I believe will be of lasting import.
The general theme of this meta-cognitive lesson is how and when to let go, especially when dealing with a highly complicated and challenging problem that has emotional counter-parts in frustration, anxiety, hopelessness and so forth. There are various points in the long-term process of tackling such a problem that the only pragmatic choice is to forfeit effort, and either retry later or divert attention to a different problem. I will explore a couple that I specifically recall as being vital to my completion of the assignments and to learning how to write recursive functions.
When speaking with more experienced programmers, one gets the sense that they have a lower degree of confidence in their cognitive faculties than oneself. Substitute "realistic" for "lower", and you have a more accurate view of the psychological picture. It is incredibly important to have a very acute sense of your cognitive limitations in any given scenario: Willpower and computational capacity are both limited, and there is absolutely a diminishing returns point that can be passed with insufficient awareness. This diminishing returns point can actually show up somatically as a sense of muscular strain behind the eyes, and longer-term as substantial cognitive fatigue. This happened to me after A2 and Term Test 2 and I believe that, now, I would be extremely less likely to suffer that same misfortune.
One concrete lesson is what I call "black-box" problem solving, which is vital to recursion. To avoid thinking out a full trace of what the computer is doing each time you would like understand a fraction of what it is doing, it is important to treat objects and methods like black boxes. You consider what goes into and what comes out of these boxes, but trust their implementation enough (at least for the time being) to avoid pulling it into conscious deliberation. This kind of thinking applies to designing classes and functions, where abstract algorithms have to be designed without excessive distraction from thoughts about how each step will be translated into code. If one part of the system of black boxes is not doing its job, you can visit it to the exclusion of the others. In this way, your mind remains sharply honed-in to one problem, instead of scattered about many in ways that strain working memory. In cases where the problem does get too complicated, but a full-trace is required, drawings can take some of the load off of working memory and facilitate creative associations.
Another concrete lesson is simply to take breaks. There has been a fair amount of neuroscientific and psychological research into the role of rest in creativity and insight problem solving: Higher resting levels of activity in association cortices (Andreasen, 2011) and reduced outward-orientation as being correlated with insightful "Aha!" moments (Kounios and Beeman, 2009) are two such examples. Anecdotally, I can also speak to this. The relative ease with which my mind would "figure it out" when I had taken a break, especially if that break was fun and rejuvenating, was a replicated experiment. Counter-intuitively, I solved Minimax Prune the morning after forcing myself to go out and drink with friends (against my initial instinct to stay in and continue chipping away).
Lastly, I learnt that persistence does, in context, pay off. After repeatedly doubting my choice to go with Option A for Assignment 3, in spite of a dysfunctional Minimax from A2, I got Minimax and all of its optimization classes passing all Unit Tests this morning (praise the extension). If I had worked ahead on A3 with a killer-instinct, like I did with A2, I doubt I would have figured it out...and I know I would have been left depleted for finals. But calm, collected, and calculated persistence is exactly the sort I learnt from CSC148.
Works Cited
Andreasen, N. C. (2011). A Journey into Chaos: Creativity and the Unconscious. Mens Sana Monographs, 9(1), 42–53. doi:10.4103/0973-1229.77424
Kounios, J., & Beeman, M. (2014). The cognitive neuroscience of insight. Annual Review of Psychology, 65, 71-93. doi:10.1146/annurev-psych-010213-115154
No comments:
Post a Comment