Reputation
370
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 7
Newest
 Civic Duty
Impact
~4k people reached

1h
comment What is the difference between function() and function(void)?
@KeithThompson: Thanks. :-)
8h
comment What is the difference between function() and function(void)?
@KeithThompson: This question, and this answer, are talking about predeclarations, not function definitions.
10h
awarded  Civic Duty
2d
comment Is testable code better code?
@anaximander: To clarify: by "test" you mean "unit tests", right? Because the purpose of testing overall is quality, and making sure our code actually does what we promised it would.
Jun
20
comment Packaging structure of Java collections (java.util) - why does Iterable sit in java.lang?
My point was not that it's convenient, but that the language proper now depends on it. (Note that, aside from the dependency of Iterable on Iterator , the java.lang package does not generally depend on classes in java.util.)
Jun
20
comment Packaging structure of Java collections (java.util) - why does Iterable sit in java.lang?
+1. I think, though, that Iterator should ideally also be in java.lang, since Iterable is. Of course, it has to be in java.util for backward-compatibility reasons (it had been introduced in the JDK long before the "foreach" construct gave it a role in the language proper).
Jun
12
comment Is my mentor's concern for code quality excessive?
@DocBrown: I agree, but I suspect that the OP may be misusing the term "codebase". It's hard to imagine that the dev is actually reviewing the entire codebase as part of the code review. I'm guessing that by "the whole codebase I'm working on", the OP means something like "the whole region of code I'm working on".
Jun
12
comment What is the difference between function() and function(void)?
Re: "This is usually used to implement a function which can take a variable number of arguments": Are you sure about this? I don't think I've ever seen a program that used explicit parameter-lists for forward-declarations of non-variadic functions and () for those of variadic ones. Do you have an example of a program that uses this convention?
May
29
comment Is the use of one-letter variables encouraged?
@Nelson: This question, and this answer, are about Java. Obviously different languages can have somewhat different considerations. (JavaScript is not the same language as Java.)
Apr
27
awarded  Nice Answer
Apr
26
answered How did “Webservices” become such a buzz word?
Apr
25
answered If Scala runs on the JVM, how can Scala do things that Java seemingly cannot?
Mar
8
comment Can I use GPL libraries temporarily for prototyping and make the future code closed source?
Re: "I don't think your question is actually about the GPL": I disagree. A software license certainly could forbid this sort of use. An answer that ignored the "GPL" part of the question, and just took it as a general question about an open-source license with restrictive terms and viral behavior, would have to resort to "we don't know, you'll have to read the terms of the license".
Feb
27
comment When NOT to apply Dependency Inversion?
@Doval: (In other words, you're taking "to the max" to mean carrying SOLID principles past the point of good design, but that is clearly not what the answer means by that phrase.)
Feb
27
comment When NOT to apply Dependency Inversion?
@Doval: I agree, -ish -- I'm who upvoted your comment -- but I think that to some extent you're missing the point. For example, re: "Something can't be 'too substitutable'": no one is claiming that something can be too substitutable, only that strictly enforcing substitutability can sometimes result in wasted effort. This answer is not saying that SOLID-to-the-max is bad design; on the contrary, it says that SOLID-to-the-max is maximally good design, but that, paradoxically maximally good design is not always the right target.
Feb
26
awarded  Excavator
Feb
26
revised Any reason behind hyphens in a GUID?
update link. (the previously-linked-to question has been merged into this one.)
Feb
26
suggested approved edit on Any reason behind hyphens in a GUID?
Feb
22
comment How to respond to a rude bug report?
+1, though the last sentence ("tell people what they need to hear") is a bit debatable. "You're a jerk" may be both what this person needs to hear and what the OP wants to say; but that doesn't make it constructive or a good idea for this interaction.
Feb
21
awarded  Autobiographer