Code Commenting
There was an interesting thread on /. this morning regarding coding practices. There was a lot of decent advice given, some stupid comments (this is Slashdot we're talking about) but most importantly, it got me thinking about my coding practices. After some long hard thought (totaling about twelve seconds) I came up with my guiding principals regarding my coding 'style'
My response to queries like that has always been the same. "Yes, I did. Just read it."
And that is my $.02. This is my blog, after all.
- Descriptive variable names
- Camel case
- Comment only the 'why' of complicated sections.
My response to queries like that has always been the same. "Yes, I did. Just read it."
And that is my $.02. This is my blog, after all.
0 Comments:
Post a Comment
<< Home