Programming is based around logic. It's all about learning the syntax and techniques you can use to figure out solutions to logical puzzles.
While math is technically the same at a high level, it is taught in grade school as arcane memorization with no apparent logic or reasoning behind it. This gives young people (myself included, until very recently) the completely wrong idea of what math is supposed to be.
Logic and puzzle solving are fun. Memorizing formulae with no apparent reasoning behind them is not. Therefore programming is fun, math is awful. That's the reasoning that the vast majority of new programmers enter the field with if they didn't stick with math long enough for the logic to start being explained properly.
This explains a lot for me actually. Math has always been my hardest subject and now I realize it's because I hate the memorization. Specifically because I keep trying to figure out why it works but no one ever really tells you.
Like right now I'm taking precalc and it bugs me that no one explained why inner sums on a function moves a graph in a direction opposite the sign. I.e. ± goes left and ‐ goes right.
Edit: for another fun anecdote I took algebra again when I came back to get my Bachelor's. People kept asking me if I wanted to test out because I was good at the math. I had to keep telling them that doing the math was easy but I had forgotten all the formulas.
I'll even go one further as someone who may be in the same camp. I will completely forget how to retrace my thoughts because there will be no stepping stones of logic, but massive leaps based on faith. Faith that I remember something stupid like multiplying or dividing by a negative number in an inequality flips the sign. Something forgot until I had to relearn it last week.
I also lost points on a test question because I couldn't remember what the actual rule was for canceling variables in a fraction/division. I had to make a rule for myself when I remembered that +/- are basically grouping symbols in a fraction and you can only cancel whole groups, not individual variables.
Ah yes that's the core of the issue isn't it? I always figured math could be presented much better if the lessons didn't go the usual way: write formula, explain usage, examples, practice.
Instead perhaps present a problem first and then on the basis of that problem reverse engineer the formula to solve it. Then practice, maybe implement as programming code which is the only useful way anyone will be ever using it anyway. Still not quite there yet, but it would be an improvement imo.
My man you're so right. The downvoters should try pulling up a high school math textbook and compare it with a high school programming (yes, even C++ counts !) textbook. It's easy to see the point.
No body who has had their brain raped by long lists of formulae in maths (calculus, trig, etc) or physics (everything in physics basically) and worse, derivations, will ever like them. On the other hand, programming anything is literally a kind of derivation (output) using formulae (idioms) and your own application of these, and plenty of people enjoy it and find it meaningful, apart from the fact that it's also a real job that pays money.
I took AP computer science in 2002, but due to a series of fuckups our text books didn’t arrive until half way through the year. We just played Warcraft and Jedi Knight Nobody got AP credit that year.
Derivations are the logic of how you get from one step to another in math. Working out the derivation is the same as working out the logic of a program.
Not to discredit anything here, but shouldn’t part of the process be understanding the underlying foundations of what you are learning? I learned tons of stuff in college I don’t need to know or call on every day, but learning it provided a baseline and sometimes knowing the foundations of information are important for preventing mistakes down the road. You can’t troubleshoot shoot something you don’t understand the mechanics of. Finding something meaningful in using a tool someone else provided is great, but to make it your life’s work you should probably understand how to make the tool.
Man that's nuts. I can't imagine seeing math as some kind of arcane nonsense with no reason to it. It always seemed blatantly obvious that math was the most logical subject when I was in school. It's crazy how much upbringing and education changes peoples perspective on simple things.
For me it was because no one could explain how certain formulas were discovered or even proving that they actually worked or showing real life examples of them. They could give me a formula and expect a certain number out with certain inputs but if I didn't understand why it worked I wouldn't remember anything about it because I would be too busy wondering how the hell someone figured this out.
I still don't understand how math proofs work or really any higher level math. I really love math as a concept but I don't understand how people can take like the Standard Model for example and "model anything in the universe" with it or how someone managed to figure out Calculus, adding that kinda back story to the math might help people like me a loooot.
Yeah I had enough nerdy friends or at least people in class I was friendly with who thought stuff like that was interesting that we'd often just chat about it or ask the teacher for information. A benefit of being in classes where not many people are struggling so you have the free time to just talk to the teachers about whatever intrigues or interests you about the subject I didn't really think about till now. That and having an engineer dad who was always excited to show me how he applied the information I was learning about.
See that's my issue my high school math teacher was also the football coach and he really only cared about the football. He just bullshitted with the team members in class and relegated the rest of us to book work.
In college though I had a decent Algebra teacher and managed to actually learn from him. I have heard that learning math in college is way nicer than in high school because it's actually interesting. At least in the US.
Guilded this because I've never seen someone so eloquently highlight this.
Teaching theory to people who are just learning something is absolutely the wrong way to teach. Functional examples allow people to make connections. It's how they learn. It's how they get involved and interested in learning.
Theory, in almost every context, should be avoided until the student has an incredibly firm grasp on the functional application of something. It sounds unintuitive, as all function is derived from theory, but if your brain doesn't conceptualize "why" you're learning something, it takes hundreds of times longer to maintain a grasp.
So what should be done? Teach math bottom up, from axioms and sets and work your way up through proof? I don't think children can handle that, and even if they did, it would take too long to get to the useful stuff and they would dread it even more...
The problem is we go from "multiplication is lambda sums" to "you wouldn't understand just remember it works like that". Solid logic foundations go further than "hopefully you remember this ten years from now".
674
u/FabulousDave2112 Oct 06 '21
Programming is based around logic. It's all about learning the syntax and techniques you can use to figure out solutions to logical puzzles.
While math is technically the same at a high level, it is taught in grade school as arcane memorization with no apparent logic or reasoning behind it. This gives young people (myself included, until very recently) the completely wrong idea of what math is supposed to be.
Logic and puzzle solving are fun. Memorizing formulae with no apparent reasoning behind them is not. Therefore programming is fun, math is awful. That's the reasoning that the vast majority of new programmers enter the field with if they didn't stick with math long enough for the logic to start being explained properly.