4 ms·
DECLARE FUNCTION q_rsqrt (float number) THAT RETURNS float AS ( .... ); And no programmer will want to write in such a language because it's so verbose. I don
by pdonis 14y ago
DECLARE FUNCTION q_rsqrt (float number) THAT RETURNS float AS ( .... );
And no programmer will want to write in such a language because it's so verbose.
I don't mind making programming languages look more like natural languages; I would offer Python as an example of a language that takes advantage of this where it makes sense.
But I draw the line at having to type boilerplate; if it's absolutely necessary, at least keep it to an absolute minimum.
- einhverfr 14y agoIt's not that far from PL/SQL and PL/PGSQL CREATE OR REPLACE FUNCTION foo (int bar0) RETURNS int language plpgsql security definer volatile as $$ begin return $1 + 1; end; $$;
- qu4z-2 14y agoWhich is the reason I can't stand SQL
- Turing_Machine 14y agoI was thinking COBOL. Edit: added sample. http://www.csis.ul.ie/cobol/examples/Conditn/IterIf.cbl http://www.csis.ul.ie/cobol/examples/Conditn/IterIf.cbl
- einhverfr 14y agoNow, there is a program that an ordinary person might be able to read to understand what it does.