in reply to Re: Re: Re: Re: Re: making first letter of all words in array upper case
in thread making first letter of all words in array upper case
How does this look:
It looks awful.
Don't comment what is obvious. Don't explain what code does. Explain algorithms, explain strange things. But don't insult the reader. If someone wants to know what a certain operator does, that someone should use the documentation.$foo++ # increment $foo # Greet the user print "Hello!\n"; If ($foo =~ /bar/) { # If $foo contains 'bar'
Always assume that whoever reads source code either knows the language, or wants to learn it.
Further comments:
- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Re: making first letter of all words in array upper case
by tachyon (Chancellor) on Jan 02, 2003 at 00:25 UTC | |
by Juerd (Abbot) on Jan 02, 2003 at 07:41 UTC | |
|
Re: Re: Re: Re: Re: Re: Re: making first letter of all words in array upper case
by iamrobj (Initiate) on Jan 01, 2003 at 21:21 UTC | |
by runrig (Abbot) on Jan 07, 2003 at 03:31 UTC | |
by Juerd (Abbot) on Jan 01, 2003 at 21:26 UTC |