206 reputation
16
bio website beesbuzz.biz
location Seattle, WA
age 35
visits member for 2 years, 8 months
seen yesterday

Software engineer, freelance artist/musician/tinkerer


May
14
comment Is it poor programming practice to pass parameters as Objects?
+1 for showing by example one of the few times to do this - thus being the exception that proves the rule.
Mar
25
comment Keep a programming language backwards compatible vs. fixing its flaws
Also, PHP has been slowly deprecating functionality with every single release - and a LOT of stuff breaks as a result. Unfortunately, PHP's stuck in a difficult spot where they have a hard time even producing deprecation warnings in a way that developers will see that won't end up disrupting sites anyway.
Feb
17
comment How can I deal with a team member who dislikes making comments in code?
@xaxxon Not to mention that apples even if that person might be you.
Aug
6
comment Unwritten rules of rewriting another team member's code
Yep, I've learned from experience that some developers can get extremely agitated if you even fix bugs in their code without asking. Of course, this was on a project with no issue tracking or task planning, and I'm amazed it ever even shipped.
Aug
5
comment Good practice to seperate Git Repo from published Repo?
You might want to look at this Stack Overflow question: stackoverflow.com/questions/2471340/…
Jun
25
comment Is it any good to use binary arithmetic in a C++ code like “C style”?
Today, C compilers are smart enough to optimize a*2 into a<<1 where appropriate. There's no need to refer to that as "the C style" - that is really more "the low-level assembly coder from the 1980s writing C" style. (Also, these days, mul is generally just as fast as shl, and in some cases could be faster. Don't try to out-optimize the compiler based on possibly-antiquated knowledge.)
Mar
23
comment Why is verbosity bad for a programming language?
While we're at it, "conciseness" is a rather cumbersome way of saying "concision."
Mar
23
comment Why is verbosity bad for a programming language?
The OSX answer to AppleScript's cumbersomeness is Automator. Let's replace easy-to-type text with a giant library of draggable, verbosely-described, and poorly-explained functionality blocks!
Mar
23
comment Why is verbosity bad for a programming language?
Also a bit unfair to have a comment in the Java version but not in the Ruby one. The Java version does not require the comment.
Mar
22
comment Why was Tanenbaum wrong in the Tanenbaum-Torvalds debates?
Also regarding part 2, the various x86 modernizations actually go a few steps beyond RISC and do some fascinating stuff with "micro-operations" internally which give even better scheduling flexibility with on-the-fly instruction reordering, which brings performance boosts that are far beyond what RISC adherents can even dream about. RISC CPUs could get that too but at this point you're not comparing RISC vs. CISC, you're comparing various in-hardware JIT strategies with fairly abstract ISA frontends.
Feb
27
comment Coding Guideline : Methods shouldn't contain more than 7 statements?
+1 for "micromanagement by proxy." I suspect that someone read about the "7 plus or minus 2" rule (en.wikipedia.org/wiki/…) and confused short-term fact retention with long-term storage like, you know, a code editor.
Feb
22
comment (Why) Should I learn a new programming language?
+1 for the Prolog recommendation. Also I'd posit that SQL is a language worth learning (correctly) for similar reasons.
Feb
9
comment Why are shortcuts like x += y considered good practice?
@Andy good point, I should pay closer attention to the tags. I'm not familiar enough with Python, but does it have a concept of property getters/setters? (Although I suppose in that case the two constructs would be equivalent.)
Feb
9
comment Why are shortcuts like x += y considered good practice?
+1 for discussion of side effects. It's a bit abstract, though; maybe it should be specified that x() returns an int&, or use an example of std::map::operator[] or the like.
Dec
24
comment Should I learn a programming language before I attend college for Computer Engineering?
I would amend that to say "most SUCCESSFUL computer science students, in their first year." When I was in college (and later in grad school) there were an alarming number of CS students who didn't know the first thing about using computers, but they just heard that CS was where all the money was. Most of them changed majors, after getting very annoyed at the instructors not telling them what to type.
Dec
17
comment Do we still have a case against the goto statement?
+1 for use of goto as a 'named break,' which is basically the only legitimate use I've seen for it in real life (at least in a world where we have exceptions).
Dec
13
comment How do quick & dirty programmers know they got it right?
@JohnFx: Psychological warfare. I love it.
Oct
9
comment Why does Garbage Collection only sweep the heap?
@DarkTemplar: because that's how the language designer decided to differentiate between stack-allocated and heap-allocated objects.
Oct
8
comment Why does Garbage Collection only sweep the heap?
@MatthieuM. That was sort of my point.
Oct
8
comment Why does Garbage Collection only sweep the heap?
@svick Depends on the language, of course. Java only supports heap-allocated objects, and Vala quite explicitly distinguishes between heap-allocated (class) and stack-allocated (struct).