On Sat, Jun 22, 2013 at 5:24 AM, Brendan Eich <[email protected]> wrote:
>
> I think readability can favor typedefs too, though, and tried to say that.
> Sorry for being unclear about "consumers". Readers do not benefit
> indefinitely (for every occurrence, say hundreds to thousands in a source
> file) from using exclusively long-hands, even ignoring costs to writers.
> Good code can even use a "local typedef" to avoid mindless repetition.

+1

Huffman encoding is a good rule of thumb for names -- common names
should be short.  And something that is more readable to a complete
newcomer can be less readable to someone with some familiarity.

Nick
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to