Source in a file format ...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Source in a file format ...

jamesl

The Pharo File out format is currently supported by Redline Smalltalk.
However, editing a class in a file in "chunk" format is not that pleasant.

What would you suggest as a format for source code that is in a file?

Avi Bryant of DabbleDB/Twitter fame suggested having a + (class) or - (instance) before a method pattern
and just ending the method with a period. What do you think ? for example:

- yourself
  ^ self.


Rgs, James.
Reply | Threaded
Open this post in threaded view
|

Re: Source in a file format ...

Stéphane Ducasse
send an example so ythat we see exactly what you asked for.

On Mar 19, 2011, at 4:19 PM, James Ladd wrote:

>
> The Pharo File out format is currently supported by Redline Smalltalk.
> However, editing a class in a file in "chunk" format is not that pleasant.
>
> What would you suggest as a format for source code that is in a file?
>
> Avi Bryant of DabbleDB/Twitter fame suggested having a + (class) or - (instance) before a method pattern
> and just ending the method with a period. What do you think ? for example:
>
> - yourself
>   ^ self.
>
>
> Rgs, James.