D******n 发帖数: 2836 | 1 Although it is said that statisticians are not programmers, although SAS pro
gramming is quite different from usual programming, but ,hey, it is still pr
ogrammings and rules should be applied to programming style.
A program with 2k lines is error prone and hard to maintain. As Les Hatton[
1] has pointed out , it is better be 200-400 lines to achiveve minimal bug d
ensity.
[1]http://www.leshatton.org/Documents/Ubend_IS697.pdf | l***o 发帖数: 5337 | 2 看你干什么了。
如果用sas iml,2k line不算什么。 | s*********e 发帖数: 1051 | 3 it is simple to make things look complicated. but it is complicated to make
things look simple. | D******n 发帖数: 2836 | 4 yup, but i always have a compulsion to simplify those codes. I will indent i
t, comment it ,simplify it and divide it if possible.
make
【在 s*********e 的大作中提到】 : it is simple to make things look complicated. but it is complicated to make : things look simple.
|
|