3,619 reputation
21832
bio website
location
age
visits member for 4 years, 3 months
seen yesterday

Mar
24
comment Do dynamic typed languages deserve all the criticism?
@PaulNathan: You're thinking too hard. The question was asking about dynamically typed languages, and this answer mentions Java as though it's dynamically typed.
Mar
24
comment Do dynamic typed languages deserve all the criticism?
@PaulNathan: Did you read the question?
Mar
24
comment Do dynamic typed languages deserve all the criticism?
I like your answer but Java isn't dynamically typed...
Mar
24
comment Method extraction vs underlying assumptions
+1 One thing that's important to note is that there is a cost to splitting up a big method into smaller chunks: it's typically not useful unless the preconditions and postconditions are more relaxed than they would have been originally, and you can end up having to pay the cost by re-doing checks that you would have otherwise already done. It's not a completely "free" refactoring process.
Mar
24
comment Method extraction vs underlying assumptions
Relevant: Is it always a best practice to write a function for anything that needs to repeat twice?
Mar
21
comment When is it a good idea to force garbage collection?
+1 for that paragraph as well. I find it shocking that people think a computer program written by someone else must necessarily understand the performance characteristics of their program better than themselves.
Mar
20
awarded  Curious
Mar
16
comment What is the reason of using an interface versus a generically constrained type
Interface methods are indirect calls, whereas type methods can be direct calls. So the latter can be faster than the former, and in the case of ref value type parameters, might actually modify the value type.
Feb
23
comment What about LISP, if anything, makes it easier to implement macro systems?
Macros need to execute though, at that point you're already writing an interpreter for the language.
Feb
17
awarded  Notable Question
Feb
17
awarded  Nice Answer
Feb
16
revised Why is base-for-all-objects discouraged in C++
added 16 characters in body
Feb
15
answered Why is base-for-all-objects discouraged in C++
Feb
15
answered Do algorithms depend on computer architectures?
Feb
3
comment Is a 1 < 10 comparison less expensive than 1 < 1000000?
It could be less expensive if it were in the critical path, but it's almost surely not.
Jan
20
revised Is address 0000000C a special address?
"65 kB" was unnecessary
Jan
15
awarded  Good Answer
Jan
14
revised Is it always a best practice to write a function for anything that needs to repeat twice?
added 13 characters in body
Jan
14
revised Is it always a best practice to write a function for anything that needs to repeat twice?
added 295 characters in body
Jan
14
awarded  Nice Answer