4,807 reputation
941
bio website
location
age
visits member for 2 years, 5 months
seen 13 hours ago

1d
answered Should I worry about performance, even if there is no loss of convenience?
1d
comment Should I worry about performance, even if there is no loss of convenience?
caring about performance is not the same as optimization.
2d
reviewed Approve suggested edit on Efficient graph clustering algorithm
2d
awarded  Proofreader
2d
reviewed Reject suggested edit on Why do some projects have getters and setters for public instance variables?
Sep
15
comment Early return statements and cyclomatic complexity
You're doing two things here. You have conditional logic but also a guard clause. I tend to respect the single responsibility concept, because in general it makes code more readable, except for guard clauses at the start of a function.
Sep
11
reviewed Approve suggested edit on What's wrong with comments that explain complex code?
Sep
10
awarded  Nice Answer
Sep
10
answered Why did the creators of the Internet Protocol decide to use IP addresses to identify a particular computer?
Sep
9
reviewed Approve suggested edit on Which is a better pattern (coding style) for validating arguments - hurdle (barrier) or fence?
Sep
5
answered Why aren't we building and using parallel processors *meant* for general computation?
Sep
5
reviewed Approve suggested edit on In Agile, should I create a code-review task?
Sep
4
comment Automatic denormalization for a NoSQL database application
That's why I suggested: index everything.
Sep
4
answered Automatic denormalization for a NoSQL database application
Sep
2
comment Should I throw guard exceptions that will be thrown by internal methods anyway?
Why are you disallowing a truncate to 0 length?
Sep
2
reviewed Reject suggested edit on Beginning a sentence with a function name?
Sep
2
comment Whether to store all numbers or just their ranges in database for this application
A possible race condition is when 2 (or more) processes work on the same data in parallel. Imagine, 2 processes at the same time querying which numbers are free, giving a range and then storing it in a database. Where it can go wrong is this: 1 asks free range(gets a range), 2 ask free range (gets same range as 1 because 1 hasn't written the range yet). 1 saves range. 2 saves range (and in the process overwrites the range of 1 because you only checked at the start which numbers were free)
Sep
2
comment Whether to store all numbers or just their ranges in database for this application
@OMI size of data: how many numbers do you expect to sell, how many rows will this table contain?
Sep
2
comment Whether to store all numbers or just their ranges in database for this application
How does any of these designs prevent race conditions?
Sep
2
reviewed Reject suggested edit on Does Jquery basically use CSS3 for animation and effects?