4,366 reputation
11023
bio website weblogs.asp.net/avnerk
location Israel
age
visits member for 2 years, 8 months
seen 21 hours ago

Tech-turtle, fond of C# and .NET but likes to venture out to forage elsewhere as well.


Mar
18
comment Is there any way to create an implicitly typed global variable in C#?
I believe your first assumption is simply false. Compiler errors don't necessarily follow Gricean maxims, and explicitly stating that X is invalid doesn't mean that ~X isn't.
Feb
23
comment Technique to synchronize error codes in a same-project-API
Yes, this is what I was going for: the C# process returns error 33, which means resource not found. It doesn't care about readable strings or display - just the logical meaning of the error code. It's the client application ("client" here meaning "app that displays or writes human-readable data") to translate it to something readable.
Feb
23
comment Technique to synchronize error codes in a same-project-API
I might be missing something, but I understood that the C# process returns the errors, and thus is, by necessity, returning a set number of possible errors, because this process is where the business logic happens.
Feb
23
answered Technique to synchronize error codes in a same-project-API
Feb
22
answered Adding Logging to a pre-existing Program
Jan
29
answered How does one keep argument counts low and still keep third party dependencies separate?
Jan
20
comment Should I use one class that calls Several static methods or several classes each calling one static method
In general, avoid reflection if you can. It adds complexity that can be avoided. Factories are complicated enough without it.
Jan
20
revised Should I use one class that calls Several static methods or several classes each calling one static method
added 6 characters in body
Jan
19
revised Should I use one class that calls Several static methods or several classes each calling one static method
deleted 9 characters in body
Jan
19
answered Should I use one class that calls Several static methods or several classes each calling one static method
Jan
14
awarded  Nice Answer
Jan
14
revised Is there some sort of systematic strategy for designing and implementing GUIs?
added 1 character in body
Jan
13
revised Is there some sort of systematic strategy for designing and implementing GUIs?
Added code examples.
Jan
13
answered Is there some sort of systematic strategy for designing and implementing GUIs?
Jan
11
comment When should a private method take the public route to access private data?
"103 functions" is a bit of a red herring. Overloaded methods should be counted once, in terms if interface complexity.
Oct
27
answered Model object and additional attributes
Oct
23
comment Do I need to use an interface when only one class will ever implement it?
@user23621 see my answer to Alb above.
Sep
30
awarded  Explainer
Sep
24
awarded  Autobiographer
Jul
25
awarded  Yearling