Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Newest
 Scholar
Impact
~117 people reached

  • 0 posts edited
  • 0 helpful flags
  • 51 votes cast
May
5
accepted How to properly apply a license
May
4
comment How to properly apply a license
Is the same true for for example the MIT license: The MIT License (MIT) Copyright (c) <year> <copyright holders>? Do you actually have to keep the <year> there aswell?
May
4
asked How to properly apply a license
May
7
comment Why would Square inheriting from Rectangle be problematic if we override the SetWidth and SetHeight methods?
@Stephen: I sort of agree with RoyT: A class should hide something. In the case of Rectangles and Squares, this should probably be their dimensions. It is then their behavior that changes for the different implementations/subtypes. This could be methods like Draw, IncreaseSize, ... This is also reflected in TellDontAsk: Don't ask for the length, do a computation and then mutate. Just tell it what you want to achieve!
Oct
3
awarded  Scholar
Oct
3
accepted A good name for ValueObject that contains database update/create column values
Oct
3
awarded  Student
Oct
3
comment A good name for ValueObject that contains database update/create column values
I was looking for something semantically meaningful but I'll go with CreateAndUpdateInfo, thanks :)
Oct
2
asked A good name for ValueObject that contains database update/create column values
Jan
9
comment Is premature optimization really the root of all evil?
Joe Duffy blogged about this in 2010: The Premature Optimization Is Evil Myth
Jan
2
awarded  Supporter