News for hackers. Stuff that matters.
Re:A cheat-sheet for mathematical notation in code form by UncleOxidant on Saturday September 11, 2021 @02:56PM (#28494772)
I'm very similar. Show me a big mathematical formula and I'll have to dig into it for a while to understand it. Show me the code that implements the formula and it makes sense a lot quicker (for me anyway).
Re:A cheat-sheet for mathematical notation in code form by mhh__ on Saturday September 11, 2021 @04:36PM (#28495696)
I am the exact opposite. I look at code written by some analyst or whatever at work, and it's usually borderline unreadable if you ask me. Pretty print it as latex and I can visualize what it actually does almost immediately.

Besides, I don't really care about "the code" i.e. the mechanics of computation but rather the properties of that expression that exist regardless of how it is communicated i.e. it's shape or how it behaves asymptotically etc.

Re:A cheat-sheet for mathematical notation in code form by porknubbins on Saturday September 11, 2021 @11:07PM (#28498293)
I have had this same experience of finally understanding a mathematical idea by seeing it implemented in a programming language. You can always eventually understand a program because there can't be any ambiguity or the compiler couldn't decide how to compile it. Math is not supposed to have ambiguity but it arises because there is too much convention and assumptions in the notation (granted sometimes they are saying something broader than can be expressed in code). But higher mathematics as a field seems to me to be like a programmer who uses single letter variables, never write comments and really like clever bitwise operators.
Re:A cheat-sheet for mathematical notation in code form by Jensson on Sunday September 12, 2021 @03:04AM (#28499197)
Every math paper I've read and written have written out definitions for all the notation they use, even have a section called "notations". Don't you read math papers? Or do you mean applied math papers? Applied math is more like engineering though so they get sloppier with notation, I guess the same thing happens when computer scientists do maths.

But that isn't really a problem with math, but a problem with sloppy people. Or you just didn't read the notation sections explaining everything.

Re:A cheat-sheet for mathematical notation in code form by porknubbins on Monday September 13, 2021 @01:09AM (#28508045)
As a programmer and occasional electronics hobbyist most math I encounter is in the context of whitepapers, or physics/EE texts or similar. I don’t really read papers in pure mathematics. Perhaps the difficulty is due to sloppiness by non professional mathematicians.