628 reputation
411
bio website code.google.com/p/paradice9
location United Kingdom
age 37
visits member for 4 years, 2 months
seen Nov 17 at 11:05

I am a British software engineer who lives in the Netherlands. I have worked on radio testing of Bluetooth and other wireless communication standards, and currently work in the navigation software industry. I enjoy developing primarily using modern C++, although other languages and dialects occasionally creep in.

I maintain a small terminal server application called Paradice 9, which is used for distributed tabletop roleplaying support.


Oct
7
comment Do real-world algorithms that greatly outperform in the class below exist?
To add an example to an otherwise excellent answer: an O(1) method may take 37 years per call, whereas an O(n) method may take 16*n microseconds per call. Which is faster?
Sep
23
comment How to measure his own skill in a programming language?
@Job: I always knew there was something fundamentally wrong with the universe.
Sep
7
comment My boss wants a narrated line-by-line English explanation of our code
Go to Sandcastle link. Look impressed. Click "Documentation" tab. See message "This project does not have documentation yet." Look less than impressed.
Sep
4
awarded  Nice Answer
May
24
comment Why are null references shunned while throwing exceptions is considered okay?
Indeed, if you find yourself with a null reference in C++, it is because your program is already broken.
Mar
18
comment Why do ads for s/w engineers always say they “offer a fast-paced environment”?
Who wants a boring job? Airplane pilots.
Mar
8
comment Reinventing the Wheel, why should I?
dictionary.reference.com/browse/meh
Feb
22
revised c style casts or c++ style casts
Fixed a typo or two
Feb
22
answered c style casts or c++ style casts
Feb
18
comment I don't program in my spare time. Does that make me a bad developer?
For the -1s, I think the point of the answer was that not programming in your spare time wont make you a bad developer, but that you will still have to compete with those that do, who will more likely be better developers because of it.
Feb
18
answered What is the best C++ interview question?
Feb
1
answered What should I know about C++?
Dec
10
comment What's a nice explanation for pointers?
One of my lecturers at university did a similar thing, using students (one of whom was "Niel", for added laughs), instead of the coffee cup. Pointing hand-wavedly at the audience was a dangling pointer, because it could be pointing to anything.
Nov
18
comment What are the worst false economies in software development?
On the other hand, should the new developer get a better machine than those developers who are already working up to speed?
Nov
12
answered If you favor “T *var”, do you ever write “T*”?
Nov
11
comment C++ is easy once you know PHP
I saw this topic title and at first I was like this: O.O Then I was like this: -.-
Nov
10
comment What are some famous one-liner or two-liner programs and equations?
@peterchen: Obviously, I wasn't using the non-overloaded swap, because that would be broken. It's a common enough idiom; I thought that would be understood.
Nov
9
comment What are some famous one-liner or two-liner programs and equations?
@peterchen - Not so. The exception safety comes from std::swap on basic types being nothrow and as long as member swaps are written to use only swap, not assignment, they too will be nothrow. Hence exceptions are only thrown at the copy, before side-effects. Naturally, swap will be overloaded for your type and only applies swaps to the members, not the whole, so there's no recursion. The technique is called the copy-swap idiom. See en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Copy-and-swap and cpp-next.com/archive/2009/08/want-speed-pass-by-value for more information about it.
Nov
9
comment What are some famous one-liner or two-liner programs and equations?
@tactoth X& X::operator=(X other) { swap(*this, other); return *this; }
Nov
8
comment What are some famous one-liner or two-liner programs and equations?
@tactoth - Swapping is commonly used for implementing strongly exception safe assignment in C++.