791 reputation
157
bio website
location Munich, Germany,
age 47
visits member for 4 years, 1 month
seen Nov 18 at 0:01

Programmer, Bass Player, Philosopher.

I love to program in Python and Prolog, to listen to the Pixies, Neil Young and QOTSA, and to read Ludwig Wittgenstein, Richard Rorty, Willard Quine, Donald Davidson and Nelson Goodman.


Sep
24
awarded  Autobiographer
Nov
7
awarded  Yearling
Feb
18
awarded  Caucus
Jan
15
comment Can a common interface be defined for Cartesian and Polar coordinate data?
Hal Abelson of SICP fame uses exactly this example in his video lecture on Generic Operators. I suggest to everyone to watch this gem of CS education.
Nov
29
revised Questioning pythonic type checking
added 1166 characters in body
Nov
29
comment Questioning pythonic type checking
@delnan: I couldn't find any other reason, except that it seems to be the canonical way, or was, per the Python Cookbook, 2nd ed., IIRC. But even its editor, Alex Martelli, now prefers hasattr().
Nov
29
answered Questioning pythonic type checking
Nov
7
awarded  Yearling
Oct
14
answered Detect duplicate in a subset from a set of elements
Sep
24
comment How to explain why design choices are good?
@JoshuaBelden: If you make that an answer (and probably elaborate a bit) I vote it up.
Aug
13
answered Is it a better practice pre-initialize attributes in a class, or to add them along the way?
May
2
comment Is it fair to reduce OOP to mere hierarchical composition of data structures?
@c69: You should listen to this guy.
Apr
24
comment Find a “hole” in a list of numbers
@maple_shaft: No, I'm saying building a binary tree from random data and then traversing it left to right is equivalent to sorting and then traversing from small to big.
Apr
24
answered Find a “hole” in a list of numbers
Mar
4
revised What is the best way for a top-down procedural programmer to learn OOP?
added 1 characters in body
Mar
4
comment What is the benefit of multiple return values
@PaĆ­lo Ebermann: It's because the library (PIL) works that way. But you're correct. Would it be my own library, it'd probably have a Pixel class.
Mar
3
answered Does Object Oriented Programming Really Model The Real World?
Feb
23
revised Use Case Structure
edited body
Feb
23
answered Use Case Structure
Feb
12
revised Is is preferable to design top down or bottom up?
deleted 3 characters in body