[Tutorial] Beautiful, Readable Code (Indentation, Whitespace, Comments)
#4

A few more returns may indeed be an improvement. Sometimes I see people writing a command which has a dozen prerequisite checks forced in equally as many lines. Not good.

Also your coding style may play a role in readability. I and many others use the Allman style, which is the most readable in my opinion, but some people actually do this:

pawn Код:
} else {
Ugh.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)