347 reputation
18
bio website
location
age
visits member for 3 years, 5 months
seen yesterday

Mar
23
answered Is better Show() + Hide() or SetVisible(bool visible)?
Jun
16
comment Forcing people to read and understand code instead of using comments, function summaries and debuggers?
"By the time you are done cleaning up," you've introduced several new, unknown bugs.
Dec
7
awarded  Critic
Dec
6
comment What is the historical basis of using Javascript in web programming?
OK, so JS has closures (which I believe implies first-class functions and lexical scoping) and dynamic typing, like Scheme. Since C# has closures, dynamic typing, and a limited form of S-expressions, does that mean C# is even more Scheme-like than JS?
Dec
6
comment What is the historical basis of using Javascript in web programming?
So closures and dynamic typing makes a language Scheme-like? Does that mean C# is Scheme-like? What about Ruby, Python, and Perl? And why Scheme rather than Lisp or any other similar language?
Dec
6
comment What is the historical basis of using Javascript in web programming?
You mention Scheme twice without ever saying how JS relates to Scheme. Certainly you don't think JS has macros, S-expressions, tail recursion, continuations, or any of the other distinguishing features of Scheme -- do you?
Jun
7
comment How can Java be improved so that it no longer needs to perform type erasure?
Jan: I was just commenting on the fact that reifying generics doesn't automatically mean all old code is broken. I would also add that a List<int> would probably make certainly workloads much more efficient than the current List<Integer>.
Jun
7
comment How can Java be improved so that it no longer needs to perform type erasure?
Type erasure is done by the compiler, not the JVM. Introducing reified generics would require a new compiler and new JVM, but presumably they would still work with old code.
Dec
24
comment Is there any license restriction to avoid binary translation of CIL to custom bytecode?
@Hans: I don't understand the relevance of your Wikipedia link. OP wants to translate CIL, not redistribute SSCLI.
Dec
23
comment Is there any license restriction to avoid binary translation of CIL to custom bytecode?
What does "All CLI opcodes won't be translated." mean?
Oct
30
awarded  Yearling
Sep
10
comment What are the pros and cons for the employer of code questions during an interview?
I think "Reverse a string" is an excellent starting question in a coding interview. If they don't know where to begin (and an amazing number of people don't), you probably don't want to hire them. If they use the built-in method, that's good -- it tells you that they won't try to build their own wheel if one is provided -- but then present a hypothetical situation where the built-in method has a bug so they need to write their own. You can then use their code as a starting point for asking other questions like how to fix any bugs, memory usage, running time, etc.
Jun
6
comment Which of these 3 languages is easiest to convert to Delphi?
This may not assist you, but C# was designed by the same person who designed Delphi (Anders Hejlsberg).
May
7
awarded  Nice Answer
May
7
revised What is the historical basis of using Javascript in web programming?
added 385 characters in body
May
7
answered What is the historical basis of using Javascript in web programming?
Apr
15
comment What's the difference between Scala and Red Hat's Ceylon language?
@oxbow: The "declarative" style is certainly what he's talking about because he has an irrational fear of XML. I'm pretty sure that it's really first-class functions that are needed, though, because when MS got in trouble back in 1998 it was due to adding delegates to J++ in order to make GUI codegen easier.
Apr
14
comment What's the difference between Scala and Red Hat's Ceylon language?
@Dan: It's not if they're monadic, but at least they are typesafe.
Apr
14
comment What's the difference between Scala and Red Hat's Ceylon language?
In order to have good declarative GUI tools, you need first-class functions and a nice hierarchical syntax for declaring objects. Gavin mentions both of these as features in his introduction to Ceylon.
Apr
14
comment What's the difference between Scala and Red Hat's Ceylon language?
Ceylon's nullable types are also Option types, but use the nifty T? as an abbreviation for Optional<T>.