12,498 reputation
22451
bio website
location
age
visits member for 3 years, 4 months
seen 3 hours ago

May
28
comment Aren't there compilers better at telling the programmer what's wrong in a code?
just being able to concept a duck type can be very powerful think of D's template constraints where you can specify which methods should be able to be called
May
28
comment Is it a good idea to read compiler source code?
most C++ compilers are very complicated (because parsing C++ is very complicated) and don't have the best code quality, you are better off looking for other compiler/interpreter resources
May
27
comment Does software in a professional environment need to be licensed?
contact the legal department of your company, it's them that will have to deal with the fallout of this type of screw-up
May
26
comment Why don't computers come with specialized hardware such as sorting networks?
the bigger problem is that most sort functions are called with a arbitrary compare function, this cannot easily be optimized
May
26
answered How to record/store edits?
May
25
comment Difference between sending a message and emitting it
sending has a destination emitting is detected by something else
May
24
comment In languages that don't allow underscores in integer constants, is it a good practice to create a constant for 1 billion?
you might also add a L suffix so it become a long and you don't get bitten by integer overflow
May
24
comment What should the relation between parent and child GUI components be?
most gui framework I've worked with used #2
May
24
answered Binary Search Programming implementation
May
23
awarded  Critic
May
23
comment Why are nested loops considered bad practice?
you might wish to reselect your graph: that is a exponential curve not a quadratic one, also recursion doesn't make stuff O(n log n) from O(n^2)
May
21
comment Where is interface between button click and event raising defined
there are the mouseover, mouseout, mousedown and mouseup events with which you can emulate them
May
20
awarded  Yearling
May
18
comment What Does “The Program Must Process Each Character Before Reading the Next One” Mean?
foreach(c in input)state=calcSomething(state, c);
May
17
comment How can I mirror an SVN trunk repository into a regular network folder?
cron job running "svn update"
May
16
comment Is it a good practice to write a method that gets something and checks the value?
the check after the call is like verifying a post condition, you should be able to assume it is correct as long as the preconditions were all true
May
15
comment Approaches to isolating tests that require a database?
look up mocking and dependency injection
May
14
comment Are there any industry standards that define code quality?
wtf/min
May
14
answered How would you approach this Domino problem?
May
8
comment Time consuming Unit test for support for 100,000 records: Am I doing it right?
that kind of test is not for unit test but integration test