--On Thursday, May 08, 2008 4:49 AM -0700 Howard Chu hyc@symas.com wrote:
hyc@OpenLDAP.org wrote:
Update of /repo/OpenLDAP/pkg/ldap/servers/slapd
Modified Files: config.c 1.488 -> 1.489
Log Message: Use underscore in network_timeout
I figured since this hadn't been documented yet I could change it without repercussions. But it raises a question of consistency; we have some options using hyphens, and some using underscores, and I don't really see any rationale for which is chosen. Anyone have a preference, and a reason?
I strongly prefer hyphens. In part because they are treated as word boundaries in vi. ;)
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount writes:
I strongly prefer hyphens. In part because they are treated as word boundaries in vi. ;)
What for? That's the advantage of underscores - an editor is more likely to treat a single keyword as a single word...
--On Thursday, May 08, 2008 7:54 PM +0200 Hallvard B Furuseth h.b.furuseth@usit.uio.no wrote:
Quanah Gibson-Mount writes:
I strongly prefer hyphens. In part because they are treated as word boundaries in vi. ;)
What for? That's the advantage of underscores - an editor is more likely to treat a single keyword as a single word...
That's the disadvantage of underscores. If I typo just the first half of a keyword, I have to replace the whole damn thing to fix it. I hate that.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Hallvard B Furuseth wrote:
Quanah Gibson-Mount writes:
I strongly prefer hyphens. In part because they are treated as word boundaries in vi. ;)
What for? That's the advantage of underscores - an editor is more likely to treat a single keyword as a single word...
Yupp. I'd consider this better too (e.g. also for marking the whole keyword by double-click).
And underscores can also be directly used as variable names in programming languages.
But I don't have strong objections against hyphens.
Ciao, Michael.
Quanah Gibson-Mount quanah@zimbra.com wrote:
I strongly prefer hyphens. In part because they are treated as word boundaries in vi. ;)
Moreover, I have to press shift to get an underscore on my keyboard, whereas hyphens are directly accessible :-)
On May 8, 2008, at 11:09 AM, Emmanuel Dreyfus wrote:
Quanah Gibson-Mount quanah@zimbra.com wrote:
I strongly prefer hyphens. In part because they are treated as word boundaries in vi. ;)
Moreover, I have to press shift to get an underscore on my keyboard, whereas hyphens are directly accessible :-)
I prefer hyphens as they don't disappear when underlined. Underlining is often used to highlight keywords and such in manual pages and such.
-- Kurt
<quote who="Emmanuel Dreyfus">
Quanah Gibson-Mount quanah@zimbra.com wrote:
I strongly prefer hyphens. In part because they are treated as word boundaries in vi. ;)
Moreover, I have to press shift to get an underscore on my keyboard, whereas hyphens are directly
I like that reason!
Hallvard B Furuseth wrote:
Emmanuel Dreyfus writes:
Moreover, I have to press shift to get an underscore on my keyboard, whereas hyphens are directly accessible :-)
I surrender...
Heh. OK, hyphen it is.