16,322 reputation
1053109
bio website
location
age
visits member for 3 years, 5 months
seen 10 hours ago

soɟʇʍɐɹǝ dɹoɟǝssıouɐl
profile for gnat on Stack Exchange, a network of free, community-driven Q&A sites
software professional


  • This job feels good, pays well and
    lets me learn something new every day

12h
comment How do i compare PHP Efficiency between two algorithm?
why didn't you ask at Stack Overflow? meta.stackexchange.com/a/129632/165773
19h
comment When I should add another non-static class?
agree with @DocBrown - recent edits made question rather too broad. As for the rule-of-thumb aspect you asked originally, I strongly recommend to take another look at the question that was suggested as duplicate, because asker there put a substantial effort into explaining that such a rule of thumb should be to assume that you will need objects (btw correct term is instances), which in turn led to much narrower question, when one can expect that instances won't be needed
20h
comment Improve WinRT Apps Performance
Unclear what help you need. Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it’s hard to tell what problem you are trying to solve or what aspect of your approach needs to be corrected or explained. See the How to Ask page for help clarifying this question.
21h
comment How does a panoramic app work?
off-site resource recommendations are explicitly off-topic per help center (it's the same here as at Stack Overflow). See meta.programmers.stackexchange.com/questions/6483/…
21h
comment UHD glare or non glare?
This question appears to be an outright off-topic because it is about choosing a laptop
1d
comment Is the rule of 5 a valid extension of the rule of 3, or does it imply premature optimization?
meta.stackexchange.com/questions/194476/…
1d
comment NuGet Package Restore vs Keeping Everything in a VCS
...see also: How do you keep released binaries under version control?
1d
comment PHP Form to Email
Unclear what help you need. Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it’s hard to tell what problem you are trying to solve or what aspect of your approach needs to be corrected or explained. See the How to Ask page for help clarifying this question.
1d
comment When I should add another non-static class?
this approach is wrong (incomplete, to be precise). One of the known motivations to use non-static classes is testability (eg, ability to override instance methods in mock objects), it may be desired even when class does not have "variable that its value varies among" instances
1d
comment When I should add another non-static class?
have you read the question and answers? It's not about what are static classes, it's about when to use these. Conversely, you use dynamic classes when using static ones is not valid
1d
comment What are the valid uses of static classes?
see also: Significant amount of the time, I can't think of a reason to have an object instead of a static class. Do objects have more benefits than I think?
1d
comment Making subclass more type-specific with accessors
see also: Template pattern with varying input type in overridden method
1d
comment When I should add another non-static class?
possible duplicate of What are the valid uses of static classes?
1d
comment Multiplayer in Android
recommended reading: Where to start
2d
comment Overriding methods by passing as argument the subclass object where the supertype is expected
possible duplicate of Template pattern with varying input type in overridden method
2d
comment How JIT is faster than that of interpreter in JVM?
recommended reading: Open letter to students with homework problems "...If your question on Programmers.SE is just a copy paste of homework problem, expect it to be downvoted, closed, and deleted - potentially in quite short order."
2d
comment Overriding methods by passing as argument the subclass object where the supertype is expected
asked and answered in prior question: "This is generally regarded as failing the Liskov Substitution Principle (LSP), because the added constraint makes that the base-class operations are not always appropriate for the derived class..."
2d
comment Is checking return values always required?
@delnan of course. Thing is, this doesn't necessarily qualify as being "sure about the return value"
2d
comment Java Doc - Do fields also get documented?
"The Javadoc tool can generate output originating from four different types of "source" files: Source code files for Java classes (.java) - these contain class, interface, field, constructor and method comments..." (SO tag wiki -> How to Write Doc Comments for the Javadoc Tool)
2d
comment Is checking return values always required?
...in this code snippet, a*a can overflow