15,861 reputation
22962
bio website
location
age
visits member for 3 years, 11 months
seen 12 hours ago

Feb
25
comment Was there ever a serious push for partial classes in java
all java classes need to compile into a single .class file. combine this with having each public class needing their own .java file and the only gain you get is that you have multiple java file describing the same class
Feb
23
awarded  Enlightened
Feb
21
comment How can I determine the level of talent a prospective programmer has?
It's much much worse.
Feb
21
comment Programming conundrum - most efficient path
it's called path finding, your solution looks like a floodfill starting from the destination, best solution (given good hueristic) is A* otherwise look up dijkstra's algorithm
Feb
21
comment In MV* pattern where does non-business model goes?
there is nothing stopping you from using a MV* pattern inside the M or V module
Feb
20
awarded  Good Answer
Feb
20
comment Where to put comments, class declaration or constructor?
you put it at the class (option 1), this is the expected place for most documentation generators
Feb
20
comment Switch / select case etc. compared to If … ElseIf … Else
because switch has different semantics from if/else
Feb
19
comment “All software has an expiration date by which time it must be rewritten from scratch.”
@Euphoric premature optimisation... jk. Stability and eliminating the O(log n) space are the 2 main reasons
Feb
19
awarded  Nice Answer
Feb
19
answered What is the advantage of wrapping exceptions
Feb
19
comment “All software has an expiration date by which time it must be rewritten from scratch.”
all software is a bit too general, many a qsort work as well now since it was first implemented,
Feb
19
comment How to teach pointers to beginners in C?
if they know non-trivial data structures (trees, linked lists) then you have the perfect excuse to introduce pointers
Feb
19
comment How to teach pointers to beginners in C?
teaching C to beginners is very ambitious, I'd have preferred a language with less gotchas
Feb
17
comment What use is a non-zeroing weak reference?
sounds like optimization, you don't need to keep a reference to all weak pointers to zero and null them when needed instead just let them dangle and let the user use a different method of checking
Feb
17
answered What is a stream, and how does it work?
Feb
14
comment How to properly distinguish between MVC and three-tier?
MVC is a buzzword and many people don't understand what the buzzwords they use actually mean
Feb
13
comment Is it possible to perform mutual exclusion of threads without OS support?
@Euphoric many high level languages with threading support+shared memory have the atomic primitives along side the standard lock support
Feb
13
comment What is the benefit of having the assignment operator return a value?
@delnan if(value==true) is bad style, and comparing 2 booleans directly is rare enough
Feb
13
comment What is the benefit of having the assignment operator return a value?
using == in a conditional is a smell, and warnings will do for the other option