13,449 reputation
43757
bio website
location Minneapolis, MN
age
visits member for 4 years, 5 months
seen yesterday

Mar
10
comment When are nonblocking read or receive operations useful?
Are you asking about MPI specifically or just blocking vs non-blocking I/O in general?
Mar
10
comment When do programmers use code first approach?
You might want to describe "code-first" as used by entity framework, as opposed to the other "code first" which many would consider "skip gathering any requirements and up-front design"
Mar
7
comment Implementing an anti-corruption layer with domain logic
using "corruption" to describe your layer is gives people a vastly different idea than what you think you mean.
Mar
5
comment What do design and implementation mean?
@Giorgio: some high level design is good, but the mistake is made when you think that is where it ends. Every line of code is a design decision. Having skilled programmers 'design' your software, then hand that off to unskilled programmers to 'implement' it, will be just as good a recipe for failure.
Mar
4
comment In ifs inside for loops, prefer checking for true, or for false and continue?
@Telastyn: the original problem statement isn't necessarily a requirement from any sort of specification. You are making many assumptions which aren't necessarily true.
Mar
4
comment In ifs inside for loops, prefer checking for true, or for false and continue?
@Telastyn: I didn't make such a general statement. How does "make things easy for yourself" equate to that?
Mar
4
comment In ifs inside for loops, prefer checking for true, or for false and continue?
And I've used continue roughly a gazillion times. Different kinds of software will use different things.
Mar
4
comment In ifs inside for loops, prefer checking for true, or for false and continue?
That's not necessarily true, as they could easily compile to the same thing with optimizations enabled. Many optimizing compilers can even replace the whole loop with sum = 40 and skip the whole thing.
Feb
28
comment Styleguide when coding in a static language
The signal to noise ratio of Java code is bad enough, no sense in making it worse.
Feb
27
comment 2 methods that are 75% the same?
Post them as examples please.
Feb
25
comment When NOT to apply Dependency Inversion?
@NWard: While that is handy, and often necessary for stuff like connections to databases, a lot of times, you can just use the real deal concrete class instead of mocking. If your project doesn't have any of those external elements, you don't need to mess around with all that abstraction.
Feb
25
comment When NOT to apply Dependency Inversion?
@Doval: People sure do try though, don't they?
Feb
24
comment Software development costs and influences
Your thinking that design and 'writing the code' as being very different is an early source of your misunderstanding. All code writing is design, building is for compilers.
Feb
22
comment How is a dictionary better than a big switch, when mapping data to action?
@greyfade: while that's sometimes helpful, most of the time, YAGNI.
Feb
15
comment How would you assess a programmer's Github profile?
"On the same note, developers that tweet about drinking and going to see movies all the time tend to make mediocre hires.", yeah you definitely don't want people with healthy work-life balance now do you.
Feb
12
comment Should the expected value be hard-coded into the Assert
@ErikPhilips: nothing is going to work for everything, but use what's appropriate for the task at hand. TestCase won't work in situations where you are testing the behavior of a particular class over time, such as state machines, for example.
Feb
12
comment Should the expected value be hard-coded into the Assert
I personally prefer to use the [TestCase] where the input and expected outputs are all passed as arguments to the test function, whenever possible.
Feb
12
comment How much physical memory is consumed by the stack of a .NET thread?
If I'm not mistaken, there is no difference between physical and virtual memory as far as userland apps are concerned, it is the windows kernel that is concerned about that.
Feb
11
comment Exception handling and 3rd party library
It's unclear to me whether your problem here is a hypothetical concern, or an actual impediment to your use case.
Feb
5
comment How to setup an agile startup without the customer?
@SAM: putting a lot of hours in without necessarily getting paid still counts as investment.