9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] plan9 function names
@ 2007-03-07 18:36 Michael Teichgräber
  2007-03-08  1:17 ` Noah Evans
  2007-03-08  9:38 ` Douglas A. Gwyn
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Teichgräber @ 2007-03-07 18:36 UTC (permalink / raw)
  To: 9fans

Hi,

is there a reason why underscores are avoided in most function and
variable names on Plan 9? I have used this style for a while now, and
it seems to me that it increases the over-all code readability, as
names or function calls can be more easily recognized. Without
underscores one has to look for shorter or more to the point
function/variable names. But sometimes an ambiguity might remain, since
words are not separated from each other.

Or, is it just a habit without a specific reason?

Michael


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [9fans] plan9 function names
@ 2007-03-08 12:22 erik quanstrom
  0 siblings, 0 replies; 4+ messages in thread
From: erik quanstrom @ 2007-03-08 12:22 UTC (permalink / raw)
  To: 9fans

On Thu Mar  8 04:48:10 EST 2007, DAGwyn@null.net wrote:
> > is there a reason why underscores are avoided in most function and
> > variable names on Plan 9? ...
> 
> As with any matter of programming style, it's what the people
> chose to do because they thought it worked better for them.
> SomePeoplePreferThisStyle to a_style_using_underscores.

but plan 9 prefers style.

- erik


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-08 12:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-07 18:36 [9fans] plan9 function names Michael Teichgräber
2007-03-08  1:17 ` Noah Evans
2007-03-08  9:38 ` Douglas A. Gwyn
2007-03-08 12:22 erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).