How not to program in Dyalog APL

5 points by vlnn


doug-moen

I wrote a lot of APL when I first encountered it, but I ignored these kinds of "best practices", and used a style that made the code easy to write and easy to understand. Yes, I used imperative control structures.

When I read essays advocating for APL and its descendants, the favoured practice seems to be to golf the code so that it is as compact as you can make it, pushing yourself to your cognitive limits. Many good sounding reasons are given for this practice. The downside is that this makes the code less readable, both for other people, and for your future self.