Programming Style: Suggested Guidelines for Writing Code
Joe Hirschberg and
Jenny Lye
Australian Economic Review, 2024, vol. 57, issue 3, 302-313
Abstract:
Since computer code has become elemental in current research it has become imperative that code should be written clearly and in good style. A program written in a clear, well‐written style is easier to debug and is more useful to those who may want to replicate your work, extend it, speed it up or borrow from it. Clearly, written code is also a useful tool in the training of future researchers. In this paper, we suggest a set of style guidelines and we provide examples of how particular elements of code can be done using the statistical packages Stata, SAS and R. We also present recommendations for how to write code.
Date: 2024
References: Add references at CitEc
Citations:
Downloads: (external link)
https://doi.org/10.1111/1467-8462.12567
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:bla:ausecr:v:57:y:2024:i:3:p:302-313
Ordering information: This journal article can be ordered from
https://ordering.onl ... 7-8462&ref=1467-8462
Access Statistics for this article
Australian Economic Review is currently edited by John de New, Viet Hoang Nguyen and Susan Méndez
More articles in Australian Economic Review from The University of Melbourne, Melbourne Institute of Applied Economic and Social Research Contact information at EDIRC.
Bibliographic data for series maintained by Wiley Content Delivery ().