[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Defining new classes from within a project
- To: <sc-users@xxxxxxxxxxxxxxxx>
- Subject: Re: [sc-users] Defining new classes from within a project
- From: James Harkins <jamshark70@xxxxxxxxx>
- Date: Sun, 22 Dec 2013 17:42:09 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:mime-version:message-id:in-reply-to :references:content-type:content-transfer-encoding; bh=EXWqdentcONRf/9JMCX7U54K9eNls/MwO9bRO6NTQok=; b=c/+6Lv3EuuacCoQqexAtqHYvD1+74xzV4eX9K9CZWQDqv0mx7/B7B29V13l18g7cE0 K8kfkVERJsxq9bHW1Y4rpO7IMmWNM2P/PM3AHlGq886xM/EGsR7fl5EL2r8Ff8cqtIzF +pmwWZMYIEAkk6zGCd5ca3h2GQ5K03PMb21ov5scJPfnvHdRxEYwkS5fgaftGRqXCn1l Omt4LEjKgDv3igWrN/FHpCggFiK80Mndar38T1BSeBwRvycj+DQ+sES9R7QTdv/RY9gL E0nDz1s4uAEzH37xKVmKqqa+7rpSqSQSOGRyEr1uVv4c0+++nh3KDasy4w6e9c6k5TP0 2apQ==
- In-reply-to: <CANL-LfRxVa3bfceW4C=w39K5YyGkUSVhNAMBq1bpNNStg1Mr=A@mail.gmail.com>
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- References: <CANL-LfRxVa3bfceW4C=w39K5YyGkUSVhNAMBq1bpNNStg1Mr=A@mail.gmail.com>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
- User-agent: Trojita/v0.3.96-git; Qt/4.8.1; X11; Linux; Ubuntu 12.04.3 LTS
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/