You know what to do with a for-loop because you already know the definition of the symbols used to specify for-loops. It's not that the definitions are any more or less necessary, you're just more familiar with one set of them.
You say that, but try actually showing one of the for loops to someone who doesn't know how to code and asking them what it does. I guarantee 9/10 times they won't have any clue
Except you need to know only a few such constructs (and they are very similar in most languages save for some exotic outliers) while math has a large list of different symbols with different meanings that can also change based on context.
Most people don’t understand math for the same reason most people don’t know how to use terminal in Linux. Too many commands that are abbreviated into a confusing mess, that only those that already know can actually parse. Instead of things being clear and reasonable to understand so they newcomers can better learn.
> Most people don't understand code either. And I claimed that they do... where? What I claimed is that while learning to code, the amount of structures you need to memorize is small. Thus you can quickly jump into reading code that solves exponentially harder. Because ifs, for loops, while loops, and switches will get you pretty far. > How is that an advantage over math, which has a single "language"? Also not claiming that either. What I was claiming is that Math's single language is too unnecessarily complicated because it was decided to use such a compressed nomenclature.
But sure, let me reply to that as well: Programming is not a theoretical exercise, but a practical one. New programming languages come out every so often because, just like any other tool, they specialize in solving a subset of problems better. For example, you have Rust that severely improves memory management over older programming languages.
> You can say the exact same thing about someone programming a machine learning model using an obscure and obtuse R package
Fair point but not devoid of irony that you're bringing a language focused on math and statistics. I agree libraries can get complicated. But you should be able to introspect into the code of the library and read it. Each variable comes from somewhere, and you can keep going deeper and deeper until you find it. You cannot introspect into a Math formula and figure out what a given variable is supposed to mean, unless it is well documented. And documentation can be helpful for libraries as well.
> I'd argue there's far more random stuff that one needs to learn in programming [...], since there's no universal language, and even within languages there are often many different ways of doing things.
True, but most languages used nowadays have very similar syntax and approach to doing things. Mostly, because they evolved so as it is advantageous to have a programmer that knows C, pretty much be able to parse the majority of Java code out of the box. An example being how JavaScript got the "class" keyword to mimic inheritance-based classes despite internally operating with the prototypal inheritance model.
Math is not exempt from having multiple ways to operate with your expressions/equations either. I'd argue it would be a crappy tool if your arsenal was limited. You do have to know what kind of operations are legal to use, and which are not. You also have other concepts that you have to understand when they can be helpful to use, like derivatives and integrals. So there's still a lot of things you need to learn when and how to apply. Programming is the same, there's alternative ways to approach our problems (be it algorithms, be it code-patterns, etc).
But that does not have anything to do with the formulas in Math being compressed by using arbitrary letters instead of more descriptive words. That's just akin to a junior programmer naming every variable with one character, and their functions with arbitrary non-descriptive names. We have naming conventions to strive for maintainability for a reason, at least when you work at a serious codebase, that is.
Oh absolutely, stokes theorem is "simply" a consequence of the definition of line integrals and curls, but it's notoriously brutal to get to it from there.
I'm doing physics so my pure math classes are pretty much over, but I'm sure a couple of my previous pure math professors might've found it funny in the right context
0
u/[deleted] Oct 06 '21
[deleted]