3 ms·
Kinda neat, but it breaks the APL convention of reading right to left. J version of their example: +/ 1+ i.100 Interesting that it was developed for the HP48:
by scottlocklin 7y ago
Kinda neat, but it breaks the APL convention of reading right to left. J version of their example:
+/ 1+ i.100
Interesting that it was developed for the HP48:
http://archive.vector.org.uk/art10500710 http://archive.vector.org.uk/art10500710
- renox 7y agoGiven that I read left to right usually, I think that this is a good change
- scottlocklin 7y agoPretty sure you don't do that in coding. I do in R sometimes because it has ->, but generally speaking, coding is actually done right to left, just like K and Hebrew.
- renox 7y agoUh? No I write code (C++) left to right most of the time, and when I have to do a right to left update, the IDE's stupid autocomplete (vscode but other IDE are the same) keeps making annoying unneeded changes.
- scottlocklin 7y agoLiterally everyone writes J or K from left to right also: it's not read that way any more than C is.
- quantified 7y agoBeing Forth-inspired, you might expect left-to-right...? It’s more of Forth-with-arrays than APL-with-stacks.