3,681 reputation
824
bio website hierax.org
location Minneapolis, MN
age 35
visits member for 3 years, 4 months
seen 2 days ago

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.


2d
comment Where would you put configurable data to minimize Change Management slow downs?
Inserting or updating rows in your configuration database would require DBA assisntance?
Dec
8
comment A separate endpoint specifically for sync in a REST api
If your update logic is well encapsulated, you should be able to use the same e.g. class behind multiple endpoints. In any case, the decision should really come down to whether adding an aggregate endpoint improves performance enough to warrant the downsides, some of which you listed.
Dec
8
comment A separate endpoint specifically for sync in a REST api
I'll add the obligatory "are you sure this is a necessary optimization?" As @Cormac points out, caching may do everything you need if you set headers properly in your requests and responses.
Dec
8
comment A separate endpoint specifically for sync in a REST api
Good points, however adding an aggregate endpoint doesn't preclude individual resource endpoints as needed.
Dec
3
comment Extend, wrap, or both to add generics to a class that should have had them?
@JimmyHoffa: probably because of the "nightmarish type checking throughout the code".
Nov
6
comment How to deal with no code reviews in my new place when I come from that practice?
Read chapter 20 of Code Complete for a thorough treatment of code reviews, and the studies and statistics that support their use. Here are a couple of good summaries: Jeff Atwood's blog and another guy
Nov
6
comment Why do we use non-descriptive internal codenames?
This question appears to be off-topic because it is unrelated to software development.
Oct
15
comment Is there a limitation when using the Bloch's Builder Pattern with mandatory fields?
One possible drawback to re-using the builder in this way is that if an optional attribute isn't specified while building a later object, it will inherit the value(s) specified while building earlier objects.
Oct
10
comment IoC as service locator
Yes, it sounds like you need to split this class up into several, better-focused classes.
Sep
18
comment How to translate SQL query into REST API requests?
At the beginning of the question you say that user queries would be in SQL or a similar query language, but your example is "names of active projects of Chuck Norris". Is this a real example of what you'd have to parse?
Sep
11
comment How best to handle database refactoring within a team?
The database migration scripts that the OP currently uses may be in source control, so how does Liquibase solve the problem?
Aug
14
comment Question about mocking externals
@ex3v - I've updated the answer.
Aug
11
comment Is splitting up a function into several inner functions an anti-pattern?
If you think Clean Code is "the bible for devs", you should read Code Complete.
Jul
29
comment Avoiding Double POST
Why are you worried about this?
Jul
28
comment Is there a name for this anti-pattern? (Variable has context-dependent meaning)
You might find weight for your arguments in Chapters 10 (General Issues in Using Variables) and 11 (The Power of Variable Names) of Code Complete.
Jul
23
comment Improve coding quality
Reading Code Complete is a great start.
Jul
21
comment Web Service REST clarification
@Residuum - multiple PUT requests to the same URL should not insert a new entity every time. If the entity already exists, it will simply replace its current state with that given. The effect of N PUT requests to the same entity URL is the existence of the entity with the given state.
Jul
9
comment Program Design clearness vs convenience
One option would be to add a source property to DomainObject and set it to the filename when loading from a file. This provides the info your colleague wants without breaking encapsulation or leaking the abstraction too much.
Jul
1
comment Should I be using a composite key for this table?
See dba.stackexchange.com/q/8334/13333
Jun
25
comment When to stop reviewing code?
Code quality and defect detection are both products of code reviews. I recommend you read chapter 20 "The Software Quality Landscape" of Code Complete. It opened my eyes.