News for hackers. Stuff that matters.
Re:The Next 50 Years of Databases (2015) by transpostmeta on Monday November 11, 2019 @04:54PM (#21509295)
Then why aren't we programming in English? Why aren't we expressing mathematical expressions in English?
Re:The Next 50 Years of Databases (2015) by BOBOTWINSTON on Monday November 11, 2019 @05:30PM (#21509607)
Exactly.

My initial thought is highly specific human language is actually harder to write than most code, and always more verbose. Well written philosophy comes to mind.

I'd argue that this is part of the reason ORMs gained so much prominence. They solve the problem that SQL introduces by trying to emulate natural language. Most developers will gladly risk sacrificing some specificity of the query in exchange for reducing the verbosity of a SQL query. Obviously if the dev knows their ORM/SQL well, there is no lost precision.

Re:The Next 50 Years of Databases (2015) by cortesoft on Monday November 11, 2019 @05:28PM (#21509586)
I have to assume GP is being sarcastic
Re:The Next 50 Years of Databases (2015) by The_rationalist on Tuesday November 12, 2019 @01:11PM (#21516460)
Because nobody has been able to implement a computable implementation of English. It's an orthogonal issue to ambiguity.

I'm pretty sure controlled attempto English or lojban (zero ambiguity natural languages) have no computable implementations either.

Re:The Next 50 Years of Databases (2015) by squiggleblaz on Tuesday November 12, 2019 @08:17AM (#21513793)
tldr (or boring)? skip to the last pragraph.

"the product of pi and the square of r" is no less clear than the mathematical transcription of it.

3245 is perhaps English, but there's nothing wrong with "three thousand, two hundred and forty-five".

Some more examples taken from Wikipedia:

The sum of zero and zero. Five less than the product of eight and some value. Seven times the square of some value plus four times the aforesaid value minus ten.

I mean I could go on; these are either not ambiguous, or they're ambiguous only because of a lack of convention.

We don't do it because our attention span doesn't last long enough. We need to keep looking back at what we've already read to really understand what we're reading. Mathematical formulae give us the ability to do that quickly, since the graphical, multidimensional concise layout quickly allows us to find the place we're looking for.