3,393 reputation
723
bio website hierax.org
location Minneapolis, MN
age 35
visits member for 2 years, 11 months
seen yesterday

I love software development, and technology of all kinds. I have a boy and a girl and a beautiful wife, all of whom I adore. I practice Southern Chinese Kung Fu, and hope that my kids will too. I write code and play boardgames in my spare time.

I currently work as a JEE engineer in Edina, MN.


Nov
20
answered Moving business logic from services to classes?
Oct
28
awarded  Nice Answer
Oct
28
revised How bad is it to have two methods with the same name but different signatures in two classes?
just grammar
Oct
25
comment I need to create an employee schedule/appointments program, but I don't know how to set it up
Good point; I assumed 1 on 1 as well.
Oct
25
comment I need to create an employee schedule/appointments program, but I don't know how to set it up
I would keep two foreign keys on the appointments table: trainer_id, customer_id. An appointment is always exactly 1 trainer, and optionally 1 customer, so trainers have some set of appointment rows (created automatically each week/month based on settings?), and customers get linked to an appointment when they reserve one.
Oct
22
answered How bad is it to have two methods with the same name but different signatures in two classes?
Oct
18
answered When do you say “near ID” / “far ID” when using RTMFP in ActionScript 3?
Oct
17
revised Configurable tables in sql database
bug fixes
Oct
17
revised Configurable tables in sql database
if the admin needs the ability to define range start
Oct
17
answered Configurable tables in sql database
Oct
13
awarded  Nice Answer
Oct
7
answered Coding convention question about AS3 duplicate variable definition
Oct
4
comment Java convention for if/else if order
When the difference in efficiency is negligible as in this case, readability is most important. Simplifying conditionals by extracting and naming their components is a great way to improve readability.
Oct
2
comment Refactoring two classes from third-party library that could have extended a base class
What's your goal for the refactoring? I can see that you might want to avoid writing too many copies of the two blocks shown in your question, but unless there are lots more object types that you want to abstract away, it doesn't seem like a very pressing problem.
Sep
30
comment Design Issue: Service layer/ trying to maintain RESTful architecture
Indeed. My earlier comment simplifies the topic, but I think my point follows from the idempotancy of PUT.
Sep
30
comment Design Issue: Service layer/ trying to maintain RESTful architecture
I don't have experience with this situation, so just a note: when the client knows the resource's ID (i.e. Customers/id, Orders/id), inserts/update should use PUT rather than POST. stackoverflow.com/questions/630453/put-vs-post-in-rest
Sep
27
revised Should I combine similar functions even though they are slightly different?
example with more expressive parameter
Sep
27
comment Should I combine similar functions even though they are slightly different?
Using a boolean parameter is indeed not the best solution. I'll update the answer, although I think Carl's answer is more specific to the OP's question.
Sep
27
answered Should I combine similar functions even though they are slightly different?
Sep
24
revised How do web APIs work?
don't use apostrophes for pluralization