Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: -stylerules- on SSC


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: -stylerules- on SSC
Date   Thu, 22 Aug 2002 15:16:08 +0100

Thanks to Kit Baum, a package -stylerules- has been 
added to SSC. This package is no more than a single 
help file, stylerules.hlp, with suggestions on 
Stata programming style. Thus if you write, and 
particularly if you intend to make public, any Stata 
programs you may find it of use or interest. 

Given an up-to-date Stata supporting -ssc-, you 
can install it by 

. ssc inst stylerules 

or you could type it without installing it by 

. ssc type stylerules.hlp 

This document is designed to encourage reflection on, 
and discussion of, what constitutes good style in Stata 
programming. In essence, I couldn't find what I wanted 
to read, so I ended by compiling it myself, largely from 
study of Stata's own ado files.  

The document has evolved intermittently: a much earlier version 
was once posted on Statalist. It has benefitted especially 
from comments made by Kit Baum, Bill Gould, Alan Riley 
and Vince Wiggins. The usual disclaimers apply. 							

In due course a version of these style suggestions 
will also be posted on the Stata Journal website 
as guidance for authors and reviewers. 

I welcome comments. 

Nick 
[email protected] 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index