Why we don't use underbars
arne_bab at web.de
Fri May 6 12:19:38 CDT 2011
On Thursday 05 May 2011 21:24:10 Matt Mackall wrote:
> I'm perfectly aware of that, but I've made a conscious and measured
> evaluation that being able to remember that "foo bar baz" is "foobarbaz"
> and not "foo_bar_baz" without needing a reference and without getting
> runtime errors completely trumps the minor readability nuisance.
Thank you for your detailed answer! I’m currently rethinking my style for
personal projects based on it.
FOO_BAR_GOO_GAR_GAZ grows very unwieldy over time…
I used that style for constants in a personal 1-year project, and the code
grew somewhat unreadable over time.
1w6 sie zu achten,
sie alle zu finden,
in Spiele zu leiten
und sacht zu verbinden.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 316 bytes
Desc: This is a digitally signed message part.
More information about the Mercurial-devel