Reputation
Next tag badge:
197/100 score
18/20 answers
Badges
10 154 239
Newest
 Nice Answer
Impact
~1.7m people reached

May
29
awarded  Nice Answer
May
28
awarded  Enlightened
May
28
comment What is the etymology of the “dot” operator for string concatenation?
@Doval: Again, this is a weak typing problem, not an operator problem. It does not exist in languages that don't conflate chars with numbers.
May
28
awarded  Nice Answer
May
28
comment What is the etymology of the “dot” operator for string concatenation?
+ is an ideal choice for concatenation, because no one expects joining two strings together to be an arithmetical operation in the first place. Saying "+ is bad because it doesn't have the properties of arithmetical addition" is only a valid claim if + in this context not having the properties of arithmetical addition would violate POLS and confuse users, but since no one expects it to, it is not a bad thing. It's far more intuitively correct, producing a string that is the result of adding the contents of one string to another, than . is, which intuitively... does what?
May
28
answered Why is the Java bytecode instruction set not orthogonal?
May
26
comment Non-null alternative to Void (Java unit type)
@Ordous: Hence this is not a question of "I want a set, what should I use? I've got a Map.", but rather "I've got this Map, I'd like to reuse the code as a Set, but without copy-pasting". And the answer is still valid: "don't do that." This looks like a classic case of "when all you have is a hammer..."
May
26
comment At what point do you drop attribution to original work?
This is a philosophical question that people have been struggling with for thousands of years.
May
25
awarded  Guru
May
25
awarded  Enlightened
May
21
comment Why is the Java bytecode instruction set not orthogonal?
Wasn't Java actually originally designed for embedded systems? (In the early-to-mid 90s, well before the advent of the Arduino and similar, those definitely qualify as memory-constrained!)
May
12
comment Why dynamically typed languages do not let the developer specify the type?
Metaprogramming is "not easy to describe in a static manner"? When I work with Boo, I find that to be the exact opposite of the truth: The AST is defined in a statically-typed, object-oriented hierarchy, and so writing visitors and code generators becomes that much easier because each AST node carries around well-defined information about its identity and semantic content just from being a member of whatever class it is.
May
10
comment How do web servers enforce the same-origin policy?
@Benny: That's highly unlikely. The Referer line is generated by the user's web browser, and the user is the victim here, not the attacker. He has no reason to forge the Referer, and the attacker doesn't have the opportunity to do so.
May
7
awarded  Guru
May
6
comment What are the chances of Google's Go becoming a mainstream language?
@hippietrail: It came in at #12 in the recent Code2014 poll. (By comparison, Objective-C--and the entire iOS platform by association--came in at #16.) Everything above it is a major language that pretty much every developer knows about even if they don't actually use it. So it would seem that it's gotten pretty big pretty quickly. Granted, it's a pretty informal poll, but it gives a decent "finger on the pulse" snapshot of current developer attitudes.
May
5
comment How to operate a computer without an operating system?
@JörgWMittag: That may have been true in 1981, when that article was written, but today it's a very different deal. Heck, in 1984 it was a very different deal! A better definition would be, "the Operating System is the standard library for the platform itself." Also, any paper that cites Lisp, APL and Smalltalk as "examples of success" when all three have been anything but loses a lot of credibility right there.
May
4
awarded  Good Answer
May
4
comment Is the regex syntax in .net 3.5 the same as the regex syntax in the latest version of .net framework in c#?
That's actually referencing an old joke about how if you try to solve a problem with regular expressions, now you have two problems.
May
4
comment Is the regex syntax in .net 3.5 the same as the regex syntax in the latest version of .net framework in c#?
If it's changed, then do you now have three problems?
May
4
comment Why does C provide language 'bindings' where C++ falls short?
@DocBrown: Then feel free to write an answer that answers that. But in the meantime, count the upvotes. I'm clearly not the only person around here who thinks that I answered what's being asked.