9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] first capital letter in function names at man pages ¿why?
@ 2004-05-20 14:59 Alberto Cortes
  2004-05-20 15:22 ` Rob Pike
                   ` (2 more replies)
  0 siblings, 3 replies; 61+ messages in thread
From: Alberto Cortes @ 2004-05-20 14:59 UTC (permalink / raw)
  To: 9fans

English uses first capital letter at after a ".". 

This convention has been used for manual pages, so when i open
strcat(2) in and acme window and right click on strdup to look for an
explanation of that function it does not find it. Thats because the
paragraph where it is explained starts by "Strdup bla bla...".

¿What are the benefits of keeping that convention for function names?.

-- 
url: http://montoya.aig.uc3m.es/~acortes/index.html


^ permalink raw reply	[flat|nested] 61+ messages in thread
* Re: [9fans] first capital letter in function names at man pages, why?
@ 2004-05-20 18:42 rog
  2004-05-20 19:21 ` Scott Schwartz
  2004-05-20 20:07 ` boyd, rounin
  0 siblings, 2 replies; 61+ messages in thread
From: rog @ 2004-05-20 18:42 UTC (permalink / raw)
  To: 9fans

> you'd better write N parsers.

actually it's not an unreasonable idea to have a regular expression
engine that could work on arbitrary alphabets.
you could express it quite nicely with the new limbo
polymorphism stuff:

	match[T](c: chan of T, p: ref Regex[T]): int for {
		T =>
			eq: fn(t: self T, t1: T): int;
			eof: fn(t: self T): int;
		}

so the alphabet would consist of members of type T, arriving down
channel c, being matched against a previously compiled pattern p.

match would return when it enounters a match, or reads a t such that
t.eof() is true.

then you could write N parsers and just plug 'em in.

i've got something that would allow one to use this kind of stuff
with a shell-like syntax. it's awaiting a bit more of my time...



^ permalink raw reply	[flat|nested] 61+ messages in thread
* Re: [9fans] first capital letter in function names at man pages, why?
@ 2004-05-21  0:36 dmr
  2004-05-21  0:50 ` George Michaelson
  2004-05-21  0:59 ` Rob Pike
  0 siblings, 2 replies; 61+ messages in thread
From: dmr @ 2004-05-21  0:36 UTC (permalink / raw)
  To: 9fans

 >  ... Dennis is quoted as saying `if you want PL/I you know where
 > to find it,' when someone asked for a questionable feature.  Does anyone
 > know what that feature was?

In truth I have no idea whether I actually said it
as an original aphorism, or in what context.

	Dennis


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

end of thread, other threads:[~2004-05-24 22:33 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-20 14:59 [9fans] first capital letter in function names at man pages ¿why? Alberto Cortes
2004-05-20 15:22 ` Rob Pike
2004-05-20 15:53   ` [9fans] first capital letter in function names at man pages, why? Alberto Cortes
2004-05-20 16:44     ` Russ Cox
2004-05-20 17:20       ` Alberto Cortes
2004-05-20 17:31         ` rog
2004-05-20 17:43           ` Alberto Cortes
2004-05-20 17:50             ` Fco.J.Ballesteros
2004-05-21 17:20               ` Joel Salomon
2004-05-21 17:46                 ` boyd, rounin
2004-05-21 18:11                   ` Jason Gurtz
2004-05-21 18:21                     ` boyd, rounin
2004-05-20 17:53             ` rog
2004-05-20 17:54               ` Alberto Cortes
2004-05-21 10:28             ` Gorka Guardiola Múzquiz
2004-05-21 10:29               ` Dave Lukes
2004-05-21 10:57               ` Alberto Cortes
2004-05-21 11:04                 ` Gorka Guardiola Múzquiz
2004-05-21 12:23                   ` Alberto Cortes
2004-05-21 12:30                     ` Gorka Guardiola Múzquiz
2004-05-21 12:48                       ` Alberto Cortes
2004-05-21 14:25                         ` Fco.J.Ballesteros
2004-05-21 14:34                           ` Alberto Cortes
2004-05-21 14:27                     ` Fco.J.Ballesteros
2004-05-21 14:44                       ` splite
2004-05-21 15:24                       ` boyd, rounin
2004-05-21 15:29                         ` Fco. J. Ballesteros
2004-05-21 16:23                           ` Alberto Cortes
2004-05-21 14:50                     ` boyd, rounin
2004-05-21 15:57                       ` boyd, rounin
2004-05-24  2:10                         ` Micah Stetson
2004-05-24  2:38                           ` Greg Pavelcak
2004-05-24  3:47                             ` Eric KD5UWL
2004-05-24 15:46                               ` boyd, rounin
2004-05-24 22:33                             ` Micah Stetson
2004-05-21 14:22                   ` boyd, rounin
2004-05-20 20:43           ` vdharani
2004-05-20 18:18             ` boyd, rounin
2004-05-20 18:07         ` boyd, rounin
2004-05-20 18:20           ` rog
2004-05-20 23:34           ` Brantley Coile
2004-05-20 17:02     ` Rob Pike
2004-05-21  9:01   ` [9fans] first capital letter i Douglas A. Gwyn
2004-05-21 15:34     ` Rob Pike
2004-05-20 16:57 ` [9fans] first capital letter infunction names at man pages ¿why? matt lawless
2004-05-20 17:58 ` boyd, rounin
2004-05-20 18:09   ` Russ Cox
2004-05-20 18:42 [9fans] first capital letter in function names at man pages, why? rog
2004-05-20 19:21 ` Scott Schwartz
2004-05-20 20:07 ` boyd, rounin
2004-05-21 14:05   ` rog
2004-05-21 15:12     ` boyd, rounin
2004-05-21 16:25       ` rog
2004-05-21  0:36 dmr
2004-05-21  0:50 ` George Michaelson
2004-05-21  0:59 ` Rob Pike
2004-05-21  2:13   ` boyd, rounin
2004-05-21  5:33   ` Taj Khattra
2004-05-21 15:35   ` Anastasopoulos S
2004-05-21 16:02     ` boyd, rounin
2004-05-22  0:57     ` ron minnich

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).