Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Writing code that looks nice

by sblanton (Sexton)
on Apr 12, 2010 at 14:48 UTC ( #834290=note: print w/replies, xml ) Need Help??

in reply to Writing code that looks nice

My style preferences are for natural language - I'll lean toward whatever sounds like English. "Print if -d"/"Print, if the directory exists" is a pretty simple English sentence.

Others I know prefer a more mathematical approach, such as I would classify the latter.

In order to save time, and with little fear of others having trouble reading my code in my current environment, I may choose a syntax based on the fewest # of characters that do not give me pause.

There are a lot of considerations that can go into style decsions...not all may be obvious.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (1)
As of 2023-09-23 21:46 GMT
Find Nodes?
    Voting Booth?

    No recent polls found