[erlang-questions] Erlang Syntax - again
Wed Mar 12 09:32:07 CET 2008
Robert Virding wrote:
> On 11/03/2008, *Mats Cronqvist* <mats.cronqvist@REDACTED
> <mailto:mats.cronqvist@REDACTED>> wrote:
> Jim McCoy wrote:
> > ... Regardless of what records were
> > intended to solve...
> i believe that the original requirement was something like;
> "access to
> tuple elements by name, but with zero overhead compared to normal
> a pretty tall order (and, with hindsight, misguided)...
> Yes, this was one of the original requirements of our first/major
> users. They wanted named fields but as fast as using tuples directly.
> The system (computer+emulator) wasn't as fast in those days and they
> felt they couldn't offer performance. It was not misguided then.
> Anyway this meant that everything had to be done at compile-time,
> which *is* very un-Erlangy.
(with hindsight) i think it's obvious that a few percentage points of
performance was not worth the drawbacks of records.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 179 bytes
Desc: not available
More information about the erlang-questions