3 ms·
I've got to elaborate: programming languages are for telling dumb machines _exactly_ what to do. English is for communicating with other intelligent beings, usu
by vincent-toups 7y ago
I've got to elaborate: programming languages are for telling dumb machines _exactly_ what to do. English is for communicating with other intelligent beings, usually in a more or less interactive way. The two use cases could not possibly be more distinct. One way to see this is to observe how much redundancy and ambiguity is built into natural languages. Redundancy is there because natural communication is lossy and ambiguity is there because communicating agents share an enormous amount of common context. Programming languages have tended towards less and less redundancy and more or and more precision over their history.
Its more or less a coincidence induced by sloppy human thinking that we are "communicating" with computers when we program. Honestly, I'd almost rather program in assembly than in any of these absurd "natural" languages.
- skybrian 7y agoAlthough I broadly agree that other programming languages probably shouldn't follow Inform 7's example, I think Inform 7's similarity to English can be fun to play around with [1], so I'm glad it exists. Perhaps after it's open sourced, someone will look into grammar improvements? [1] http://slesinsky.org/brian/code/i7_poetry.html http://slesinsky.org/brian/code/i7_poetry.html