how can I make a thing that can be run?

Lic. Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Fri Feb 17 08:31:46 UTC 2006


Kendall Shaw puso en su mail :

> For example, with C there is a "main" routine that is the entry point,
> so that when you have a C program you "run" it, in one uniform way for
> all programs (more or less) that causes it to "execute".
> 
> Is there something like that, in these other packaging schemes? Some
> standard instantiation interface that gets invoked to run your app? Or
> does the user have to know for each class to open a workspace and type in:
> 
> Blah something: blah somethingElse: blah.
Smalltalk and Squeak demands you are a child again, brain wash all your 20
years of computing and start fresh.

Ot something similar happens to me what always said have Pascal burned in my
brain ROM.

No main.

The far away closer could be each class have a initialization process what
was runned automatic.

For Squeak , from 3.7 until now, is usual each class have a "initialize"
method , what runs when you type MyClass new in a Workspace.

But exist other ways too and lots of GUI forms of doing.

I currently train students what finds better refactorize my old first steps
in this wonderful world as they also think procedural.

If you think what could do that and have IRC, Yahoo chat or ICQ, email me.

Edgar



	
	
		
___________________________________________________________ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 




More information about the Squeak-dev mailing list