607 reputation
516
bio website blog.cubicallycontained.me
location London, Canada
age 32
visits member for 3 years, 5 months
seen Apr 16 at 13:15

A Java Developer who has worked at places ranging from a Fortune 100 company to a small start-up. Using Java for over 12 years, and Linux for over 10. Big KDE fan, OS X too. Also know Python, Perl, and Ruby. Of course C & C++ as well... boo hiss. Completed a Master's degree at The University of Western Ontario.


Apr
15
comment performance versus reusability
@leftaroundabout Well I meant at the source code level, but you are very right. There is no reason a sufficiently smart compiler couldn't replace your bubble sort with a quick sort!
Apr
15
revised performance versus reusability
added 126 characters in body
Apr
15
answered performance versus reusability
Apr
14
awarded  Yearling
Apr
13
comment How do you unit-test code using graphs?
@sdenham How are you going to enumerate something that literrally has a infinite number of possible valid combinations? I was hoping to find something along the lines of "these are the trickiest graph structures that will often catch bugs in your implementation". I understand the domain well enough as it is simple: For all vertices N in forest F, for all vertices M, in F, such that if there are any walks between N and M they all must either use only edges labelled 'conflict' or 'requires'. The domain is not the issue.
Apr
12
awarded  Nice Question
Apr
6
comment Scheme vs Common Lisp: Which characteristics made a difference in your project?
If you are repeating code across CONDs are you saying you just need another function?
Feb
9
awarded  Critic
Dec
18
comment Why can't the Scala compiler give pattern matching warning for nonsealed classes/traits?
If you want it to work with people being able to add to it externally, then call the class and move the logic into those classes.
Dec
18
comment Why can't the Scala compiler give pattern matching warning for nonsealed classes/traits?
@Doval Then you should use some form of delegation and let the class being called decide what to do and invert control. This is what OOP was meant for. If you don't want that then you have your current issue.
Dec
12
comment How do you unit-test code using graphs?
@Dunk We keep thinking that we have all the tricky ones covered and then we realise that a certain structure causes problems we hadn't considered before. Testing every tricky that we can think of is what we are doing, what I'm hoping to find is some guidelines/procedures to generating troublesome examples maybe using reducibility of fundamental forms etc.
Dec
12
awarded  Curious
Dec
11
revised How do you unit-test code using graphs?
or -> xor
Dec
11
revised How do you unit-test code using graphs?
added 180 characters in body
Dec
11
asked How do you unit-test code using graphs?
Dec
5
awarded  Excavator
Dec
5
revised Is there a name for the 'break n' construct?
add syntax highlighting to second example
Dec
5
suggested approved edit on Is there a name for the 'break n' construct?
Nov
5
awarded  Popular Question
Sep
15
comment Scheme vs Common Lisp: Which characteristics made a difference in your project?
@SK-logic what are you doing with macros that is so unhygenic?