Currently I am learning Smalltalk. I do this because I want to learn as much as I can in one week about a new programming language in order to improve my skills. Next week I will try something else.
So far I am able to read Smalltalk code but I have a very limited experience in writing. Can you recommend me any small size project that w...
I want to learn Smalltalk (particularly Squeak), but all the websites and books I've come across either assume I'm new to programming or spend forever getting acquainted with all the minutiae of the system.
When I picked up Python, Dive Into Python was my Bible for months. It had a great, straightforward way of teaching me how to apply ...
I am trying to teach myself Smalltalk. A tutorial has this example of a while loop:
|i|
i:=5.
[i >0] whileTrue:[
Transcript show: ((i*2) asString) ; cr.
i:=i-1.
].
As I understand it, whileTrue is a message sent to a BlockClosure, telling the receiving BlockClosure to run the BlockClosure given as the argument as long as the re...
In what solutions are you employing Smalltalk? What are the pros&cons of Smalltalk for those solutions?
...
I have been thinking about the Feature Envy smell lately. Suppose I have an object called DomainObject, that responds to a message "exportTo:someExport". This is basically the DomainObject's way to provide a copy of its internal state:
exportTo:someExport
someExport setX:myX.
someExport setY:myY.
someExport setZ:myZ.
That...
I am struggling to setup a Smalltalk web application env from scratch on Windows. These are the features I am looking for:
Prefer Squeak or a free ST env. Must work stably on windows
Seaside is preferred as the framework of choice
MySQL or SQLite as the db
decent HTML templating or front end technology ala CL-WHO
I really like the la...
So, I'm looking at using Smalltalk/Squeak for a couple of hobby/academic interest projects, and while trying to read up on the language I came across this nice article. However, this paragraph had me a bit dumbfounded:
"Unfortunately, there is a complete lack of standardization for providing or dealing with modules/packages in Smallt...
I am looking for the 'svn update' of the Monticello version control system. I use the browser to search for new mcz packages, but I want to be able to do it with a script.
...
With every new Squeak image, I immediately change the fonts to some native version. It is a lot of mouseclicks and I want to script the proces.
...
It seems that the inheritsFrom: method in GNU Smalltalk returns true for every undefined class name sent to it as a parameter. This might make a program very hard to debug, IMHO. Looking at the code for this in the Behavior class, it looks like this:
inheritsFrom: aClass [
"Returns true if aClass is a superclass of the receiver"
<categ...
I am wondering why the following does not work in GNU Smalltalk:
Object subclass: Foo [ ] new printNl
I was expecting a printout of something like "a Foo", but instead gst prints "nil". Doesn't this seem a bit odd?
...
Alan Kay points out that "Unlike Java, [Squeak] runs bit-identical on every machine -- we invented this 20 years ago". The wikipedia page mentions this also:
Squeak is available for many
platforms, and programs produced on
one platform run bit-identical on all
other platforms.
Since machines with different instruction sets ob...
Tryng out some smalltalk + TDD + "good practices" I've run into a kinda ugly block:
How do I do an assertion in GNU Smalltalk?
I'm just looking for a simple ifFalse: [Die] kind of thing
...
I'm trying to learn Smalltalk by doing, so I'm getting a grip on the syntax and style by buiding a simple "Matrix" class.
First of all, I'd be grateful if linked to a good Smalltak tutorial (although this is totally optional), preferably one that doesn't involve using the GUIs (I'd rather type my .sts than fish around the hierarchy expl...
How can I write a GIU in Squeak? I'm a Smalltalk newbie and I'm using Cincom's VisualWorks at the moment but I'd like to give Squeak a try. I see that Squeak has Morphic for graphics but for the life of me I can't seem to find a package to write an MVC based GUI.
...
To me it seems the main point of Seaside is that it is more like normal "desktop" programming.
The control flow looks much more like "traditional" programming instead of
"web" programming. Is that a correct impression?
I know it's about Web programming but it's does not looks like it from the programmers side. It looks much more than...
Hi
I wondered if anybody could help me with a technique to address the following problem in Smalltalk. Specifically Cincoms Visualworks.
I would like to code a simple GUI that has three fields and processes them as follows:
The first field inputs a number (5 say).
The second field simply displays twice the first field (so it displays...
I’ve been looking at Smalltalk (VisualWorks) for the past couple of months - and the more I learn the more I’m impressed. However, I think I must be missing something as Smalltalk doesn’t seem to be popular these days - and perhaps it never was.
What do the people who have dropped Smalltalk in favor of Java, C++, Ruby, etc. know that...
What is a single book you would recommend to someone interested in Smalltalk?
I've started looking into Smalltalk some weeks ago. So far I've gone through the Cincom tutorials (1 and 2) and I've read Squeak by Example, which I found quite good for getting the hang of the Smalltalk model, despite the poor organisation and several mistake...
I'm really interested if someone knows a programming language that uses an image like Smalltalk...
I think that is one of the greatest ides in the history of computer science.. I can not find other language besides Smalltalk that is base on an image.
...