Good programming practice suggestions
February 4, 2004 5:53 AM
Subscribe
Inside, I've posted a question about computer programming, regarding organizing class libraries and packages -- and also regarding good programming practices.
I've been programming in Actionscript (Flash's programming language) for a few years. Now, Macromedia has released Actionscript 2.0, which, for the first time, allows you to set up class libraries (and packages). I've never programmed before in a language with this feature, and I'm looking for tips about library structure. In other words, what is a good way to organize folders and subfolders (i.e. a graphics folder, a math folder, etc.) for classes. Once you set up a structure, it's hard to modify it in the future, so I want to get off to a good start.
Also, I know there are great books about good programming practices (comment your code, use descriptive variable names, etc.), but can anyone recommend a website with a succinct list of tips about code structure, clarity and organization?
If there isn't a site (though I'm sure there must be), maybe people could share their favorite tips here. In addition to my own programming, I also teach Flash to designers. My classes involve some Actionscript, and I'd like to get my students off to a good start. Most of them won't read a book, but if I can give them some power-tips, they will use them and write code that's at least passable.
posted by grumblebee to technology (6 comments total)
posted by seanyboy at 6:02 AM on February 4, 2004