Re: Reloading a .io file

Steve Dekorte <[email protected]> Sat, 28 Apr 2012 16:26:01 -0700
Newsgroups gmane.comp.lang.io
Message-ID <[email protected]>
Glad to hear you found a solution - I didn't have any luck digging up that code.

On 2012-04-07 Sat, at 10:25 AM, dennisf486 wrote:

> OK yeah that wasn't exactly what I thought I wanted, but I just tried it and that might work instead.  It does successfully create a slot on the folderObject when the method is executed.
> 
> I realized that won't be tedious to organize code this way after all, because not every one-line method needs to be in a file by itself.  Instead, I'm thinking of folders more as "module" objects, each file in the folder is a method that, when called, defines a proto for a type in that module.  That proto definition within the file can still itself contain many method definitions within it.  You can gain some benefits from this way of organizing code, without having to subdivide your codebase all the way down to individual methods.  You just stop subdividing it at whatever granularity you're comfortable working with.