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 05:08:23.366677+00 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 ascending chronological order (reverse):

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

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

#Comment Re: made: 2006-01-06 12:26:43.824786+00 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-06 14:48:04.091296+00 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.