131 reputation
5
bio website tayek.com
location Lakewood, CA
age 67
visits member for 3 years, 6 months
seen Sep 5 at 2:34

old programmer


Oct
3
comment Naming convention for array, plural or singular?
i usually go with the plural unless the name itself has something like group or collection in it.
Sep
16
comment Design patterns for multi-threaded messaging server
take a look at amazon.com/… and volume two. also see google.com/…
Jul
25
comment How do I review my own code?
try writing some unit tests for your code. that should give you some feedback.
Jul
23
comment Have Superclass Contain List of Subclass?
yes, a set would be better since it's a class. i used list because he said list.
Jul
22
answered Have Superclass Contain List of Subclass?
Jul
19
awarded  Commentator
Jul
19
comment OOP way to design a manager of groups of users
does a user have to belong to a group?
Jul
18
comment OOP way to design a manager of groups of users
composite sounds reasonable here. can a user belong to more than one group?
Jul
14
comment When should we stop work and make tool?
maybe refactor towards a tool and keep working
Jun
1
answered Object design where hard-coded values are used to instantiate objects?
Apr
14
comment Where does this concept of “favor composition over inheritance” come from?
It's pretty old, i seem to recall it in a c++ book in the mid nineties. Related question: stackoverflow.com/questions/49002/…
Apr
13
comment Best practice for packing Java enums?
If they are related, you can nest them in one class. public class Pse164884 { public enum Cat { siamese, manx} public enum Dog { bullgog, poodle } }
Apr
8
revised Software Design and architecture from Scratch
typo
Apr
8
answered Software Design and architecture from Scratch
Apr
3
comment Map of functions vs switch statement
Perhaps the strategy pattern would be appropriate.
Mar
28
awarded  Supporter
Mar
24
answered Is the 'C' in MVC really necessary?
Mar
19
revised Is Ant still in the “mainstream” for Java builds?
respond to criticism
Mar
19
answered Is Ant still in the “mainstream” for Java builds?
Mar
15
comment What should I look for when job-hunting to find a strong OOD focus?
@Rig yes, i agree.