On Dec 12, 2005, at 4:56 AM, Frank Barknecht wrote:
Hallo, Mathieu Bouchard hat gesagt: // Mathieu Bouchard wrote:
On Mon, 12 Dec 2005, Hans-Christoph Steiner wrote:
Then if you have a library, and you want want to use its method of sending and receiving, the object name would be obvious. But this would have the disadvantage of becoming unclear when someone does this: [import net] | [receive foo] [send foo] |
Without [import net] those would refer to the usual [send] and [receive] that we also know as [s] and [r].
One further problem here is, that in Pd, which is a graphical language, it is easier to overlook the [import net] object depending on where it is placed (and who placed it).
True. I wonder if its harder than in a text language tho. You could bury your import statements into the code, but Java convention says to put them on the top. A Pd convention to put your [import]s in the upper right could work similarly well.
.hc
________________________________________________________________________ ____
"If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of everyone, and the receiver cannot dispossess himself of it." - Thomas Jefferson