News for hackers. Stuff that matters.
Re:Your programming language is probably unproductive by pjc50 on Wednesday September 28, 2016 @10:46AM (#12598039)
I program in embedded C, you don't have to tell me it's 'unproductive'. It's just convenient and familiar.

A while ago I started writing something about meter in programming languages; what could we gain by thinking not just about making them look more like English but more able to be read aloud? I didn't come to any useful conclusions, but I do note that of all the unpronouncable symbols we use the semantic whitespace of python is the most difficult to convey adequately.

Re:Your programming language is probably unproductive by hackinthebochs on Wednesday September 28, 2016 @04:18PM (#12600984)
>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.

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.
Re:Your programming language is probably unproductive by AnimalMuppet on Wednesday September 28, 2016 @11:59AM (#12598745)
> I program in embedded C, you don't have to tell me it's 'unproductive'. It's just convenient and familiar.

It's also probably more productive for that purpose than almost anything else. Why? Availability of tools, and also fitness for use. You usually don't really want to be using Python, say, in that environment, because you don't want to have to burn an interpreter onto your device, and you don't want the runtime inefficiency, and and and...