Erik Sandberg schreef:

Use C++ names in C++, and scheme names in scheme, i.e.

   Foo_bar::bla_bla

for handling a bla-bla-event.

so do you also think that all stream-event classes should be named
like 'arpeggio-event' rather than 'ArpeggioEvent'?

Regarding bla_bla for classes, it makes me nervous about namespace
clashes. Why not use Foo_bar::bla_bla_event?

maybe

  Foo_bar::listen_bla_bla


Isn't there a way to introduce an intermediate list of event types,
just like music has (eg. ArpeggioEvent has a arpeggio-event, which is the one we're looking for?). It's conceivable that you want to handle multiple event types (CreateContextEvent, FinishContextEvent) with one routine.


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to