3 ms·
It was intended to be a slightly snarky remark: “Oh, you tell me you implemented a subset of what Prolog can already do out of the box?” But apparently, it wasn
by catnaroek 10y ago
It was intended to be a slightly snarky remark: “Oh, you tell me you implemented a subset of what Prolog can already do out of the box?” But apparently, it wasn't interpreted by others as such. :-|
- eru 10y agoOh, restriction to a carefully chosen subset can be a feature all by itself. Eg for data interchange compare json vs evaluating any random javascript expression. The latter is strictly more powerful than the former. The former is better. Or an example in the other direction: imagine Haskell-Prime, like Haskell, but you can mutate every variable. Strictly more powerful, but awful. (Or imagine adding GOTO to your favourite programming language.)