206 reputation
16
bio website beesbuzz.biz
location Seattle, WA
age 36
visits member for 3 years, 1 month
seen Sep 1 at 3:28

Software engineer, freelance artist/musician/tinkerer


Feb
4
answered Should I Correct Candidates' Interview Answers?
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.
Nov
30
answered How can I deal with the cargo-cult programming attitude?
Oct
10
answered Why are there so many competing filesystem designs?
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).
Sep
30
comment How do I convince my employer to hire an additional developer without selling myself short?
Yes but who cares about the positive to you? Either way it's a negative to the company, and you'd might as well use one that is a DEFINITE issue, rather than a PROBABLE issue. If you win the lottery you could still work at the job if you enjoy it enough. If you get hit by a bus you don't have a choice in the matter.
Sep
27
answered Should I tell someone that their commit caused a regression?
Sep
18
awarded  Commentator
Sep
18
comment Should a software developer carry business cards?
Most of the companies I've worked at DO issue business cards to non-customer-facing developers, because they never know when a developer might actually become customer-facing. Also, some companies are large enough that most business card exchanges are between employees in disparate parts of the company. Sometimes it's cultural, too; I work for a Japanese corporation so having a business card is vitally important for the meishi exchange. On that note, if you ever work with Japanese people you will NEED a business card.
Sep
18
comment Should a software developer carry business cards?
Instead of scanning the card's QR code and having it on your phone, if you have an Android phone you could just provide your whole card as a QR code (share > barcode scanner), including your email address and website link(s).
Sep
13
comment Should we encourage coding styles in favor of developer's autonomy, or discourage it in favor of consistency?
@Caleb Unfortunately there are only two people on the team of 5 who care about formatting - myself (consistency and simplicity) vs. him (personality and autonomy). So the peer pressure route isn't going to work.
Sep
13
comment Should we encourage coding styles in favor of developer's autonomy, or discourage it in favor of consistency?
What about enforcing the use of automatic formatting tools? Eclipse and XCode make it very easy to keep code formatted - but one of the engineers I work with gets extremely upset if someone autoformats "his" (i.e. the company's) code to keep it consistent with the rest of the codebase. Formatting is only a small part of style but it's also an important one, especially for issues like if/else nesting and overall code flow (not to mention readability).
Sep
13
comment Should we encourage coding styles in favor of developer's autonomy, or discourage it in favor of consistency?
I was actually coming here to ask a very similar question just now - when automatic code formatting tools are available and convenient, is it more important for those tools to not be run (and preserve inconsistent personal styles) or to have a style enforced?
Sep
13
comment Recursion without factorial, Fibonacci numbers etc
That's generally better served by a process queue as opposed to recursion in the traditional sense.
Sep
13
comment Recursion without factorial, Fibonacci numbers etc
Binary search is often formulated as a recursive problem but it's trivial (and often preferable) to implement in an imperative way.
Aug
22
comment Philosophy behind Undefined Behavior
boost::weak_ptr's implementation is a pretty good template to start with for this usage pattern. Rather than tracking and nullifying weak_ptrs externally, a weak_ptr just contributes to the shared_ptr's weak count, and the weak count is basically a refcount to the pointer itself. Thus, you can nullify the shared_ptr without having to delete it immediately. It's not perfect (you can still have lots of expired weak_ptrs maintaining the underlying shared_count for no good reason) but at least it's fast and efficient.