46,103 reputation
8121205
bio website tech.turbu-rpg.com
location Seattle, WA
age 32
visits member for 4 years
seen 6 mins ago
A lifelong programmer who's been coding in Delphi since its initial release and currently makes a living at it.

May
3
awarded  Nice Question
May
2
asked How do languages with Maybe types instead of nulls handle edge conditions?
May
2
comment Why don't languages include implication as a logical operator?
I've read that IMPL is very helpful for code contracts. (Which VB didn't have.)
May
1
comment Why don't languages include implication as a logical operator?
@Stefan: You can also derive everything from an IMPL.
Apr
28
awarded  Guru
Apr
27
comment What makes Web crawling legal?
@Tibo: There should be quite a step. In the USA, there often isn't, due to the Computer Fraud and Abuse Act. If that sounds strange, well, there's a reason a lot of people think that particular law needs some serious reform.
Apr
27
answered What makes Web crawling legal?
Apr
26
comment How do Traits in Scala avoid the “diamond error”?
@gnat: this is a conceptual question, not a concrete problem question. If he was asking "I have this class in Scala and it's giving me problems that I think might be related to the Diamond Problem, how do I fix it?" then your comment would be appropriate, but then the question would belong on SO. :P
Apr
21
awarded  Good Answer
Apr
20
comment Is machine language always binary?
@Prog: That's right. Our abstractions are way beyond that stage now. Heck, there are some cases where the computer doesn't even execute machine code exactly literally as it's written, due to superscalar architecture--the CPU optimizes things internally to run faster.
Apr
20
comment Is machine language always binary?
@Prog: That depends on the CPU. Some CPUs have it hard-wired into the transistors, others are programmed in microcode. Some do both.
Apr
20
comment Is machine language always binary?
@Prog: There's always a lower level. Machine code is the lowest level that programmers have to worry about, but below that is microarchitecture (the stuff you're talking about), which is based on transistors and logic gates, which are based on the principles of electronics, which are based on the laws of physics and quantum mechanics. There isn't really something that says "do a high voltage, do a low voltage", because it's not always a voltage. (For example, when you store it to disc, it's a magnetic state instead.) That's why we use 1 and 0 as convenient abstractions.
Apr
20
comment Is machine language always binary?
@prog: No; reading instructions one bit at a time and making decisions based on it would take too long, and CPUs are designed to be fast. When reading machine code, it's like Whatsisname said in his answer: the computer doesn't look at individual bits any more than you or I read by looking at individual letters. They're arbitrary numbers that map to values using an agreed-upon mapping. Sometimes the meaning of the machine code is hard-wired into the CPU transistors, and sometimes it's actually programmed in!
Apr
20
awarded  Nice Answer
Apr
20
comment Is machine language always binary?
@Prog: Like I said, all numbers have a binary representation. 202 is 11001010, for example. But the 1s and 0s are an abstraction. Instruction #204 could mean "load a value from memory into a CPU register," for example.
Apr
20
answered Is machine language always binary?
Apr
9
answered Is there any performance benefit in checking the item count prior to executing a foreach loop?
Apr
7
awarded  Nice Answer
Apr
7
comment What are the advantages of recursion compared to iteration?
When solving the maze, the recursive solution is only "perfectly clear" if there are guaranteed to be no cycles in the maze. Otherwise, it gets messy too.
Mar
30
reviewed Approve suggested edit on Is it wise to invest time to learn another technology that you don't need to use at work?