Flutterby™! : C++ hell

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

C++ hell

2006-01-05 06:08:23.366677+01 by Dan Lyke 3 comments

Augh! When you've become used to Python[Wiki]'s ability to pass callbacks as self.method, the whole C++ functor thing really chafes.

[ related topics: Python ]

comments in descending chronological order (reverse):

#Comment Re: made: 2006-01-06 15:48:04.091296+01 by: Dan Lyke

Yeah, there are architectural issues here that may evolve... [grin]. As much as I'm in the swing of C++, there's a lot to be said for writing higher level code in Python[Wiki] or Perl[Wiki], and while we're not in a place to be making such changes right now it's a direction that's up on my list of ways to change the structure of this system.

#Comment Re: made: 2006-01-06 13:26:43.824786+01 by: DaveP

Or just embed python in your C++ program and use it for callbacks?

http://www.linuxjournal.com/article/8497

#Comment Re: made: 2006-01-05 16:13:48.081433+01 by: Dan Lyke

Functional Style in C++ is a must-read.