The Programming Subjects: Programming and Algorithms

4 min read

If the theory subjects are the category furthest from my daily life, the programming and algorithms subjects are the opposite extreme — the place where coursework and the self-directed learning documented across this blog’s Languages section overlap almost completely. This post is about that overlap, and about what the formal coursework has given me that self-teaching alone hadn’t.

What’s actually in this bucket

The programming side moves through the expected progression: structured programming fundamentals first, then the C and C++ coursework that’s already got its own honest writeups on the Languages section of this site, then algorithms and data structures built on top of that foundation — sorting, searching, basic complexity analysis, the standard structures (lists, trees, graphs, hash tables) implemented by hand before you’re allowed to just reach for a standard library’s version. There’s a deliberate “understand it by building it once” philosophy running through this category that I actually appreciate, even on the days it’s tedious.

Where coursework and self-teaching reinforce each other

This is the category where I most clearly see the value of having been teaching myself languages outside of class before and during this coursework. By the time algorithms coursework asked me to implement a given data structure in C, I wasn’t learning C’s syntax and the data structure’s logic at the same time — the language was already familiar ground from the dedicated C coursework and the extra practice I’ve put in outside it, which meant I could focus entirely on the actual algorithmic idea instead of splitting attention between “how do I write this” and “is this logic even correct.”

That’s made a genuinely measurable difference in how this category has gone for me relative to classmates who are encountering a language and an algorithm for the first time simultaneously. I don’t say that to be dismissive of anyone starting from zero — everyone starts somewhere, and I had my own zero-starting-point moment with C, documented honestly elsewhere on this site, hell and all. I say it because it’s taught me something specific and useful about how to approach the rest of this program: wherever possible, get a head start on the language outside of class, so the coursework’s actual lesson doesn’t have to compete with basic syntax for my attention.

What the coursework has given me that self-teaching alone hadn’t

I want to be fair to the formal side of this, because it would be easy to read the above as “coursework barely matters, I was already ahead.” That’s not accurate. What structured algorithms coursework has given me that my own tinkering wouldn’t have, left alone, is rigor around complexity analysis and a forced vocabulary for talking about why one approach is better than another, not just that it feels faster in casual testing. Self-taught programming, in my experience, teaches you to make things work. Formal algorithms coursework has taught me to reason about how well something works, and to actually prove that reasoning rather than gesturing at it — Big-O analysis done properly, not just quoted from a cheat sheet.

The data-structures-by-hand requirement, tedious as it sometimes is, has also paid off in a way I didn’t expect going in: building a hash table from scratch once, including handling collisions myself, changed how I think about every subsequent use of a dictionary or map in any language I write afterward, Python’s built-in dict included. I don’t think I’d have gone looking for that understanding on my own without the coursework forcing the issue.

Where this stands

This is, by a clear margin, my strongest category in the whole program, and I think the honest reason is compounding advantage rather than raw natural aptitude — self-taught practice outside class plus structured rigor inside it, reinforcing each other rather than competing. The lesson I’m taking forward, especially into Java (covered in its own honest, still-evolving page in the Languages section) is to keep deliberately front-loading language familiarity outside of class wherever I can, specifically because this category has shown me how much that head start compounds once the actual coursework starts.