Reputation
4,736
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
2 21 38
Newest
 Nice Answer
Impact
~166k people reached

1d
comment Including both “careful” and “dangerous” versions of a function in a library/module
@Toadfish This approach is a little more than that, there's no exceptions or error returns, you just can't compile the code calling it the wrong way because an Option[Int] is not an Int.
1d
answered Including both “careful” and “dangerous” versions of a function in a library/module
Feb
4
comment Find minimum number of steps to a goal without estimator for how close intermediate steps are to the goal
Sounds like there would be a large number of DAG-shortest-path algorithms that would suit.
Feb
3
comment Is turning a method into a class to use it across many classes bad practice?
See also: Execution in the Kingdom of Nouns
Jan
29
awarded  Nice Answer
Jan
28
awarded  Enlightened
Jan
28
awarded  Guru
Jan
28
comment What's the point of running unit tests on a CI server?
@RobbieDee I think it depends more on your architecture. I've seen it work for hand for an engineering team of ~80, but that's with well-defined sub-teams for product areas.
Jan
27
comment What's the point of running unit tests on a CI server?
@RobbieDee Obviously the specifics of configuration will vary from team to team. Even when the builds take multiple minutes, it's often possible to run multiple of those builds in parallel. Given a single monolithic codebase it could be a larger drawback, but IME it's not a barrier.
Jan
27
revised What's the point of running unit tests on a CI server?
added 292 characters in body
Jan
27
comment What's the point of running unit tests on a CI server?
@RobbieDee: in theory all unit tests are fast. In practice.... Regardless, CI can and should run all the tests - linters, static analysis, unit tests, integration tests.
Jan
27
answered What's the point of running unit tests on a CI server?
Jan
26
comment How do I figure out the minimum number of swaps to sort a list in-place?
What problem are you trying to solve?
Jan
22
comment Best practice for parameters in asynchronous APIs in Java
Rather than expecting the user to compose the two futures why not have a single blind modifyData method with parameters of String id, Function[Data => Data]
Jan
14
comment What was the reason behind using quotes in Go's import statements?
I'd guess that it's because you can include urls in them
Jan
13
revised How unit test service method that use repository method
added 515 characters in body
Jan
12
answered How unit test service method that use repository method
Dec
29
reviewed Edit What are “class methods” and “instance methods”, in Python?
Dec
29
revised What are “class methods” and “instance methods”, in Python?
There isn't any type of method that gets passed the class *name*.
Dec
11
comment If you decide that branching is a bad thing, then why use Git over SVN?
@altendky I disagree that the process in inherently painful. I've worked on teams with multiple people committing to the same codebase, and with a small amount of discipline, it's not hard to avoid merge conflicts - and at minimum it's very possible to keep the responsibility of resolving conflicts to just the person who creates them.