zlacker

[parent] [thread] 3 comments
1. soline+(OP)[view] [source] 2020-11-30 02:48:52
There's a certain mathematical elegance to APL, I think. When the language is terse enough it helps you visualize and work with the language as a tool of thought--Matlab attempts to map actual mathematics to ASCII which is not that successful for me at least, since it meets a middle ground where it's too difficult for me to think quickly purely in Matlab and it's too high level for it to be useful as a practical language.

Engineers love it for prototyping, though, so maybe I just haven't worked with Matlab enough.

replies(2): >>blulul+F7 >>Someon+kA
2. blulul+F7[view] [source] 2020-11-30 04:33:11
>>soline+(OP)
Fair point - personally I found APL to be a little too terse to be readable in ASCII. I think that there is a big difference in the affordances of a chalkboard/paper and a monospaced text editor, and to me APL is too close to paper based notation where it is easy to read and write a larger set of symbols. Matlab has some dedicated notation around matrices but uses more text heavy descriptions beyond that which feels better suited to a command line. Julia takes an even more text based approach and supports notations like list comprehensions which feel easier to learn, read and use than a set glyphs.
3. Someon+kA[view] [source] 2020-11-30 10:54:44
>>soline+(OP)
“Engineers love it for prototyping, though”

Makes perfect sense. Matlab is for engineers, not for mathematicians. They use computer algebra systems, proof assistants, etc. Difference is that engineers (and physicists) want answers and don’t care about how they are obtained, while its the reverse for mathematicians.

I think APL, although it, too, is a language for computing numbers, spiritually is a bit closer to mathematics than Matlab.

replies(1): >>soline+do7
◧◩
4. soline+do7[view] [source] [discussion] 2020-12-02 17:20:58
>>Someon+kA
I'm a bit of both, so I guess I take the radical approach--straight from mathematics to C++/ASM/FPGA/ASIC. Ultimately programming languages are just an alternate notative system for mathematics--formal language theory actually formalizes and generalizes this, it's what us Computer Scientist's specialize in generally.

Since the computer is just a glorified calculator with memory (sorry Apple), we can fit the whole thing into a formal mathematical framework.

[go to top]