Re:Your programming language is probably unproductive
by pjc50 on Wednesday September 28, 2016 @07:03PM
(#12602054)
Mm. Taking literate programming literally. Perl certainly tried to do this, Wall being a linguist. It resulted in things like the Perl fridge poetry set, but it didn't enforce it and also allowed a line noise style.
I wouldn't be in favor of a programming language that tried to enforce verbalizability (I'm thinking something like basic here). But I do think that having a program "tell a story" is a boon for comprehension. Have operations, variable names, function names, choice of where and when to use a function, etc be in such a way to optimize the narrative quality of the code. But I don't immediately see a way for the language construction itself to benefit here. I think having clear structural code is a boon to quickly scanning and understanding the structure of code.