Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A nice, little known C feature: Static array indices in parameter declarations. Parent comment
There are two operators, equality = and assignment :=
But where it is clear that assignment was meant, = is treated as assignment. this means you can:
a = 5; -- exactly equivalent to a := 5 here if a = 6 then raise exception 'this should never happen'; end if;
There are no comments on this comment yet.
There are two operators, equality = and assignment :=
But where it is clear that assignment was meant, = is treated as assignment. this means you can:
Interestingly this is entirely a Postgres-ism. Oracle's PL/SQL offers no such "feature."