First Time Working With Others?

Posted by cam on Stack Overflow See other posts from Stack Overflow or by cam
Published on 2010-04-23T12:43:19Z Indexed on 2010/04/23 12:53 UTC
Read the original article Hit count: 172

Filed under:
|

I've been at my very first programming job for about 8 months now and I've learned incredible amounts so far.

Unfortunately, I'm the sole developer for a small startup company for internal applications.

For the first time ever though, I'll be handing off some of my projects to someone else when I leave this job. I've documented all my projects thoroughly (at least I think so), but I still feel nervous about someone else reading my code.

For example, I've always done this sort of thing.

for (int i = 0; i < blah.length; i++)
{
//Do stuff
}

Should I name 'i' something descriptive? It's only a temporary variable, and will only exist within that loop, and it seems that it's pretty obvious what the loop does with 'i'.

This is just one example. Another one is that I name variables differently... I don't really conform to a standard of naming besides starting all private members with an underscore.

Are there any resources that could show me how to make it easier for the next developer? Are there standards for this type of thing?

© Stack Overflow or respective owner

Related posts about c#

Related posts about readability