Reputation
3,488
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 16 30
Newest
 Curious
Impact
~106k people reached

Jul
5
comment Android & OutOfMemoryError: Possible causes besides memory leak?
I was responding to Does an OutOfMemory always need to have a leak as the root cause or is it possible/probable that one occurs for other reasons? Which other reasons would that be?
Jul
1
comment Android & OutOfMemoryError: Possible causes besides memory leak?
Consider the trivial case: Device has 256MB of memory and you try to load an image into memory which is 257MB - you'll get OOM with no leak.
Jun
17
comment Is the semantic contract of an interface (OOP) more informative than a function signature (FP)?
@BenAaronson the signal to noise ratio is better. If it's an OO instance method I have no idea what it's doing under the hood, it could have any kind of dependency that's not expressed. As Jack mentions, when you have stronger types, you have more assurances.
Jun
16
answered Is the semantic contract of an interface (OOP) more informative than a function signature (FP)?
Jun
13
comment Best way to handle blank dates
Pre-java 8 you can use Guava Optional
Jun
11
comment Boss is afraid to use a version control system for new project, should I anyway?
+1 for search your old e-mail and compile a list of problems you've had over the past year that you could have avoided with version control.
Jun
10
comment In git, how to do versioning for a dozen libraries all worked at in parallel
Look at semantic versioning
Jun
10
answered How can Guard Statements and Small Functions coexist?
May
27
comment Non-null alternative to Void (Java unit type)
@RobertCooper It certainly doesn't seem like it would take more than 20-30 minutes to write such a thing. It's well worth the time spent simply communicating intent to other developers
May
26
comment Non-null alternative to Void (Java unit type)
@Ordous I've updated my answer with my reasoning
May
26
revised Non-null alternative to Void (Java unit type)
added 194 characters in body
May
26
comment Non-null alternative to Void (Java unit type)
@Ordous I'm still answering the first question - if you have a map that you pass around, and the values are being used, there's no need to even ask the question because you just use map.contains. If you have a map and you never use the values, you shouldn't be using a map. If you have a map, never use the values, and can't replace it with a set, it's a code smell as I said and in that case I recommended the Unit singleton value. I think this pretty solidly answers all aspects of the question.
May
26
answered Non-null alternative to Void (Java unit type)
May
14
comment What factors should influence how I determine when to abandon a small project with a friend?
I think that with some work this question could be made general and more answerable. I like the question and I feel like it's valuable, but it's hard to find the core question that isn't opinion-based.
May
8
answered How can I unit test a class which requires a web service call?
May
7
reviewed Approve What to do with abandoned issues in GitHub?
Mar
20
awarded  Curious
Mar
17
comment What algorithm can be used to determine order given incomplete information?
Are you asking people to describe such an algorithm, write one, or are you trying to make a discussion? This doesn't seem like a real "question"
Mar
13
awarded  Good Question
Mar
10
revised Is Functional Programming a viable alternative to dependency injection patterns?
formatting