| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year |
| seen | Apr 9 at 15:38 | |
| stats | profile views | 5 |
|
Jan 8 |
comment |
Is it okay to mock multiple objects in one class? Mocks Aren't Stubs |
|
Dec 20 |
awarded | Civic Duty |
|
Aug 6 |
awarded | Commentator |
|
Aug 6 |
comment |
Unwritten rules of rewriting another team member's code One other thing: A month after putting aside a piece of code - no, more than a month if you're counting from when it was tested - most developers are on the other side of the code base by that time and cleaning up code that they wrote "ages" ago is the last thing on their list. |
|
Aug 6 |
comment |
Unwritten rules of rewriting another team member's code That's another function of a proper version control system: you can view when changes were checked in, compare versions to see exactly what changed from one checkin to the next, and associate comments with checkins to explain why a modification was made. If it is so important for others to know right away that a piece of code was changed, perhaps send out an e-mail notification instead of waiting for the other developers to chance upon your comments. |
|
Aug 6 |
comment |
Unwritten rules of rewriting another team member's code "I suggest you delete the code some time later" - where should it stay in the meantime? In a commented block? That's what source control is for, to keep a backup copy of all changed/deleted code for easy retrieval, while keeping the current source code clean. |
|
May 24 |
awarded | Citizen Patrol |
|
May 23 |
comment |
Working on someone else's code "good comments never go out of style"...unless the code changes. While comments can sometimes be helpful, always take them with a bucket of salt - you'll have to verify that the code actually does what the comment says it does. Too often someone will change a line of code but leave in an existing - and now irrelevant - comment. |
|
May 21 |
comment |
Is inconsistent formatting a sign of a sloppy programmer? Thanks for the great link. |
|
May 17 |
comment |
Making an internship most effective, useful and fun for both parties +1 For part A - I'd give +5 if I could. That was definitely what made my internship rewarding and enjoyable. |
|
May 16 |
comment |
How can I apply OOP concepts to building a simple, but real-world, web app? +1 for composition vs inheritance |
|
May 8 |
awarded | Supporter |