3 ms·
>what could we gain by thinking not just about making them look more like English but more able to be read aloud? I wouldn't be in favor of a programming langu
by hackinthebochs 10y ago
>what could we gain by thinking not just about making them look more like English but more able to be read aloud?
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.
- pjc50 10y agoMm. 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.