3 ms·
If there's one thing I've learned from studying programming languages, it's that human minds are extremely diverse, especially when it comes to designing notati
by derleth 15y ago
If there's one thing I've learned from studying programming languages, it's that human minds are extremely diverse, especially when it comes to designing notations.
For some programmers, their 'executable pseudocode' language is Haskell, or Forth, or maybe even the assembly language of some specific piece of hardware. Some people might naturally think in COBOL.
Also, the problem domain can dictate some of the shape of the language: Something that's built out of a mathematical expression is almost always going to be expressed most compactly as that expression in standard mathematical notation, with something like APL coming close to being the 'executable pseudocode' form of that program. That said, there are almost always many ways to solve the same problem.
- andrewflnr 15y agoI haven't actually programmed in Haskell, but once I started reading about it, my pseudo-code started to look like it, especially type declarations and inline conditionals. Other times, I use more Python-y (won't say Pythonic) syntax. So even in one person, it can vary.