Reputation
775
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
4 13
Impact
~27k people reached

  • 0 posts edited
  • 1 helpful flag
  • 147 votes cast
Sep
24
awarded  Autobiographer
Jul
25
comment Why is polling accepted in web programming?
I disagree that every solution ends up being low-level polling. You're confusing polling required to send data with polling required to know when a client is lost. Yes, the latter will always end up polling somewhere down the protocol stack, but that can be at a very low frequency (such as once every five minutes) whereas polling for actual data every second is a waste that CAN be avoided with true push notifications that is NOT polling at any level of the stack.
Jan
30
comment Why are the Java 8 java.time classes missing a getMillis() method?
I think that giving people several choices makes it more likely that they pick one of those choices, even if their ideal choice is under "other". I could be wrong, though.
Dec
30
awarded  Nice Answer
Sep
2
awarded  Yearling
Aug
23
comment Is the Java package name convention flawed?
@gbjbaanb: Because it provides very good uniqueness, but not universal uniqueness, which is a big advantage. You still want to prevent possible conflicts, but aiming for universal uniqueness provides diminishing returns. It's better to aim slightly lower and reap additional advantages.
Aug
8
comment How do I manage the technical debate over WCF vs. Web API?
"3. WCF models are not POCO" that is simply incorrect. You do not have to use any attributes since .NET 3.5 SP1.
May
10
comment Are there any statistics on how often code is read?
@Sarien: And why not make it Tobii-enabled? Not only would you have line-by-line statistics, but even character by character statistics!
May
10
comment How does Go improve productivity with “implicit” interfaces, and how does that compare with C#'s notion of Extension Methods?
Isn't 'implicit interfaces' just a form of duck typing?
Feb
14
comment Should the variable be named Id or ID?
You're right about using Id in C# (and .NET in general), but for a different reason. The rule is capitalizing all letters of a 2-letter acronym (e.g. IPAddress) and only capitalizing the first letter of longer acronyms (like the example of XmlDocument you gave). But Id and Ok are the exceptions to this rule, specifically mentioned. For the full brief, see the Capitalization Rules for Acronyms section of the Capitalization Conventions article. But even Microsoft breaks that rule (e.g. DbConnection vs. DBNull)
Oct
18
comment How to prevent code from leaking outside work?
I'm baffled by "clever" asymmetric encryption algorithms used on the web, and I am unable to bypass them despite being just a developer tool written by "us" developers. Care to enlighten me?
Oct
4
comment Downgrading from GPL v3 to GPL v2
Wow, I didn't realize copyleft licenses inhibit freedoms even amongst themselves, to the point of creating a bureaucratic hell over simple versioning.
Sep
21
comment Is the Java package name convention flawed?
@user359996: Like I said, I don't see why universal uniqueness is a problem that needs solving. Why would you need names to be unique across mutually exclusive code bases? And Java's style doesn't guarantee it, since domain names ownership can switch hands. A developer who owns jUtils.com can develop a com.jutils.* library that many use, and then sell his domain to a completely different developer who develops a different com.jutils.* library which is also popular, but has collisions with the existing library.
Sep
20
comment Is the Java package name convention flawed?
@user359996: Uniqueness is only required within your own codebase (i.e. classes you need to refer to by name, either your own or 3rd party), not universally. Striving for that is simply wasteful and overly verbose. Given that, I think these guidelines provide the required uniqueness, and also reasonable constancy. Why exactly do you think they don't?
Sep
2
awarded  Yearling
Aug
23
comment How to explain that sample size does not influence project length
Maybe switching the analogy to train tracks would work better? It takes the same amount of effort to lay down train tracks regardless of how many trains travel over it or how much cargo they're carrying.
Jul
12
comment Why does F# have an interactive mode but not C#?
Interesting. I would add that the experience gained building so many compilers for the .NET framework prior to the release of VS2010 (I count four C#, four VB.NET, two J# and two C++/CLI) must have affected how a brand new compiler for a brand new .NET language was built. I'm sure it was built in a Roslyn-esque style with lots of thought around how to enable the Compiler-as-a-Service scenario, which seems like the direction you'll be developing all future .NET compilers and compiler revisions. To me it seems the era in which F# was born inevitably played a role in how its compiler was written.
Jul
12
comment Why does F# have an interactive mode but not C#?
C# does have a REPL. It's called the Immediate Window and has been available for quite a while. It has certain limitations, some of which have become increasingly noticeable since C# 3.0, as new language features were not supported by it, but it nevertheless is a full-fledged REPL.
Jun
8
awarded  Caucus
Mar
22
comment Sample code under MS-PL: must leave original comments?
But if you only distribute the compiled binaries, which don't contain comments anyway, then why would you need to leave the copyright notices at the top of the file?