3,383 reputation
21030
bio website
location Chicago, IL
age 27
visits member for 3 years, 11 months
seen yesterday

Jan
21
comment Temporary variables vs line length requirements
Your $host and $uri example is kind of contrived, though - unless the host was being read from a setting or other input, I'd prefer them being on the same line, even if it does wrap or go off the edge.
Jan
18
comment My boss has a bad case of “Not Invented Here”
@JoelEtherton Exactly. Unsatisfactory to who? And by what percent of users? It's technically not "broken" until you reach some business-set threshold, but that's never a reason to avoid an order-of-magnitude optimization. There may be other reasons, but not that.
Jan
18
comment Is it wrong to copy ideas from other languages?
For example, here's an old tree of programming languages
Jan
18
comment Why don't languages include implication as a logical operator?
+1, I was about to ask this same thing on the question (since I'm not very familiar with "implication", it never comes up day-to-day). The if statement is far, far clearer to just about everyone.
Jan
18
comment My boss has a bad case of “Not Invented Here”
Is that an intentional combination of "quo" and "woe"?
Jan
18
comment My boss has a bad case of “Not Invented Here”
@JoelEtherton Not entirely. Performance is not a boolean, and can affect end-users depending on where the slowdown is. This is (in part) a performance question.
Jan
17
comment How do you debug without an IDE?
+1 entirely for going backwards. I often have the experience: "Hey - waittaminute, this isn't the right value! How did this become this?", and have to go back and forth in the output while reading the code. Debuggers are bad at backwards.
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.