|
Re: Very Basic Squeak information: msg#00144lang.smalltalk.squeak.beginners
- Where does the source code go? I used the workspace window to test the You should use the browser to define and edit classes. Perhaps this is what you mean by "workspace" though in Smalltalk the workspace is just a text editor that lets you evaluate expressions and so create objects. If you are looking at class definitions then the tool is called the browser, and it is where you should start. There is no main program in Smalltalk. Once you understand this, you will realize it is the right way to think about OO programming and wonder why other langauges don't work this way, but it is a shock to everybody when they encounter it for the first time. Smalltalk is just objects. There are class definitions, but no programs. When you look at classes in the browser, you are looking at the code that is currently running. It isn't a library in the sense of code that you can decide to include in your program, it is already in the image. The image is all the objects that live in your world, and some of those objects are classes and methods. The browser lets you examine and change them. - Is there such a thing as command line squeak? Such that I can create my Sort of. You can create a specialized image that you can execute from the command line. But it isn't a text file. I feel as though I am missing something essential that was not made obvious You distribute either source or images. An image is the equivalent of a binary form of a program. Squeak makes it easy to distribute source, but it is harder to distribute binaries, at least for beginners. Like many things, "it is easy if you know how". Squeak is optimized for developing programs, not for distributing them, but obviously people who develop programs want to distribute them, too. I usually tell people to focus on learning how to develop programs and by the time they know enough Smalltalk to do that, it won't be hard to learn how to distribute them. What is the difference between the VM and the main GUI environment download? The VM is a platform-specific program that runs the image. The "main GUI environment download" is the image. It is portable and has most of the complexity. Most people don't think much about the VM and just worry about the image. There are a few people who make VMs for the rest of us. -Ralph Johnson
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Very Basic Squeak information, Giuseppe Luigi Punzi |
|---|---|
| Next by Date: | Re: Very Basic Squeak information, goran |
| Previous by Thread: | Re: Very Basic Squeak information, Giuseppe Luigi Punzi |
| Next by Thread: | Re: Very Basic Squeak information, goran |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |