3,393 reputation
723
bio website hierax.org
location Minneapolis, MN
age 35
visits member for 2 years, 11 months
seen 15 hours 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.


Sep
6
comment Performance related doubt in Java with Hibernate
If you find performance problems because Hibernate is running too many queries or retrieving data sub-optimally, you can customize almost all of how it fetches data instead of dropping it altogether.
Aug
29
comment Changing a variable through a series of statements … What is this technique called?
The point in adding variables every step of the way would be to improve readability for future maintainers. In many cases this is a good enough reason.
Aug
15
comment How to handle assumptions while designing any system?
@AmyBlankenship designing tends to get harder the more general the solution becomes, but even a slightly-general solution to a very complex problem can be much more difficult to design than a more restrictive solution.
Aug
13
comment “Everything is a Map”, am I doing this right?
Related: stackoverflow.com/q/174968/421245, stackoverflow.com/q/7842020/421245
Aug
13
comment Tracking changes to posts
This is often called row versioning: stackoverflow.com/questions/323065/…
Jul
31
comment What's a good way to manage long piece of code in files?
Before refactoring, write tests that cover the functionality, then use them to verify the refactoring didn't cause regression. See amazon.com/Refactoring-Improving-Design-Existing-Code/dp/…
Jul
30
comment Decoupling Components - Design
I'm not sure how well this advice applies to Python.
Jul
30
comment Are missed deadlines common in programming jobs?
If your bullet points are direct quotes from the book, formatting them as block-quotes would be better. If not, it might be more clear to replace "According to" with "To paraphrase", and I can help with some grammar mistakes in the bullet point text.
Jul
11
comment How do you get into the habit of using a repository (e.g. GitHub)?
A lot of people recommend git which is great, but at github private repos cost money. As an alternative, BitBucket allows unlimited private repos, and supports both git and mercurial.
Jul
9
comment External id for every relational table
Exactly right. My comment was meant simply to provide some arguments from the other side, not to suggest a hard and fast rule.
Jul
9
comment External id for every relational table
I prefer surrogate primary keys. Related: dba.stackexchange.com/questions/6108/…
Jun
21
comment Two contradicting definitions of Interface Segregation Principle – which one is correct?
These definitions do not contradict one another.
Jun
18
comment Javadoc for a static “overloaded” method
My question refers to creating an abstract class that implements your interface which would become a parent of your various implementations. The abstract class could define the load method and house the javadoc for it. As @Ampt suggested however, you could also extract the load logic to a static class which your implementations would delegate to, and your interface would then contain a link to the static class's load method documentation. This would avoid inheritance.
Jun
18
comment Javadoc for a static “overloaded” method
I'm guessing you don't want to introduce an abstract class that implements the behavior?
Jun
17
comment What document should describe usage of a third party library in a project?
let me know if my edit lost anything important from your question.
Jun
5
comment How does the concept of a class change when passing data to the constructor instead of method parameters?
I wouldn't assume any more than that, instead deferring to documentation.
Jun
3
comment What should I look for in a school when trying to obtain a Software Engineering degree?
Gaining "perfect command in a particular programming language and a database programming language" can only come at the expense of other languages/APIs, and it's only going to reduce the pool of available jobs for which he/she is qualified.
May
21
comment Branching library behavior based on 3rd party library existence
It would also be a good idea to log whether the internal or external mechanism has been chosen.
May
21
comment Branching library behavior based on 3rd party library existence
Agreed. Whether the implementation of the API call uses an internal mechanism or calls out to the 3rd party lib, the API call should honor its contract.
May
14
comment Does 'consider returning Null Object' apply to a DAO read method?
As you described, there's already a good general answer to this question, and you don't address the DAO retrieve scenario.