Reputation
711
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 7
Newest
 Yearling
Impact
~13k people reached

  • 0 posts edited
  • 1 helpful flag
  • 25 votes cast
Sep
8
comment Difference between Idiom and Design Pattern?
+1 for drawing a distinction with few words and few inaccuracies.
Sep
8
comment Difference between Idiom and Design Pattern?
I think "where's the beef" is more a meme than an idiom. Might have another continuum there ;) There might be more to an idiom than simply the implementation in the language, since things might be partial or failed implementations of that idiom - C++'s "Big Three", for example. In that case, the idiom is the name and description of "Big Three".
Sep
8
comment Difference between Idiom and Design Pattern?
event listener is a language feature that implements signal/slots (pattern?) or the Observer pattern. There are also things in C++ called idioms that simply don't matter or don't fit in other languages (as far as I know) - e.g. the copy-and-swap idiom.
Sep
8
comment Difference between Idiom and Design Pattern?
In practical terms the distinction may be difficult to determine (and there may be some continuum between an idiom and a design pattern). But it probably derives from the term "idiom" in natural language: en.wikipedia.org/wiki/Idiom (which doesn't really fit the usage).
Feb
25
comment Harmful temptations in programming
If a test is hard to write, you might not be programming it right :)
Dec
22
answered Is anything in programming truly evil?
Dec
22
comment Is anything in programming truly evil?
Maybe they should have conducted business in such a way that they understood that before they took on the project...
Dec
22
awarded  Critic
Nov
6
awarded  Commentator
Nov
6
comment How do you use blank lines in your code?
if (i % 3 != 0) { <newline here> array[i] += 2; <newline here> }, but I see your point :)
Oct
28
comment What are the drawbacks of Python?
@dsimcha: "Nested functions kind of suck in that you can't modify variables in the outer scope". Do you mean that it doesn't have closures?
Oct
28
comment Application / Code reviews for lone programmers?
@Cam: If it comforts you, for the presentation example, replace "10-year-old" with "brick wall", and see if the answer takes on a new context. As for the testing side, I think he's trying to invoke "Hallway Usability Testing" - joelonsoftware.com/articles/fog0000000043.html
Oct
28
comment Application / Code reviews for lone programmers?
@Cam: I agree with you, because I am a long time test developer ;) I think the toddler idea is just a cheap solution to a single quality gate, though - not around the entire quality process. Code reviews, not ship certification. If you write an answer that advocates writing at test suites (in any capacity), I'll up-vote it.
Oct
28
comment When/why is it easier to beg forgiveness than ask permission?
@David: I tried to edit it to better match the scenario. I agree that truly green programmers are bound to shoot themselves in the foot if they go in too loud, too early.
Oct
28
revised When/why is it easier to beg forgiveness than ask permission?
added 19 characters in body
Oct
28
comment When/why is it easier to beg forgiveness than ask permission?
@David: Good point. I guess it's difficult to properly use this advice unless you're already a rock star. I've run across at least a few people who gave the perception of being greenies (but in reality, weren't), specifically because they weren't heeding this advice.
Oct
28
comment Why are side-effects considered evil in functional programming?
+1 - "or some unsuspecting coworker"
Oct
28
revised Why are side-effects considered evil in functional programming?
added 239 characters in body; added 1 characters in body
Oct
28
comment Why are side-effects considered evil in functional programming?
@mouviciel: I think there are at least a few useful languages out there that make side-effects very difficult, and try to relegate them to Monads.
Oct
28
awarded  Editor