[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Defining new classes from within a project



On Sunday, December 22, 2013 10:53:56 AM HKT, Seth Nickell wrote:
Is there a way to define new classes from within a project folder?

I'd like to structure my code using classes, but it seems strange to
place
some code inside ~/Library/Application Support/SuperCollider/Extensions,
and some code in my project folder.

FWIW, I avoid writing classes that are specific for one project. (One reason is that I often want to perform several pieces continuously. If I have to recompile the class library to load classes for the next piece, then it could be continuous.)

I use prototype-based programming to get object-oriented modeling (inheritance, polymorphism etc.) without "hard" classes. If you have the SuperCollider book, my chapter discusses that in more detail. Otherwise see the ddwPrototype quark.

hjh

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/