Reputation
1,172
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 8
Newest
 Yearling
Impact
~27k people reached

  • 0 posts edited
  • 18 helpful flags
  • 116 votes cast
Mar
2
comment Scrum - What are team members busy with during a sprint
I assume that Devs can do testing without further training. Where I live that's part of the education and job.
Mar
1
answered Scrum - What are team members busy with during a sprint
Jan
7
comment Which design pattern is it if any for providing a general logger interface?
This has nothing in common with the singleton pattern apart from being source code.
Dec
10
comment Alternatives to Singletons for caching lists of data?
Ok. Again, why do you think you need a Singleton for that? Why can't you do it with a normal class?
Dec
10
comment Alternatives to Singletons for caching lists of data?
Can you explain the reason why you think that you need static variables and a singleton pattern at all? What would fail if you just wrote a normal abstract base class?
Nov
13
comment Why do Android programmers use Hungarian notation?
The real purpose of hungarian notation is to differentiate between two identical types with different meanings. For examples integers for both screen coordinates and client coordinates. And you need to tell them apart, despite both being integer types. No IDE or coloring will ever be able to do this. Now, if you look at what people without an understanding made of it, then you are right, that "hungarian notation" is indeed irrelevant.
Oct
24
answered If it's a static object is using ref as method argument better?
Oct
19
comment Will the Database connection be closed if we yield the datareader row and not read all the records?
@BenAaronson I agree that for example in File, ReadLines and ReadAllLines can be easily told apart and that's a good thing. (Although it's more because of the fact that a method overload cannot differ by return type only). Maybe ReadRecords and ReadAllRecords would fit here as naming scheme as well.
Oct
19
comment Will the Database connection be closed if we yield the datareader row and not read all the records?
Returning an IEnumerable<T> is the indication that enumerating it twice will result in two calls. You will even get helpful warnings in your tools if you enumerate an enumerable multiple times. The point about throwing exceptions is equally valid regardless of return type. If that method would return a List<T> it would throw the same exceptions.
Oct
19
answered Will the Database connection be closed if we yield the datareader row and not read all the records?
Sep
15
comment Architecture for C# Chat Application - not sure if WCF is right
To me, it seems you are having implementation problems. If you get errors (losing state) and you don't know why, that's a good sign that you don't understand the technology. Maybe you should make sure you know enough about WCF before you drop it.
Aug
20
comment Converting static utility class into singleton
Moving something into a singleton, because you cannot unit test it properly right now is... melting my mind.
Jun
26
comment Throwing an exception from a Dispose() method?
@albex Thanks, I added it.
Jun
26
revised Throwing an exception from a Dispose() method?
incorporated comment
Jun
26
answered Throwing an exception from a Dispose() method?
Jun
20
comment Naming convention for getting the primitive backing a type?
What language? In C or C# or C++, all of them would be horrible...
Jun
20
answered At which point using string-based enums can become a real problem?
Jun
20
answered Beginners C# question about Array.Reverse
Jun
18
answered How to handle short notice (but high priority) maintenance tasks in SCRUM
Jun
2
answered If possible, would it be a bad practice to use Nullable for non value types?