Re:APL at Volvo
by spit2wind on Thursday February 22, 2024 @03:38PM
(#39472849)
Is that 425,000 lines of APL?!
[ Parent
| on HN ]
Yeah, I wonder if that is 425k _formatted_ lines of APL? I'm blanking: wasn't there someone who wrote their hedge fund's entire data processing pipeline in 4 lines of APL?
Characters maybe?
Most "production" APL is pretty verbose. See https://github.com/Dyalog/Jarvis/blob/master/Source/Jarvis.d... for example
Re:APL at Volvo
by avgcorrection on Thursday February 22, 2024 @08:05PM
(#39475585)
Among Us comment char.
Re:APL at Volvo
by eminence32 on Thursday February 22, 2024 @09:21PM
(#39476159)
Some of this seems readable to me (someone who's never seen APL before), but some of this is just wild:
→0⍴⍨0∊⍴i←⍸127<c←⎕UCS w
But to me as a relatively experienced APLer, it reads very clearly as "return if there are no non-ASCII chars in `w`" (and if there are, the indices of those chars will be stored in `i` and the code point of every char will be stored in `c`).