|
[jira] Commented: (BOO-224) allow for partial classes: msg#00036lang.boo.devel
[ http://jira.codehaus.org/browse/BOO-224?page=comments#action_46074 ] Daniel Grunwald commented on BOO-224: ------------------------------------- I think the partial keyword should be required. It allows you to quickly see that a class is NOT partial, so you don't have to spend time searching the other parts. That is good both for humans and IDE's. And if you need a partial class, it's only 7 letters to add. > allow for partial classes > ------------------------- > > Key: BOO-224 > URL: http://jira.codehaus.org/browse/BOO-224 > Project: Boo > Type: New Feature > Components: Compiler > Reporter: Scott Fleckenstein > Assignee: Rodrigo B. de Oliveira > Attachments: partial2.patch, partial3.patch > > > add the "partial" modifier to type definitions such that you can spread the > defintion of a class accross multiple physical files. example: > in SomeClass-1.boo > partial class SomeClass: > field1 as string > field2 as string > > def someOp(): > someOpInSecondFile() > > def someOpInFirstFile(): > pass > > in SomeClass-2.boo > partial class SomeClass: > def someOpInSecondFile(): > someOpInFirstFile() -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [jira] Updated: (BOO-224) allow for partial classes, Doug Holton (JIRA) |
|---|---|
| Next by Date: | params Methods, Daniel Grunwald |
| Previous by Thread: | [jira] Commented: (BOO-224) allow for partial classes, Rodrigo B. de Oliveira (JIRA) |
| Next by Thread: | params Methods, Daniel Grunwald |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |