5 ms·
Maybe natural language should become more like programming languages instead of the other way around. I suppose this could be especially useful in e.g. legal ci
by amelius 6y ago
Maybe natural language should become more like programming languages instead of the other way around. I suppose this could be especially useful in e.g. legal circles, where ambiguities are problematic.
- exdsq 6y agoLojban is a good example of this.
- sjy 6y agoThis is why we have legalese, which people who aren’t lawyers tend to look at in the same way that people who aren’t programmers look at code.
- jhanschoo 6y agoFor as long as the concepts that words refer to remain ambiguous for general discourse, there's not much use for a grammar that can only indicate extremely specific relations. Well, except in, say your example of a legal domain, where a specialized language (legalese) comes into service.
- tluyben2 6y agoLegalese is unambiguous? I have never seen any of that and we spent millions on legalese (as a company and being a company owner). It's always full of holes and difficultly written but easily confused language that you can interpret in many ways (and that happens exactly when in court by the opposing lawyers). Good or bad, but unambiguous it's not. Maybe Lojban or a fuzzy programming language could work.
- NateEag 6y ago> It's always full of holes and difficultly written but easily confused language that you can interpret in many ways (and that happens exactly when in court by the opposing lawyers). This sounds exactly like code. It's one place bugs come from - the human who wrote it interpreted the code differently from the human who wrote the language they used. See JS's implicit global vars for a classic example. And before someone says, "But that's human error; programs have only one valid interpretation," let me remind you of undefined behavior. It exists and is used in defining the C language (yes, it's one reason people don't like C, but since C is the substrate for a whole lot of other languages, it's hard to avoid at the moment).
- andrepd 6y agoSee lojban, essentially first-order logic that you can speak.
- euske 6y agoMaybe not this extreme, but we can use natural language as more like programming languages (by reducing vagueness). Corollary of this: we should mandate that politicians and officials all learn programming language and speak rather like programmers, so that they can say less BS.
- dragonwriter 6y ago> we should mandate that politicians and officials all learn programming language and speak rather like programmers, so that they can say less BS. I've rarely met anyone who uses natural language as imprecisely as most programmers, so I'm not sure that you want what you literally describe. Also, politicians (at least in the US) are disproportionately lawyers, who happen to be professionally trained in the precise use of natural language. They often use this, when they aren't outright lying, to say things that make very different commitments than casual listeners not themselves trained in the precise use and interpretation of natural language will initially interpret, so what you really need is to train their audience in critical listening.
- pydry 6y ago>I've rarely met anyone who uses natural language as imprecisely as most programmers I've rarely met a good programmer that didn't communicate with precision. Ive met lots of bad programmers who write unreadable code though, who couldnt communicate clearly by speech or writing either.
- ThrowawayR2 6y ago> "Corollary of this: we should mandate that politicians and officials all learn programming language and speak rather like programmers, so that they can say less BS." Unrealistic since most programmers I've met can't even manage to put together a logically coherent document or presentation without a lot of prompting.