[erlang-questions] Dynamically access record fields

ok@REDACTED ok@REDACTED
Mon Feb 11 02:17:18 CET 2013


> I just don't see the harm in allowing the former, but I'm completely
> prepared to ignore this issue entirely for now.
>
The harm in dynamic field names includes but is not limited to:
 - slowing programs down
 - making code less readable for human beings
 - reducing the effectiveness of type checking
 - inadvertently providing wider indirect access to fields
   than intended compared with hand-written access functions





More information about the erlang-questions mailing list