Reputation
31,000
Next tag badge:
752/400 score
70/80 answers
Badges
6 72 126
Newest
 Yearling
Impact
~1.1m people reached

Aug
18
awarded  Nice Answer
Aug
18
revised single for-loop runtime explanation problem
added 11 characters in body
Aug
18
answered single for-loop runtime explanation problem
Aug
11
comment throwing runtime exception in Java application
@Vipin: It's my personal opinion, but one that many other people share, e.g. Bruce Eckel: mindview.net/Etc/Discussions/CheckedExceptions - and the fact that no other language has adopted checked exceptions in the 20 years since Java was introduced speaks for itself...
Jul
1
comment using this in a constructor, why does it work?
@Mark: It's safe to do inasmuch as there is no undefined behaviour; the worst you can encounter (if you make a mistake) is object states (mostly null references) that are not possible according to your class contract. It's not a good practice because in maintaining that code, it's easy to lose track of the fact that you're handling a partially initialized object and introduce weird bugs.
Jul
1
answered using this in a constructor, why does it work?
Jul
1
awarded  Nice Answer
Jun
1
answered Is there a common programming term for the problems of adding features to an already-featureful program?
Jun
1
comment Is this simple XOR encrypted communication absolutely secure?
I think it's worth stressing that "theoretically secure" means that it's mathematically proven to be unbreakable, provided that the keys are truly random and not reused. That's pretty much the strongest guarantee you can get anywhere in cryptography.
May
31
answered what's the point of method overloading?
May
24
comment What is software maintenance?
@Prog: that is different for every app, but for large applications adapting to a changing environment is usually the biggest factor (because it often requires big changes and large apps have a larger environment). Bugfixing is probably in the second place (first for smaller or self-contained apps).
May
24
awarded  Good Answer
May
24
answered What is software maintenance?
May
22
comment For web apps (vs web pages) why not put scripts and css inline?
I think people are misunderstanding the point that you imagine a webapp where the "main page" is completely static. In that case yes, you can get away with inlining everything.
May
19
awarded  Nice Answer
May
18
revised How do programmers with non-latin keyboards work?
added 14 characters in body
May
18
answered How do programmers with non-latin keyboards work?
May
18
answered Can I use a part of another program without having to give away my rights on my own code?
May
18
comment Japanese Multiplication simulation - is a program actually capable of improving calculation speed?
@Blrftl: the fact that hardware is just another implementation of an algorithm and the best multiplication algorithm we know is slower than O(n), let alone constant time. Using hardware you can trade space for time by parallel execution, but that doesn't matter unless you postulate self-replicating hardware.
May
18
comment Japanese Multiplication simulation - is a program actually capable of improving calculation speed?
This is not about machine vs. human. CPU instructions work with fixed length integers; they are irrelevant to this question, which is really about working with arbitrary length numbers. And there have been substantial advances in multiplication algorithms as late as 2007.