Bobby

Vienna, Austria

bonsaimind.org

Age: 27

I'm a guy from Austria who just enjoys coding and finding solutions to problems. At the moment I'm primary coding in VB.NET/C# and PHP at the moment, but in my spare time I try to keep my skills up with Java, PHP, Clojure and some other languages..

You know, coding is a little bit like jumping from a rooftop while you think you can fly...it seems like a good idea at that time.

Oct
18
comment How do I decrease compile time and execution time of following program?
Note that the shorthand operators += -+ *= /= behave slightly different than the long variants. They perform casting: "A compound assignment expression of the form E1 op= E2 is equivalent to E1 = (T)((E1) op (E2)), where T is the type of E1, except that E1 is evaluated only once." Something one need to be aware of, in my opinion.
Oct
14
awarded Revival
Oct
13
awarded Nice Answer
Oct
1
awarded Explainer
Sep
30
awarded Explainer
Sep
30
awarded Explainer
Sep
30
awarded Explainer
Sep
28
awarded Yearling
Sep
28
awarded Yearling
Sep
28
awarded Yearling
Sep
28
awarded Yearling
Sep
28
awarded Yearling
Sep
26
awarded Good Answer
Sep
26
awarded Self-Learner
Sep
14
comment Should we have comment editing histories?
@PopeyGilbert: Answers in comments is wrong. Answers need to be answers, comments are second class citizen which might be wiped without a warning or second thought. Also if a question is answered with a simple comment, there's a good chance that question should be closed and downvoted.
Sep
14
comment Converting the first and last name to pig latin
I disagree to a certain extend with the temporary variables. Sometimes it is just better for readability to have four, well named temporary variables, instead of four chained method calls. In this case, yes, the variable can be scraped (especially as the function is only one line and well named).
Sep
9
awarded Good Answer
Sep
9
revised Increase download speed of code
Added explanation about the final thingy.
Sep
9
comment Increase download speed of code
@user16547: Yes and no. In Effective Java it is suggested to make everything final which is not explicitly designed to be extended some day. I use a relaxed version of that rule, every "one-shot" class should be final, that includes static helpers, and private/protected classes that are not supposed to be reused except exactly here and right now.
Sep
6
comment Implementation of Command Pattern
Yes, but what problem were you trying to solve? Did you just write code according to the description of the command pattern (in which case I fear a review will be hardly possible), or did you have a scenario in which you wanted to use said pattern?
1 2 3 4 5