TheRealDevonMcC | 2 years ago | on: Before-and-after images show how Greenland's glaciers have rapidly retreated
TheRealDevonMcC's comments
TheRealDevonMcC | 4 years ago | on: Ask HN: Starting a Career in Programming at 61?
I'm only employed now because I'm proficient in an older language (APL). Never mind my decades of experience in many other languages and extensive domain knowledge in finance, not that I'm bitter or anything.
TheRealDevonMcC | 4 years ago | on: Ask HN: Single-person creations that have stood the test of time?
TheRealDevonMcC | 4 years ago | on: Poll: Why are people leaving their jobs?
TheRealDevonMcC | 4 years ago | on: It's weird that most of “Hacker” news is dominated by business news
Without context, tech alone is a very sterile discussion.
TheRealDevonMcC | 4 years ago | on: It's weird that most of “Hacker” news is dominated by business news
TheRealDevonMcC | 5 years ago | on: Ask HN: Anyone know any funny programming jokes?
The physicist wakes up, sees the fire, estimates exactly how much water is needed to put it out, and pours exactly that amount from the pitcher, dousing the flames.
The engineer wakes up, sees the fire, pours the entire pitcher of water on it, then refills the pitcher and douses it again to be safe.
The programmer wakes up, sees the fire, sees the pitcher of water, decides it's a solvable problem, and goes back to sleep.
TheRealDevonMcC | 6 years ago | on: K Language (2011)
TheRealDevonMcC | 6 years ago | on: APL Demonstration (1975) [video]
The same lack of understanding of the array context also underlies the earlier comment favoring "standard" order of operation that works well for maybe five functions with three levels of precedence but quickly becomes unwieldy for more functions.
Someone else already alluded to this lack of scalability but the power of a strictly positional precedence - not "no precedence" - shows up in array operations. For example, consider reduction by a non-commutative function like "-/A".
In the "standard" order of precedence, since all the subtractions are at the same level, this can be restated as the first item in A minus the sum of the remaining items. This is not particularly interesting or useful.
However, positional precedence interprets this expression as an alternating sum: (2-3) + (5-9) (for the "A" above). Alternating sum is a common, useful construction in mathematics.
TheRealDevonMcC | 6 years ago | on: APL Demonstration (1975) [video]