17,887 reputation
3473
bio website
location Minneapolis, MN
age 60
visits member for 3 years, 7 months
seen May 31 '13 at 21:49

Sep
17
awarded  Yearling
Jul
6
awarded  Good Answer
Jun
19
awarded  Nice Answer
Jun
13
awarded  Good Answer
May
31
awarded  Nice Answer
Apr
26
comment Is the algorithm more important than the programming language?
@Phil: And 200 lines of Python can potentially be a lot more maintainable than 50 lines of type-safe code. I've never seen that much clarity advantage in type-safe languages, assuming well-written code.
Apr
26
comment Can I borrow parts of an apache-licensed project for something not open-source?
Are you asking if you can change something and sell copies? You can do that for any open source (as defined by the OSI) license, although it works better as a revenue stream with the least restrictive licenses.
Apr
26
comment Does a programming language have to be compiled to be considered a programming language?
@delnan: Many people use Turing completeness as a guideline, so I thought I'd point out that this is not it.
Apr
26
comment Why does Donald Knuth write TAOCP using assembly language?
Also, compilers were typically expensive in those days. Years after TAOCP volume 1 came out, I interviewed at a place that didn't want to spend the money on one (and, to be honest, IBM 370 assembler wasn't that bad), and my wife worked at an assembly language shop quite a few years after that.
Apr
26
comment Does a programming language have to be compiled to be considered a programming language?
I'm not understanding your first sentence, particularly if it rules out HTML, or includes languages like Python. Note also that the ability to describe an algorithm doesn't quite mean Turing-complete, in that algorithms terminate and it's impossible in general to tell whether a given Turing machine does.
Apr
26
comment Is it OK to split long functions and methods into smaller ones even though they won't be called by anything else?
Love that quote.
Apr
26
comment Is there a way to use a higher level language in a competition that only has C, C++ and Java by default?
@John: I've used that JCL. I'd rather write programs in LOLCODE.
Apr
23
awarded  Nice Answer
Mar
21
awarded  Guru
Mar
8
comment What non-theoretical, practical programming language has no reserved keywords?
In this context, what's a keyword? Is it an identifier that has special meaning to the compiler? Is it an identifier that the programmer shouldn't use as a variable or something? Does it count as keywordless if keywords have to be specially designated? (A LONG time ago I saw an ALGOL system where keywords needed to be quoted to be keywords.)
Feb
9
awarded  Good Answer
Jan
22
awarded  Nice Answer
Dec
21
comment Maintenance wise, is `else while` without intervening braces considered safe?
@Max: I don't want little "gotcha"s in my code. The blocks are in a parallel position, but they aren't parallel. I skim code largely to get context, and the fact that a construct is fairly easy to parse if I take a careful look at it is largely irrelevant.
Dec
21
comment Does auto make C++ code harder to understand?
The other interesting thing about that loop is that it works for any x with forward iterators. It doesn't matter if x is an array, a list, a map, whatever. If all you've decided at this point is that x will be a container containing a specific type of object, you can just write this and not come back to it.
Dec
3
awarded  Good Answer