Reputation
33,344
Next tag badge:
95/100 score
21/20 answers
Badges
8 69 130
Newest
 Nice Answer
Impact
~1.7m people reached

Sep
21
awarded  Nice Answer
Sep
21
comment Dependency ordering algorithm of a compiler
Why is 'not recursive' a requirement? That seems like an implementation detail.
Sep
21
comment Dependency ordering algorithm of a compiler
You might read about dependency graphs.
Sep
14
comment Why isn't there a true “Date-Only” data type?
@NathanTuggy et al Let's move the extended discussion of SI units to Programmers Chat -- that's really not the point.
Sep
14
comment Why isn't there a true “Date-Only” data type?
@kevincline Fully agree. OP didn't specify a language, so I was aiming for generality.
Sep
14
comment Why isn't there a true “Date-Only” data type?
@MikeNakis The result would be microamps, not nonsense. More important: when you use a date rather than a second or millisecond, you're generally talking about the entire day -- a time period -- rather than a specific time, and depending on context it may be a repeating event.
Sep
14
answered Why isn't there a true “Date-Only” data type?
Sep
14
comment Why isn't there a true “Date-Only” data type?
Well of course the hospital wrote down the time of birth -- that's standard practice in most hospitals. That's not the issue at all. The issue is that for the purposes of commemorating events (birthdays, holidays, anniversaries, etc.) people don't use or want resolution that's finer than 1 day. Go ask the first person you see when their birthday is, and they'll give you a month and a day, but never an hour and minute. Also: we use units that include scale all the time: millimeter, kilogram, megawatt, and indeed, microfarad.
Aug
11
awarded  Nice Answer
Jul
26
awarded  Good Answer
Jul
25
awarded  Nice Answer
Jun
23
comment How safe is it to compile a piece of source code from a random stranger?
Any program can be made to break given the right input. False. A typical Hello, world! program doesn't read any input, and therefore no input will cause it to break. And while it may be true that most nontrivial programs probably contain bugs that could cause them to break, you really can't make a blanket assertion like that.
Jun
7
reviewed Reject Difference between a socket and a port
Mar
25
comment Using advertising with free app is a commercial app?
It's not a coincidence that another word for advertisement is commercial.
Mar
13
awarded  Yearling
Jan
21
revised Should a scrum team estimate time for the user stories during Sprint Planning, or before it?
added 32 characters in body
Jan
21
answered Should a scrum team estimate time for the user stories during Sprint Planning, or before it?
Dec
20
comment What is a closure and how is it implemented in Ruby?
@raptortech97 It's actually "a little more" than a link only answer, where the "little more" is a concise explanation of what a closure is and how that relates to Ruby.
Dec
15
comment Should I give the answer to a failed interview coding exercise?
@user1172763 That's the point -- unlike FizzBuzz, the OP's interview question can be answered with a single calculation. It is therefore a poor choice if the point is to see whether the candidate can write a loop. You can't expect a candidate to choose a slower, far more verbose solution on the assumption that you're asking the question for a specific (and unstated) reason. Indeed, the interviewer could easily be a "trick" question to see if the candidate notices that looping is completely unnecessary. Reading your mind is not the candidate's responsibility.
Nov
6
comment offline application development for mobile devices
Googling for something like html5 offline forms will turn up a lot of useful information.