13,738 reputation
22555
bio website
location
age
visits member for 3 years, 7 months
seen 4 hours ago

Mar
27
comment How to I write tests for code that's driving Robot and other external features?
you mock the external features
Mar
27
answered When getting a list of files to process, should I store them to a list of string, or a list of Stream?
Mar
26
comment How to Ignore Bracketing Style in Code Comparison / Diff
some diff tools let you ignore whitespace entirely
Mar
26
comment How can I handle this string concatenation in C in a reusable way
@amon sizeof(char) is always 1, no matter how many bits there are in it
Mar
26
comment Why is it bad to write something in language X as if you're writing a program in language Y in terms of using a shared coding paradigm
there is idiomatic perl?
Mar
26
revised Why is it bad to write something in language X as if you're writing a program in language Y in terms of using a shared coding paradigm
added 773 characters in body
Mar
26
comment Best practice to return a long string in a stub
why not just use the test file? so much simpler and much less annoying to deal with
Mar
26
answered Why is it bad to write something in language X as if you're writing a program in language Y in terms of using a shared coding paradigm
Mar
26
answered what is a basic block called if it contains a branch instruction?
Mar
26
comment How to data model more than one 'last name'?
in Dutch a "van de Iets" type name is quite common. just let the last name field contain spaces
Mar
26
comment Automated GUI tests take too long because of doing same steps before the “main test action” can proceed
are these tests automated?
Mar
25
reviewed Leave Open Is open-sourcing previously-commercial engines a smart move?
Mar
24
comment What's a DRY alternative to c++ header files?
compiler extension that allows symbolic includes...
Mar
24
comment Why are header files bad design?
it violates DRY in the worst way
Mar
24
answered Is open-sourcing previously-commercial engines a smart move?
Mar
24
comment Is open-sourcing previously-commercial engines a smart move?
currently you need to make an account at their website and pay $19/month plus 5% revenue before you can access the source code, that isn't free in any sense of the word
Mar
21
comment Can one determine the creation date of an email account?
some domains don't have a concept of accounts, mailinator.com has boxes where you can dump email, there just aren't any accounts per se
Mar
20
comment Why were default and static methods added to interfaces in Java 8 when we already had abstract classes?
and it allows a linked list to use a O(1) extra space and O(n log n) time mergesort, because linked lists can be merged in place, in java 7 it dumps to an external array and then sort that
Mar
20
answered Given two sorted array in ascending order with same length N, calculate the Kth min a[i]+b[j]. Time complexity O(N)
Mar
19
comment Does this in the Observer pattern count as composition?
typically observer and observable are unrelated except that the observer want to get notified, each observer may have multiple objects it is observing and vice versa