Reputation
3,577
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
3 12 33
Newest
 Good Answer
Impact
~234k people reached

Jan
10
comment Why do we use story points instead of man days when estimating user stories?
@Patrick If it takes 1 month for, say, 2 developers to complete, that's about 40 man-days. Not 5. A "man day" is 1 per developer per calendar day. When estimating man-days, you don't estimate the difficulty of the task, but how long you think it would take for one developer to do. This should be easier to explain because the concept also exists in other fields, not just software development.
Jan
9
comment Is it possible to use python as a shell replacement?
@isbadawi Even with that package, it's still rather verbose/cluttered compared to bash...
Jan
8
comment Categories of 'for' loops
...I was hoping "extreme" loops would be more, well, extreme... ;)
Jan
6
comment Wrapping Primitives to Enable Returning null — Bad Practice?
@anthropomo Doesn't Integer allow you to return null without having to do any wrapping yourself? Java has had autoboxing and unboxing for a while now...
Dec
29
comment Is a day really 24 hours long?
@JohnBartholomew The code point 00:00:00 represents the full second [00:00:00, 00:00:01), when our order of magnitude is full seconds. Likewise, 23:59:59 represents the full second [23:59:59, 24:00:00). So yes; when we're dealing with units of full seconds, and that convention is used, it is completely valid to say that the day ends at 23:59:59.
Dec
29
comment What discipline does Computer Science belong to?
@red-dirt Similar to AndresF, on the more practical application side, the basic scientific method (hypothesize, test, check, repeat) comes into play during debugging - which does usually take up most of the time spent programming.
Dec
18
comment Should I use JSON just to use JSON
It speaks easily to PHP as well, since json_decode() and json_encode() convert between a JSON string and the native Array() data structure
Dec
18
comment Should I use JSON just to use JSON
@delnan Key/value pairs in the POST request... Which is what the question said it's currently doing...
Dec
10
comment How do I express subtle relationships in my data?
@FrustratedWithFormsDesigner I suspect you're thinking of unification in logic programming..?
Dec
5
comment How do I prove or disprove “god” objects are wrong?
You're missing the term "antipattern". Doing a Google search for "god object antipattern" returns tons of pages on reasons why they're bad.
Nov
26
comment How do people deal with Android fragmentation?
And you can use this page to decide on what version(s) to support.
Nov
26
comment Why are tools like git-svn that allow git to integrate with svn useful?
@YannisRizos A local repo you can commit, branch, and merge within, while still being able to commit to the central server? I've never heard of SVN being able to do that without hackery...
Nov
26
comment Is there an appropriate coding style for implementing an algorithm during an interview?
@Akira71 I think I first saw it in example code that was explaining the evaluation rules, and after switching between it and if (length? foo) = 1, eventually figured "constant first" was just a lot cleaner. It just stuck with me after that.
Nov
25
comment Is there an appropriate coding style for implementing an algorithm during an interview?
+1, with an additional note on the const/var example: The language I learned to program in used 2 rules for evaluation: Infix operators first, then functions. if length? foo = 1 would evaluate to if length? false and error, while if 1 = length? foo evaluates correctly. It's not a C-style language, but I do automatically carry it over to other languages as you suggested
Nov
24
comment Why should I use a web framework's template language over python's templating options?
Syntax highlighting, for one...
Nov
20
comment What does it mean that “language A is written in language B”?
@thorstenmüller I've had that happen on occasion a few times. If several someones were viewing the question as you posted, there'd be a small message saying "A new answer has been posted" within a second or two of you hitting submit, so they could have skimmed the entire answer and upvoted within 10 seconds of your posting it. Additionally, edits made within 5 minutes of posting the answer don't show up in the edit history, which could have further caused minor confusion on your part.
Nov
20
comment Is Google Closure a true compiler?
I vote for Minoptival. It sounds like a dinosaur. Everyone likes dinosaurs, right?
Nov
13
comment Python Forgiveness vs. Permission and Duck Typing
I remember hearing that hasattr is implemented with that exact try/catch internally. Not certain if it's true... (it would act differently on properties, wouldn't it? Maybe I'm thinking of getattr..)
Nov
13
comment Demonstrate bad code to client?
Given the content of so many bug reports, "it broke __ more places" does indeed seem like the best way to describe the domino effect...
Nov
12
comment Has the emerging generation of programmers got the wrong idea about design patterns?
I find your mention of lego bricks to be highly amusing due to Lego Mindstorms.‌​.