by _fat_santa · 3y ago · 0 comments
And I think that’s a big reason so many loose interest. You learn all these concepts but you have almost nothing to tie them together or to tell you why you should care about them.
This is why I think the “Python Music” exercise was so engaging, students now had a “why” behind what they were doing, they could tie it to a larger goal. And I remember back in college when I got really into programming was right around the time we started submitting full blown apps as projects (full blown in terms of a CS student)
the best libs start with examples. here's a great one. it covered my entire use case in the first page of documentation.
https://tenacity.readthedocs.io/en/latest/
like, how did you actually test this lib? surely you wrote something - anything - that uses some more of these features other than a test harness?
As an extreme example, I can remember the first programming tutorial I did at about age 15, which was not aimed at beginners at all. It started with something like “Let’s create our first Hello World”. I thought, great, what’s that? No explanation. Straight into printing “Hello World” to the console. I can remember trying to figure out whether Hello World was some sort of special code that did something within the program. And then the tutorial ended, and I had no idea what I’d just done, or why.
A year later, I started tinkering with Wordpress and found it far more fulfilling than my CS coursework. In 2012I joined The Starter League—an early code bootcamp—and began my learning Rails.
For me—and probably for many others—the real excitement lies in seeing how we can apply what we learn to build cool things. It makes learning so much more interesting.
My first class was in C, the instructor read from the book and then we did exercises from the book. I dropped the class, moved on in life.
20+ years later I was between jobs and ready for something new. I had an awesome instructor who was energetic and explained why we do things, we built silly apps, and it all made sense. I’m enjoying my new career a great deal.
Now I'm slowly discovering the "why do I need this" for much of it as I learn graphics programming, and it makes me wish I had known to pay more attention back then.
As a 30-something adult, I think I'd do much better at these classes now simply because of greatly improved self-discipline, but uptake and internalization of information I have immediate use for is still vastly faster than it is for abstract bits and bobs.
3B1B videos draw you in with a cool visualization that makes you ask the 'why' of 'why did this happen' first. This maps onto the techniques used by the best professors I've learned from. Hell, it is exactly how competent sales-men sell their product.
Start with a cool demo -> confuse the audience -> make them ask why -> this motivates them to want to learn the what -> all the tools learned in the 'what' comes together to teach you the 'how' -> you just made the cool demo happen -> MAGIC.
My favorite subjects were ones where the 'why' was obvious to me as I learned the 'what'. I distinctly remember disliking inorganic chemistry, because none of the facts seemed to go anywhere. You learned the facts for the facts. Nothing came together to reveal a grander intuition. I disliked history for the longest time, because I viewed it as some form of culture acquisition and status signaling. Once I started reading real history from an 'early warning system' perspective, I couldn't stop searching for repeating patterns and universal casual links within it.
With AI tools gaining prominence, it will actually be possible to build these fully contained dopamine cycles. "Dangle carrot -> difficult task -> reward", all within a single self-contained assignment. But even besides that, too many teachers simply do not have an intuition for how that dopaminergic cycle works.
If I had a calculus lesson that broke down the problem space like this (https://youtu.be/WUvTyaaNkzM) I probably wouldn't have stopped my formal education in math at that point. When I discovered that video, all the formulas they tried to make me memorize started making a LOT more sense.
In practice, one is best served with starting with something grand and then breaking it up into smaller and smaller pieces until those pieces are digestible. Learning becomes infinitely easier this way.
On the surface it may seem like the same thing: The learning takes place around a concept of of small pieces of a larger puzzle. However, the process of breaking down the puzzle is where the most important information is gleaned.
Every kid in the world understands the concept of 3D games, Minecraft, etc. That's a perfect vehicle to begin breaking it down into relevant simple math concepts.
So my best STEM subjects were always physics and geometry (they 'why' is built-in) and my worst ones were calculus et al. The absolute worst I ever did in a class was my first linear algebra class because it was taught in a purely 'what' sort of way (this is a matrix, this is how you multiply a matrix, etc.) and nobody ever explained why you'd need a matrix or what practical applications any of it involved. So it just never clicked and the class to me was a series of memorization and mechanical calculation steps. And THEN, years later....I discovered 3D rendering....:)
The challenge is that there are often kids for whom this just doesn't matter, and often enough of them that teachers and educators in general don't feel a particularly strong need to modify the traditional way of teaching.
Some people love the abstractions as puzzles. I was fine with calculus and matrix algebra at that level, but I was doing an EE course and the gap between abstraction and real world problems was not huge.
But I had a mental block at school about the moment of inertia, because I had no idea what it was for.
At some point the penny dropped and I worked out that it was basically the m in F=ma but for spinny things. Until that happened it was a mess of confusing diagrams with no obvious meaning or application, in an uncanny valley between pure abstraction and physical relevance.
After it happened it became much easier to do the math.
Fast forwards during Covid, I was doing a lot of work on the side with retro telecom projects and for the first time in my life I wished I had paid much attention to calculus or at the very least anything before it.
Then one day I had a problem where we got a lot of value out of a class. At this point I was a professional programmer, I had already made plenty of websites and apps.
When I teach people programming, I basically make this simplification so people can get programming cool stuff immediately. Of course I explain there is OOP, but we don't waste time on it. You don't need to understand it to make a text based video game.
EDIT: I started programming when I was 17, I didn't start a programming career until I was 30. I only dabbled as a hobby.
Wow thats usually the amount of time it would take to become an expert in a completely new field.
Started learning programming in high school. Went to college for engineering. Worked in (real) engineering for 8 years.
Now I automate engineering jobs.
I know you know, but it even took me a long time to get the utility.
You would use classes if you have a category of something with similar attributes that you would want to do various manipulations on and get various outputs.
My next sentence was going to be an example about a car and calculating the number of seats. Its a shame how quickly I need to move to a real world example, but when talking to a programming noob, I feel bad for saying the word attribute/class/method.
I feel less bad about functions, they should know this stuff from 8th grade.
Not sure how this idea clicked for me, as no teachers suggested it to me. But this basketball game idea was what drove me to learn how to program. I've been programming one thing or another for decades since.
Having a high level understanding of how the apps you use on your phone actually work, some of the steps that the program is doing (database writes, etc) seems to be interesting.
Writing the same, boring functions over and over again so someone can reverse a list of strings...sorta kills the vibe, as the youth might say...
When you can actually see the changes to things and have a real interesting project to work on its way more engaging that just going over the theory of things. Obviously, one should follow up with actually learning the theory as well to get a deeper understanding, but I often just can't grok things unless I can play with them.
> Let's spawn a car there! > Let's make a multidimensional array of car types & location to spawn! > Let's load the data from another file! > What is this "database" thing I just heard of?
And down the rabbit hole they go.
I only mention it because I felt similarly very frequently and learned to start diffing for that context to learn better, but I have noticed that the 'real world application' framing comes with a lot of baggage.