2,055 reputation
814
bio website garyshawnbuyn.me
location Auckland, New Zealand
age 31
visits member for 3 years, 6 months
seen Aug 12 at 23:53

Nov
22
awarded  Nice Answer
Jun
7
awarded  Yearling
Jan
7
awarded  Good Answer
Nov
28
awarded  Enlightened
Nov
28
awarded  Nice Answer
Aug
23
awarded  Nice Answer
Jun
7
awarded  Yearling
Feb
21
awarded  Enlightened
Feb
21
awarded  Nice Answer
Aug
12
answered If condition not true: default value or else clause?
Jun
20
comment What's the term for re-implementing an old API in terms of a newer API
+1 To the comment and the answer. So this is where Anna gets all her extra rep from ;)
Jun
19
comment Is it correct to fix bugs without adding new features when releasing software for system testing?
This is not a bad article about an approach to branching: nvie.com/posts/a-successful-git-branching-model, you might be interested specifically in the section on hotfix branches which exist for just this reason.
Jun
14
comment Exit interview - what is and isn't OK
+1 I don't think any topic should be taboo. Be honest but be constructive.
Jun
7
awarded  Yearling
May
9
comment Best overview to modern C++ paradigms?
Effective C++ by Scott Meyers
May
9
comment introducing pointers to a large software project
I would probably deprecate the index management methods, add comments to them advising of the alternatives and educate the team on how to use getFooPointers() and any other new methods or objects you provide like maybe an iterator. Initially this could be done in an email to the team and then during code reviews it could be enforced.
May
8
answered introducing pointers to a large software project
Apr
22
comment When to stop inheritance?
I think we are looking at the same thing from two different perspectives. If the two sides were red and blue would their behaviour be different to when they are black and white? I would say no, which is the reason I am saying the colour is not the cause of any behavioural differences. It's only a subtle distinction but that is why I would use a direction or maybe a player property instead of a color one in the game logic.
Apr
18
comment When to stop inheritance?
@Blrfl You might be right that the direction property is a boolean. I don't see what's wrong with that. What confused me about the question up until Freshblood's comment above is why he would want to change movement logic based on color. I would say that is more difficult to understand because it makes no sense for color to effect behaviour. If all you want to do is distinguish which player owns which piece you could put them in two separate collections and avoid the need for a property or inheritance. The pieces themselves could be blissfully unaware of which player they belong to.
Apr
18
comment When to stop inheritance?
@Freshblood I think it would be better to have a direction property and use that to move than to use the color property. Color should ideally only be used for rendering, not for logic.