205 reputation
16
bio website beesbuzz.biz
location Seattle, WA
age 36
visits member for 3 years, 4 months
seen yesterday

Software engineer, freelance artist/musician/tinkerer


2d
comment How to define “or” logically
If you're doing pure 1-bit boolean values, then addition still doesn't work, since 1+1 = 0. :)
2d
comment How to define “or” logically
These approaches are fundamentally flawed. Consider -1+1 for arg1+arg2, -1 and 0 for max(arg1,arg2), etc.
Aug
24
comment How does Python compile some its code in C?
@Zack Heck, even C64 BASIC didn't interpret the source code directly.
Apr
15
awarded  Yearling
Jan
11
answered Terminalogy “Controller” in MVC and “ViewController” in IOS
May
25
answered Why aren't user-defined operators more common?
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
26
awarded  Critic
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
answered Limitations of Polymorphism in statically typed languages
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.