[erlang-questions] A modest proposal to eliminate tuples

Chris Pacejo <>
Wed Aug 27 23:15:42 CEST 2014


On Wed, Aug 27, 2014 at 4:55 PM, Fred Hebert <> wrote:
> I fear the same. In http://learnyousomeerlang.com/maps, I made a
> conscious effort to distinguish maps from records, for example.

Ha!  I think we've come to a different conclusion from the same
premise :)  I believe the opposite, that maps-as-records are useful,
and should replace/supplement records; while dicts (barring
performance) are just fine as-is and need no special syntax.  But
that's a separate discussion (and one I don't feel as strongly about);
I'm glad we agree that maps performing double-duty is problematic.
(Perhaps the reason maps currently perform double-duty is because both
the "I-want-syntax-for-dicts" and the
"I-want-structurally-typed-records" people have latched onto maps as
their savior.)

[Aside: Learn You Some Erlang is great, even as a reference.  Thanks
for writing and maintaining it!]



More information about the erlang-questions mailing list