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.

Comment policy

We will not edit your comments. However, we may delete your comments, or cause them to be hidden behind another link, if we feel they detract from the conversation. Commercial plugs are fine, if they are relevant to the conversation, and if you don't try to pretend to be a consumer. Annoying endorsements will be deleted if you're lucky, if you're not a whole bunch of people smarter and more articulate than you will ridicule you, and we will leave such ridicule in place.


Flutterby™ is a trademark claimed by

Dan Lyke
for the web publications at www.flutterby.com and www.flutterby.net.