3,323 reputation
21030
bio website
location Chicago, IL
age 27
visits member for 3 years, 10 months
seen 8 hours ago

Jan
17
comment How do you debug without an IDE?
@syrion And ipdb is better than that ;)
Jan
13
comment Is Clojure a 3GL or a 4GL?
"as well as" does not imply "is the same as" - it means the opposite..
Jan
10
comment Why do we use story points instead of man days when estimating user stories?
@Patrick When using man-days (see man-hours on Wikipedia), there is no concept of velocity. That's an agile/scrum thing.
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
10
comment “Mac” vs “OS X” vs “Mac OS X”
@MartinJosefsson After 10.9 comes 10.10 and 10.11 in the usual versioning system for computer programs. It's more obvious when there's 3 numbers (10.9.0, 10.10.0, etc...), but it's not strictly required that the combined number be sequential - they're major and minor version numbers, sequential when taken separately.
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.