![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
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. In reply to Re: Writing code that looks nice
by sblanton
|
|