Reputation
6,294
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 16 37
Newest
 Yearling
Impact
~217k people reached

17h
comment “Fuzzy” parsing in different languages
How would that help with parsing e.g. Im␣␣A␣Debutant␣␣␣␣␣␣␣␣␣␣␣␣␣7 (one space too many in the name, one space too little between columns)?
17h
comment “Fuzzy” parsing in different languages
I don't see how are programming languages relevant here. Barring some relatively uncommon approaches (like parser combinators), parsing is going to be mostly the same in every language.
Feb
5
revised Open / Closed Principle
link formatting
Feb
3
answered Is the var token necessary to signal variable declaration?
Jan
31
comment How to avoid having nested generic in class
I don't understand, you can't cast List<PolicyVote> to List<Vote<Policy>>, do you mean you create a copy of the list? And C# does support variance: List<PolicyVote> can be cast to IEnumerable<Vote<Policy>> or IReadOnlyList<Vote<Policy>>.
Jan
31
revised How to avoid having nested generic in class
fixed syntax error
Jan
31
revised How to avoid having nested generic in class
formatting
Jan
31
revised Authentication via PowerShell or C# to a ADFS based Web Proxy
code formatting
Jan
29
comment Can “return this” pattern be optimized to no cost performance?
@Jules Sure, I was objecting to the assertion in the question that return this is always worse. I'm just claiming that in some circumstances, it can be better, not that it's always better.
Jan
28
comment Can “return this” pattern be optimized to no cost performance?
@greenoldman It can, I tried to explain this: with return this, the caller doesn't have to remember the object, thus saving one variable/register, which can increase performance.
Jan
28
answered Can “return this” pattern be optimized to no cost performance?
Jan
28
comment Is it bad to write object oriented C?
Is there any reason why you don't want to switch to C++? You don't have to use the parts of it that you don't like.
Jan
21
comment Handling Multiple Collections in C#
@kylepdavis This article has an explanation about how collection initializers work and how can you make them work with your own classes, should you wish to do that.
Jan
21
revised Handling Multiple Collections in C#
added 12 characters in body
Jan
21
comment Handling Multiple Collections in C#
@ZdeněkJelínek Logically, an institution is not a collection of terms, so I don't think what you're proposing should be done, even if the result would be more succinct code.
Jan
21
answered Handling Multiple Collections in C#
Jan
21
comment Handling Multiple Collections in C#
I think you should try out some more real use cases. "Show the name of the first assignment of the first course of the first term of the first institution" is not something you need often.
Jan
17
comment Create/destroy multiple threads for animations/light effects
Sure, but if you're running multiple threads at the same time, you have to be careful about synchronizing access to any shared data properly.
Jan
16
answered Create/destroy multiple threads for animations/light effects
Jan
5
revised How to determine if a type of class implements an interface
added 14 characters in body