February 29, 2004

An abstraction too far

Today turned into a day for pondering complexity, abstraction and memory management and watching Pirates of The Caribbean on DVD...

I experimented with a version of the buffer allocator that allowed a user defined memory allocation policy. It worked, but it was, I think, unnecessarily complex. If the buffer allocator itself lay behind an interface then that's enough flexibility. Additional abstraction, with an abstract allocation policy in addition to an abstract allocator seemed a tad too abstract... At some point you have to actually make the decision and write the code that does the work.

An interesting day's thinking; the film was good too.


Share this entry: Email it! | bookmark it! | digg it! | reddit!

Posted by Len at February 29, 2004 10:36 PM | Comments (0) | Categories : Geek Speak
Comments
Post a comment









Remember personal info?




Enter this code in the box below to prove that you're not some kind of automated spam robot...