1,113 reputation
1416
bio website
location
age 29
visits member for 7 months
seen May 1 at 4:35
stats profile views 61

Apr
9
accepted Constants and Big O
Apr
9
revised Constants and Big O
added 3 characters in body
Apr
8
asked Constants and Big O
Mar
29
comment Is it OK to have multiple asserts in a single unit test?
I think as a general rule of thumb you should try to minimize the number of asserts per test. However, as long as the test sufficiently narrows the problem to a specific place in the code, then it's a useful test.
Mar
27
comment How does understanding computer architecture help a programmer?
I think a better comparison would be a mechanical engineer and a mechanic. Each deals with related problems at different levels of abstraction, and both could benefit from the insights of the other. The driver seems more aligned with the user.
Mar
19
comment Is Bubble Sort the slowest sorting algorithm?
xkcd.com/1185 Stacksort is definitely the slowest (check the hovertext)
Mar
18
awarded  Popular Question
Mar
15
comment “I”, “We”, or Neither in code documentation
I think it's down to personal preference. I don't see any reason why one would be more clear than the other in general.
Mar
15
answered The difference between “concurrent” and “parallel” execution?
Mar
13
comment Would Python be too slow for client-side use in Browsers?
@igouy So if I were to write two functionally identical programs, one in C, and one in Python, you would consider the performance difference to be a property of the application, and not the language implementation?
Mar
5
asked Does map-reduce transmit the data and executable instructions?
Feb
25
awarded  Caucus
Feb
18
comment Why do we need the async keyword?
@svick thanks, this is what I was looking for. Makes perfect sense now.
Feb
18
comment Why do we need the async keyword?
I guess I'm curious why the compiler needs it. Couldn't it just parse the method and see that await is somewhere in the method body?
Feb
18
comment Why do we need the async keyword?
So this is really something for the reader/programmer, and not so much for the compiler?
Feb
18
asked Why do we need the async keyword?
Feb
17
revised Is it possible to modify Lamport's mutual exclusion algorithm to work without a FIFO guarantee?
added 181 characters in body
Feb
17
asked Is it possible to modify Lamport's mutual exclusion algorithm to work without a FIFO guarantee?
Feb
14
accepted How do you unit test an encoder?
Feb
14
comment How is the Trial Period for Softwares generally implemented?
This is just a guess because I've never implemented anything like this. I would save the clock at installation time and calculate an offset of the system clock before doing any timespan operations. EDIT: On second thought, this doesn't work. Now I'm curious as well.