Reputation
18,999
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
2 37 75
Newest
 Good Answer
Impact
~667k people reached

Oct
5
answered non-optional pointers vs. non-const references in C++
Oct
5
comment non-optional pointers vs. non-const references in C++
"using a pointer for it causes the whole function body to be skipped" er, what?
Oct
2
revised How important it is to fix memory leaks?
added 4 characters in body
Oct
1
comment What's the alternative to DRY code when it requires too many parameters?
no option to group related parameters?
Sep
23
comment How to illustrate to students why they should use the standard library?
Also be sure to point them to correctness and how fiddly it is, new[] requires delete[] and has overhead and malloc (heaven forbid) requires placement-new and explicit destruction of every element.
Sep
20
revised Relation of CPU Hz's and network speed in clusters
added 54 characters in body
Sep
18
answered Premature memoization on obvious cases
Sep
17
awarded  Nice Answer
Sep
17
revised register variable in C and C++
added 2 characters in body
Sep
9
comment End to end testing of write-only apis
I recall an anecdote where doing something like that poisoned the sales data (sale didn't go through but still got recorded as a copy was sold) and made a book appear more popular than it actually was then it got a sequel so the automated test ended up failing (relying on the fact that a specific search would only return a single item).
Sep
9
revised Why do we have to wait for I/O?
added 159 characters in body
Sep
8
awarded  Nice Answer
Sep
8
answered Is it good to define a variable inside a loop?
Sep
8
revised Why do we have to wait for I/O?
edited body
Sep
8
revised Why do we have to wait for I/O?
added 82 characters in body
Sep
8
answered Why do we have to wait for I/O?
Sep
8
awarded  Custodian
Sep
6
revised When is the register keyword actually useful in C?
edited tags
Sep
6
awarded  Convention
Sep
4
comment How do I prevent attackers from duplicating submissions?
aka how to prevent a replay attack