Reputation
33,134
Next tag badge:
95/100 score
21/20 answers
Badges
8 68 129
Newest
 Nice Answer
Impact
~1.6m people reached

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.
Nov
6
comment Why do we use non-descriptive internal codenames?
Names acquire meaning over time. If you'd all been using lon-web-lin-2 and the like for years and then some VP decreed that from now on all servers would be named after moons and/or body parts, things would have been equally confusing, maybe even more so because the "new" names would arbitrary instead of systematic.
Nov
6
comment Why do we use non-descriptive internal codenames?
What’s in a name? That which we call a rose by any other word would smell as sweet.
Oct
8
awarded  Good Answer
Oct
6
comment Are there any OO languages without inheritance?
Preferring composition doesn't mean completely abandoning inheritance is a good idea.