246 reputation
24
bio website
location Vancouver BC
age
visits member for 2 years, 10 months
seen Jan 21 at 22:41

Feb
26
awarded  Caucus
Feb
26
awarded  Constituent
Feb
19
comment How can I deal with a team member who dislikes making comments in code?
@G3D I will disagree here, commenting on "where it will be used" is one of the wrong thing to do. One should never comment the intended usage - it does not guarantee it will not change and when it changes - people will 95% forget to update/remove the comment (hey, why would I need to touch this class if I just used it or its property in some other way =)) which will lead to issues later.
Feb
18
comment How can I deal with a team member who dislikes making comments in code?
@mehaase I don't find it to be helpful to hold anyone accountable for the issues that could have been avoided in the first place. I do agree that there are complex algorithms etc that need explanation, but those are very rear. If method size is 5-3 lines of code and it's "SRP-complaint" - I can hardly find a reason to add a comment to it, since its name will state what is the only thing this method is meant for.
Feb
18
comment How can I deal with a team member who dislikes making comments in code?
@jmk I was not saying "never" use comments, I suggested to get rid of all those, which one can. If comment can be removed via renaming/refactoring - that's the right way to go - those comments must not remain.
Feb
17
awarded  Announcer
Feb
6
answered How can I deal with a team member who dislikes making comments in code?
Aug
25
awarded  Yearling
Apr
12
answered Testing loses its effectiveness if all programmers don't use them
Jan
19
answered Parent and child permission schemes
Jan
19
comment Meaningful concise method naming guidelines
"Clean Code" was the greatest book that helped me understand the impact of code readability and listed the best practices I follow on regular basis
Jan
18
answered How do I choose what code to review?
Jan
18
answered What is the best way to access multiple child properties?
Jan
18
comment Should I pass an object into a constructor, or instantiate in class?
I would not recommend doing so.. in this way you tightly couple class ExampleA and Config - which is not a good thing.
Jan
18
answered Should I pass an object into a constructor, or instantiate in class?
Dec
29
awarded  Teacher
Dec
28
comment Does it make sense to use Kanban if all steps are done by the same person?
I would also suggest to add "writes unit tests" step along with the development. It is also a good idea to clarify what your done-done state includes (is it done when qa is done? or will it require documentation after all? will it require to be integrated as a part of done?) having clear picture for each state will help you to gain more from Kanban.
Dec
28
answered What's a RESTful url for a linked item?
Dec
28
awarded  Supporter
Dec
28
answered How to Write Unit Tests When One Fix Will Make Many Failing Tests Pass?