Articles on current page (1-4 of 4)

April 2013

green python

☑ Python destructor drawbacks

Python’s behaviour with regards to destructors can be a little surprising in some cases.

Read article ( 6 minutes )

23 Apr 2013 at 10:48AM in Software
 |  | 
closed sign

☑ When is a closure not a closure?

Python’s simple scoping rules occasionally hide some surprising behaviour.

Read article ( 4 minutes )

10 Apr 2013 at 3:41PM in Software
 |  | 
pagan ritual

☑ The Dark Arts of C++ Streams

I’ve always avoided C++ streams as they never seemed as convenient as printf() and friends for formatted output, but I’ve decided I should finally take the plunge.

Read article ( 7 minutes )

8 Apr 2013 at 12:28PM in Software
 |  | 
stencil lake

☑ Function Template Fun

Function template specialisation is a tricky beast — the short answer is, avoid it.

Read article ( 4 minutes )

3 Apr 2013 at 1:12PM in Software
 |  |