Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re (tilly) 2: Another commenting question,

by tilly (Archbishop)
on Mar 16, 2001 at 00:20 UTC ( [id://64769]=note: print w/replies, xml ) Need Help??


in reply to Re: Another commenting question,
in thread Another commenting question,

The single most useful comment that I can remember making, which was tied to a surprisingly well-named pair of variables that just happened to look awful, was, THINK CARTESIAN! x and y represent Cartesian coordinates. Keep that in mind and all will make sense.

Whenever I tried to describe what I was doing in the code in words, I failed. But with the picture in hand it was dead obvious how to manipulate the grid. :-)

Replies are listed 'Best First'.
Re: Re (tilly) 2: Another commenting question,
by arhuman (Vicar) on Jun 29, 2001 at 17:36 UTC
    Whenever I tried to describe what I was doing in the code in words, I failed.

    Just want to share my 0.3 Euro (2 cents) advice, someone once tell me :
    "Never tell what you're doing in your comments, as you should make it obvious in your code,
    instead say what is your goal and why you're doing it this way (special cases and constraints)"


    "Only Bad Coders Code Badly In Perl" (OBC2BIP)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://64769]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-03-28 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found