RFC: For All: Object Declaration Recommendation
Just a recommenation that all use the following template for code submitted. Andy Lindsay gave this to me a while back at a class.
Every Object should have a Start/stop method
Replace the comment section with appropriate descriptions of pin usage.
Comments are everything, especially hours/days/years from now. Tell me how you got your equation, please!!!!·Comments dont get compiled,but are sure useful.
Please see the RFC:Stingray Standards·thread.
Post Edited (rpdb) : 2/7/2010 12:17:25 AM GMT
Every Object should have a Start/stop method
Replace the comment section with appropriate descriptions of pin usage.
Comments are everything, especially hours/days/years from now. Tell me how you got your equation, please!!!!·Comments dont get compiled,but are sure useful.
Please see the RFC:Stingray Standards·thread.
Post Edited (rpdb) : 2/7/2010 12:17:25 AM GMT
Comments
Anyway...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Powered by enthusiasm
The plus side is easier to use code, as well as some good guidlines for new and experienced coders alike.
"Recommended" and "Encouraged" are good terms. "Required" would be bad...
Potentially there could also be a "class" (no pun intended) of submissions that "Required" a higher level of compliance. Maybe this could have a title like "commercially ready", "Best Practices Compliant" or something like that.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John R.
Click here to see my Nomad Build Log