13,318 reputation
43756
bio website
location Minneapolis, MN
age
visits member for 4 years, 5 months
seen 7 hours ago

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.
Jan
31
comment YAGNI principle put to practice
"Also with external resource file you will be able to change text without rebuilding/redeploying an app." - You ain't gonna need that either. Your answer to me seems oblivious of actual YAGNI.
Jan
30
comment Why are FLOSS licences applied to files instead of diffs/deltas?
@sleske: This question is not asking for specific legal assistance, it is asking about a basis of software licensing. "Software licensing" is specifically on topic.
Jan
28
comment are multithreading, multiprocessing, multitasking implemented at instruction set or OS?
A compelling argument could be made that an application implementing threads shouldn't be compared to OS implemented threads as they are more of an ad-hoc time-slicing system.
Jan
27
comment Have you ever purposely memorized code, and was it useful?
Pulling out of your head is faster than looking online until you get older and suddenly you discover what you pull out of your head isn't quite exactly correct every time.
Jan
27
comment Allow user to enter DSL, rules or code?
then use eval, exec, and similar python functions.
Jan
26
comment Allow user to enter DSL, rules or code?
You are fast approaching trying to make the programming equivalent of a perpetual motion machine. The mental facilities one needs to define your 'pipelines' and debug them are exactly the same as the skills one needs to be a straight up programmer, so you might as well just let them program your library in python itself, rather than building a half-baked inner platform.
Jan
26
comment Releasing libraries used in a commercial application as GPL
Have you even bothered to read the GNU FAQ? There is no prohibition on using GPL software in a commercial application.
Jan
18
comment Minimizing database requests for moves of a chess game?
I think 40 reads over the typical time of a game (many minutes), I think is pretty insignificant compared to the challenge of storing and accessing that large a volume of data sensibly.