7,975 reputation
1920
bio website
location Mid-Atlantic NorthAm
age 52
visits member for 3 years, 6 months
seen yesterday

Software by day, hardware by night, beer on the weekends.


1d
reviewed Approve suggested edit on In Java, would you sacrifice type safety for a nicer programming interface
Mar
27
awarded  Custodian
Mar
27
reviewed Approve suggested edit on packages tag wiki excerpt
Mar
27
reviewed Approve suggested edit on packages tag wiki
Mar
24
answered How to design my code so that it can use alternative information to help create an object
Mar
24
comment Is it bad software design to mix JDBC SQL calls and use an ORM in an application?
Not sure what you're asking. Having your SQL statements in your Java code will save you the trouble of reading them from a file, but if you use dependency injection you can declare them in a configuration file and have them injected into your objects at creation time. That way you can store the strings externally, but still avoid having to explicitly open and read a file at run-time.
Mar
24
answered Is it bad software design to mix JDBC SQL calls and use an ORM in an application?
Mar
24
comment How do you take notes at a meeting?
Here's a link: mead.com/meadstore/mwv/product/…
Mar
21
comment Is better Show() + Hide() or SetVisible(bool visible)?
SetVisible() doesn't suggest (to me) that you are actually displaying anything. It reads more like you're setting the visibility property of an object, possibly leaving it up to a corresponding Refresh() or Redisplay() method to check the value of this property to determine if the object should be displayed or hidden.
Mar
12
answered When to pay for C++ compilers
Mar
12
answered Design for creating a menu based on user type
Mar
12
answered About protection for important actions on the server
Feb
28
comment Why is my page load time so closely correlated with number of database queries?
Even with a local database, you're still probably connecting over a TCP socket. So every query you make has to be sent over the (virtual) wire, and the results sent back. It still gets serialized into and out of network buffers, so you still have that overhead. Smaller data volumes will only affect the query execution time, not the transmission time.
Feb
7
comment Is it ever justifiable to write code without tests when doing TDD?
I never write tests for simple getters and setters, because if they're not working there's not much I can do about it anyway!
Jan
10
answered Is there any specific reason to use “else if” clause?
Dec
20
answered eCommerce use case: removing a product
Dec
6
comment Keep indentation level low
With good names, adding local functions can actually improve readability. At least, I find it easier to understand isReadyToGo(thing) than (thing.hasA() && thing.canB() && !thing.isC() && ...).
Dec
6
comment Is UML a good way to shortly and simply explain a concept?
I even go so far as to bring my own whiteboard markers with me, just so there isn't any awkwardness with running around trying to find one because the ones in the room are dried out. And I tend to draw a lot of diagrams: UML (mostly sequence and activity diagrams), database relationships, network graphs, etc.
Dec
5
comment Emulation of MMU accessing the contents of the registers
If the CPU's responsible for managing the registers, wouldn't it make sense to ask the CPU for the register contents?
Nov
25
comment Initializing a variable as undefined
Not that I'm aware of. Whenever I've seen this, it was always done because it was required by a coding standard.