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

2d
comment How can you build an effective team in a hot desk workplace
I'm voting to close this question as off-topic because it's not really a question that programmers are expert answerers for. Try asking on workplace.se
Aug
27
comment Automatically reverting commits that fail the build
@KeithThompson I didn't word it clearly; it's still changing the commit history, it's just appending rather than rewriting existing commits
Aug
26
comment How do you troubleshoot an issue that you simply can't duplicate?
This could be made less broad and more answerable by adding more specific things. Is it a cloud app? Desktop? Mobile? Is it a crash? Unexpected behavior?
Aug
21
comment Automatically reverting commits that fail the build
I addressed the comments.
Aug
21
revised Automatically reverting commits that fail the build
added 273 characters in body
Aug
21
answered Automatically reverting commits that fail the build
Aug
13
comment I have multiple private repos in github, how can I place dependency from one to another?
Deploy jars to something like artifactory and add as build dependencies, or use submodules.
Aug
10
comment Does function pointer have the same expressive power as function as parameter?
How do you think function objects are passed around in higher level languages?
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.