>>
>> I have been trying to follow one of code indentation guidelines from
>> wikipedia, but I have some questions that I can find answers, I would
>> appreciate if someone could help me or point me towards better references.
>>
> No. The indentation should provide a visual clue as to where the loop begins
> and ends. Once the loop has ended, the indentation should return to what it
> was at the start of the loop.
>

A lot of text editors, especially the command-lines [0], provide a
syntax checker. One of the features of these syntax checkers is their
ability to pair up curly braces. So when you get the dreaded "Missing
braces on..." error you can put your cursor on a end brace and it
shows you were it starts. This can save you a lot of time.

HTH,
Dp.

[0] http://vimdoc.sourceforge.net/htmldoc/syntax.html

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to