3,293 reputation
21030
bio website
location Chicago, IL
age 26
visits member for 3 years, 6 months
seen 2 days ago

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.
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.‌​.
Nov
10
comment Android: Not able to experiment on own?
I have to agree with @cseder on this. Trying to get into Android without learning Java (by way of PhoneGap or similar) is - to extend his metaphor - like using a life jacket without knowing how to swim. You'll probably get something done, but not nearly as much as you could.
Nov
8
comment Why is Java version 1.X referred to as Java X?
@AndrzejBobak Google Chrome is worse, it's approaching 20 versions in 2 years
Nov
5
comment Why do browsers leak memory?
@mike However, even with full setup like that, I highly doubt RAII is a catch-all. It's easy to have memory leaks in garbage collected languages like Java, after all
Nov
3
comment What is Declarative UI?
@Telastyn The OP is asking the difference between declarative UI and <foo> UI (such as "imperative UI"), and if an alternative to declarative UI even exists.
Nov
1
comment Should comments say WHY the program is doing what it is doing? (opinion on a dictum by the inventor of Forth)
HOW is, on very rare occasions, necessary. Exactly once in the past year and a half, I had to do something rather obscure and ended up putting the url to a StackOverflow question in the comment, which explained HOW that code works (yay language edge cases) using several paragraphs with code examples...
Oct
31
comment Are flag variables an absolute evil?
@MainMa Apparently there's a 3rd: The version with 8 boolean arguments are what I thought of when I read "flags"...
Oct
30
comment Are nested classes under-rated?
@AaronAnodide That should be an answer about a good way to use nested classes. It's exactly how/why I use them, it helps to organize the code.
Oct
29
comment Diminishing Returns on Additional Developers
@jfrankcarr "They'll still need 9 months to get started. So will this project, for training the new developers"