2,878 reputation
11121
bio website
location
age
visits member for 3 years, 6 months
seen Jul 24 at 9:53

Apr
19
comment Real life examples of P, NP, NP hard ,NP Complete problems
@YannisRizos, I downvoted it, because that's what the UI pushes as the correct response to a question without research effort. Is there some meta discussion I missed?
Apr
18
comment Real life examples of P, NP, NP hard ,NP Complete problems
I can't understand why 5 people (so far) think this question shows research effort. There's no indication that you've even looked at the Wikipedia pages for the complexity classes listed.
Apr
11
comment How were some language communities (eg, Ruby and Python) able to prevent fragmentation while others (eg, Lisp or ML) were not?
It's ironic in the case of ML, which (or so I was taught at uni) was called "Standard ML" to avoid an organisation like ANSI forming a committee to standardise it, that you should describe it as like a "design by committee" language.
Mar
29
comment When should JavaScript generate HTML?
But what does that have to do with '"JQuery AJAX Cloud!" magic'? Your example there looks more like its antithesis.
Mar
29
comment When should JavaScript generate HTML?
Why is injecting content into a div bad?
Mar
28
comment Why do “Joke” programming languages exist?
@sepp2k, because whether we're used to functional or imperative programming, we all expect it to be easy to execute a conditional statement once. BF is unusual in that its only conditional is a loop guard.
Mar
26
comment What arguments can I use to “sell” the BDD concept to a team reluctant to adopt it?
Binary decision diagrams? Buy a copy of Knuth's TAoCP vol 4 and lend it to them.
Mar
12
comment Is it a bad practice to use GUI designer tools with code generation for application programming in Java/C++?
@JanHudec, it may not be a problem for you but it is a problem for me. I sometimes need to identify when a change was made and what the corresponding commit message was: the diff soup which the WinForms designer creates makes that far harder than it should be.
Mar
9
comment Is it a bad practice to use GUI designer tools with code generation for application programming in Java/C++?
+1. I don't know what parts of VS @JanHudec has used, but in my experience its WinForms designer generates code which has to go into version control (there's no other file which contains the information) but which changes so much when you breathe on it that it's a mammoth task to make sense of the diffs.
Mar
7
comment Is it reasonable to expect a new graduate to be able to roll his own blogging software?
A new graduate in what?
Feb
29
comment Who extends interfaces? And why?
Your comments about needing to implement all methods of an interface in the class which declares that it implements it are wrong. An abstract class can declare itself as implementing an interface but leave the actual method implementation to its concrete subclasses.
Jan
23
comment Java GNU Licensing
@ThomasOwens, openjdk.java.net/legal is probably what he has in mind
Jan
17
comment When and how to use the advanced features of git?
I presume it should be understood as ref-log rather than re-flog?
Dec
30
comment Why the Select is before the From in a SQL Query?
@maple_shaft, ?! Subject goes before verb in most sentences in the three modern Romance languages I'm familiar with. (And in Latin word order was a lot more arbitrary, but I seem to recall a bias towards putting the verb near the end).
Dec
19
comment Is there a subset of programs that avoid the halting problem
There are an infinite number of subsets of programs which avoid the halting problem.
Dec
19
comment Protecting the uninitiated (developer) from generics
I hadn't previously because I don't have a C# compiler at home, but I can now tell you that the error message for 1 is Use of unassigned local variable instance. Point taken on 2.
Dec
18
comment Protecting the uninitiated (developer) from generics
@sq33G, fair enough, I misunderstood slightly. In that case the answers are "It's non-standard enough that if I saw it in a code review I'd assume you didn't know generics properly"; and "Very likely".
Dec
18
comment Protecting the uninitiated (developer) from generics
There are at least two compile-time errors in the example code; instance hasn't been assigned a value when you pass it to Generate(5, instance); and (TResult?)null isn't a TResult.
Dec
15
comment Do TODO comments make sense?
@DanNeely, annotate is actually a synonym of blame in SVN. In CVS it was annotate but I think an SVN developer with a sense of humour decided to rename it to express its true function.
Dec
12
comment Is there an expiration date for well regarded, but old books on programming?
In fairness there is at least a case to make that TAoCP's use of an assembler for its pseudocode means that more modern algorithms books which use pseudocode closer to more modern languages are more useful for the 90%+ of us who aren't writing for embedded systems.