5,901 reputation
11537
bio website blog.svick.org
location Czech Republic
age 27
visits member for 4 years, 9 months
seen 1 hour ago

May
30
revised Why it is not possible to overload compound assignment operator in C#?
edited title
May
24
comment Would implementing a “Throwable Event System” be abusive?
It does halt execution of the current piece of code, when you resume, you're at some different point in the program.
May
24
answered Would implementing a “Throwable Event System” be abusive?
May
21
comment Interactive help in a statically-typed language with overloading
Have you used an IDE like Visual Studio? They can show you the documentation of overloaded functions.
May
16
revised How can I avoid an SDK requirement for an end-user unless he uses a specific function?
rm tag from title
May
16
comment Does a Completely Full-Featured Intermediate Language Exist?
Also, you didn't answer the most important question: Why? What would be the point of such language existing, if the only thing it could do well would be to get back the code you already had?
May
16
comment Does a Completely Full-Featured Intermediate Language Exist?
Okay, maybe you could create a common intermediate language for few of them most popular languages. But where do you stop? At Haskell? At all of its extensions? At APL? At INTRECAL? At Malbolge? And would you keep updating your common intermediate language forever, as new languages are developed (and old ones updated)?
May
15
revised How to improve understanding of the code written by someone?
rm thanks
May
13
revised Design method to return List of objects
fixed syntax
May
11
revised Client wants source code, but it contains a lot of shared code I reuse with other projects
don't use code formatting for non-code; typo
May
11
revised How do you find out what resources are unmanaged?
don't use code formatting for non-code
May
11
comment How do you find out what resources are unmanaged?
While true in general, there are also classes that implement IDisposable (because their base class does) but don't really need disposing. Examples include MemoryStream or WebClient. Though disposing them just to be sure is not wrong.
May
8
revised Reading Element Names vs Reading Element Attributes: Speed
rm tag from title
May
7
comment Why is .compareTo() in an interface while .equals() is in a class in Java?
@CaptainMan In .Net, object has Equals(object), just like in Java, but there's also the IEquatable<T> interface. Though the primary reason for it to exist is to avoid boxing when T is a value type, which is not possible in Java.
May
7
answered Which approach for coding a 'texture atlas'?
May
7
comment Which approach for coding a 'texture atlas'?
From your question, I assumed you wanted to use the string to store the texture atlas itself, the tool I linked to uses it just to describe it. And it's still not quite clear to me what string you're talking about.
May
7
comment Which approach for coding a 'texture atlas'?
I would consider using an existing tool, like this one.
May
7
comment Which approach for coding a 'texture atlas'?
Please, don't ever use string for data that is not composed of characters.
May
4
revised Casting to pointer warning
edited tags
May
3
comment When is it a good idea to force garbage collection?
@HonzaBrabec The problem is the same in both cases: If you think you know better than the GC or the compiler, then it's very easy to hurt yourself. If you actually know more, then you're optimizing only when you know it's not premature.