I've designed a library for connecting Objective-C (and now Swift) apps to Microsoft SQL Server 2005+. (I believe there are other databases it works with, but I've only tested with MSSQL.)
The project is available on Github here, and while users are fully capable of downloading the uncompiled p...
I guess @Vogel612 VTC'd because it wanted a completely different implementation of the same thing, instead of specifically asking for a review. But I would not say that the question is off-topic because of that. The user is here, sure he wants a better way to do it, but a simple review of his code + a suggestion (without code) to simply parse it first and then multiply by 1000 and round down would accomplish that well
OK, I am satisfied that this question should be closed, and am happy with it deleted too. The reason is different to what I expected, but there's not much point in using it as a test case for the review&help debate.
@Vogel612 That's not the first time that happens, and yet we still manage to keep such questions open anyway. Even if they "break" question 6 (Do I want reviews about anything?) answers can still review the code.
@Vogel612 That might be true
Why on earth did he have a number, formatted it as a string, and then converted it back to a double?
Yes. It is fine to ask reviewers to preferably avoid commenting on something.
Of course the reviewers can comment about it anyway, and then it will be up to the community - and the original poster - to determine if the review is helpful or not.
If you're not interested in comments about naming,...
> Now, if I say I have a performance concern and I don't want to hear about anything other than performance... then I'm not asking for a code review, I'm asking for a performance tune-up.
IMO that's more fitting of what that java question is. was.
I just read them through both again, and I don't think I will change my mind (here I go disagreeing with you, agian ;-) .... but the reason is similar to what I have with this help vs. review.
I am using mutex in my ruby code across many files. to deal with that I created a singleton class with one mutex object that I use all the time:
class LockBlock
include Singleton
def initialize
@lock = Mutex.new
end
def lock
@lock
end
end
I have two questions:
Is this the...
The "don't ask" page of the Help Center contains one sentence that I've always felt captures the essential ingredients for a truly great question on the network:
You should only ask practical, answerable questions based on actual
problems that you face.
I find myself quoting this line a l...
> Although this is compressing a twelve-hundred-and-some-odd-word long post into a single sentence, I think the message is rather clear: The difference between a question and a discussion or poll is that a real question is seeking to discover some particular truth. The other type of "question" is merely seeking to learn what other people think.
I don't like that we're putting so much weight on the way users are phrasing the plain-English parts of their questions. All other reasons aside, it puts non-native-English-speakers at a significant disadvantage.