[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: statalist-digest V4 #1069
--On 15 November 2002 02:33 -0500 Nick wrote
I personally find (although I am often typing trailing semicolons in perl
or PHP code) that an easier construct in Stata is the
Indeed. One of several merits of -foreach-
and -forvalues- is that constructs are naturally
and readably laid out on several lines. The
bonus in being able more easily to understand, to debug,
and to modify code is substantial.
The need, or desire, to use semi-colons is
Of course, semi-colons can be
used as delimiters in a very readable way
too, just as there are many difficult-to-read
programs written with carriage returns as
command that does not all fit on /*
*/ one line
which leads to reasonably readable (and printable) code without the
necessity of semicolons.
The only time that it annoys is when you wish to comment out an entire
block of code.
* For searches and help try: