Code: Select all
1 to: 100 do: [ :i | Transcript show: i; cr ].
it's more dynamic than java, you can get full corba/socket/soap/web sessions/etc support, and you can change classes in a running system.
maybe i should explain the last point. let's say you've written a server for something (a chat server, for example). while it's running, you discover a bug in your code. with smalltalk, you can connect to the running process, change the code, and you're done. the connected users don't have to disconnect. you don't have to restart the process.
wake me up when java or .net has something like that (this is 1970s technology i'm describing).
here's a free high performance smalltalk system: visualworks. it's free for non-commercial use. another free one (free for any use) is squeak.