BlueRaja - Danny Pflughoeft
Reputation
3,402
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
15 26
Newest
 Yearling
Impact
~226k people reached

Aug
17
awarded  Nice Answer
Aug
9
awarded  Citizen Patrol
Aug
9
comment Is micro-optimisation important when coding?
@woliveirajr: That is the definition of micro-optimizing
Aug
8
comment Is micro-optimisation important when coding?
Your dad is absolutely wrong, but in his defense: 20+ years ago, the tools (editor, compiler, debugger, profiler) were nowhere near as powerful as they are now, while memory and computing time were significantly more constrained and expensive. What he said was true back then, but the opposite is true today.
Aug
8
comment How does Python's handling of line-breaks differ from JavaScript's automatic semicolons?
Of course, if we used Python instead of Javascript, we'd have to code WAY less to do the same thing, so the fact that semi-colons use a few bytes less than indentation is a moot point.
Jul
29
comment Can a fresher from a college write design patterns under “area of interests ” in resume?
Honestly, if I saw that on a resume it would be a mark against you. Design patterns are nothing more than workarounds for a deficiency in a language - typically, I find that people who pride themselves in their design-pattern knowledge don't understand this. See here and here.
Jul
28
comment Why do people use programming books?
@pydave: If it were an exaggeration then there wouldn't be so much C-code-written-in-Python on SO (example)
Jul
28
comment If a fluent coder disregards good practices, doesn't his fluency work against him?
highly related: this and this. Some (a lot of) people get stuck at this stage...
Jul
28
answered Why do people use programming books?
Jul
25
comment What is the advantage of little endian format?
@Stewart: Yes they are - bit 0 is by convention the right-most bit, with bit-7 on the left. Also, all C-programmers should concern themselves with this ordering; if they don't, it's very easy to write code that is not portable across platforms (the original version of sed - which we had to fix for an "Advanced C in Unix" class - was badly broken on all platforms that weren't 32-bit little-endian)
Jul
25
comment To design pattern, or not to design pattern
See also stackoverflow.com/questions/2101875/…
Jul
12
comment Learning the rules of chess
Also, there have been games, even by grandmasters in a tournament settings, where the rules have been broken, and neither player noticed! According to tournament rules, if neither player notices within 10 moves, the game is valid and continues. (I very clearly remember a game where a grandmaster moved his king, then moved it back, and later castled. I cannot find it now, though)
Jul
12
comment Learning the rules of chess
Also, the d-square cannot be attacked when castling queenside (or the f-square when castling kingside); you also cannot castle after moving your king. How are you supposed to know that something can't be done by observing games where it wasn't done? As Lars mentions, the computer could assign probabilities that a move is valid, but ascertaining that specific rule by observing games is bordering on impossible.
Jul
11
comment Software Engineer VS “Harder” Jobs
This. Asking them to write a program themselves (@Ryan's answer) won't really prove anything, since they don't have the years of training and experience you have. Writing a story is something everyone "knows" how to do.
Jul
6
comment Why is there so much buzz about closures?
stackoverflow.com/questions/2755445/… Java 7 is not out yet, no?
Jul
4
awarded  Critic
Jul
4
awarded  Nice Answer
Jul
1
comment Does over-reliance on tools imply that you are lazy?
Why has this not been closed as "subjective and argumentative"...?
Jun
30
comment Does anyone work 10 hours shifts as a developer?
Clearly.
Jun
27
answered Are there any valid reasons for disallowing characters and limiting the length of passwords?