FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Got a chuckle and wanted to share.
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Got a chuckle and wanted to share. [message #181275 is a reply to message #181274] Mon, 29 April 2013 08:29 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
In article <klkqc4$c8g$1(at)news(dot)albasani(dot)net>,
The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:

> On 29/04/13 03:42, Doug Miller wrote:
>> Scott Johnson <noonehome(at)chalupasworld(dot)com> wrote in
>> news:klk9mf$ce8$1@dont-
>> email.me:
>>
>>> I understand what NP is saying though. I have revisited code I wrote
>>> years ago. I know I must of been in 'the zone', because some of the
>>> algorithms (some) where just short of brilliant and trying to figure out
>>> what I was thinking without comments (kind of wipes out the brilliant
>>> part I know), was like an outer body experience.
>> And that is why I *always* comment code whose purpose is not immediately
>> obvious: self-
>> defense. Even with a large applications group, you still wind up
>> maintaining a lot of your own
>> code, maybe years later: "Hey, who wrote this module? Doug did? OK, Doug,
>> you get to do
>> this enhancement." Never mind the fact that Doug is now the sysadmin, and
>> hasn't worked in
>> apps development for five years... Naah, that'd never happen... Would it?
> I think what happens with me anyway, is that after a while I have more
> or less the whole structure and design in my head, and coding is just a
> matter of writing the mental picture in the language. The temptations is
> to do that but IF the actual concept is flawed or its got lost in
> translation its vile to debug without the comments.
>
> Often I will write the pseudo code as a comment and see if the code
> actually corresponds..

How about internal documentation? I've already written 30 pages of that
for my app.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: determine a mysqli_result object
Next Topic: displaying image
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 11:58:30 GMT 2024

Total time taken to generate the page: 0.04202 seconds