squeak

With Traits, should I use a T prefix and if yes put it before or after any other prefix?

When creating Traits in Pharo+Squeak, is it proper to use a T prefix like TMyTrait and if yes, should the T go before any other prefix like TMPMyTrait (where "MP" is the other prefix), or after, like MPTMyTrait ...

How to print Smalltalk code from Pharo/Squeak?

What is the best way to print - syntax colored and well formatted - code from Pharo/Squeak on paper? 1) Is there a way to print directly from within Pharo/Squeak? (i use it on macosx) 2) Is there a way to export syntax colored, well formatted code from Pharo/Squak? 3) Are there external tools to color and format a filed out piece of co...

Are Traits good or bad?

This is an open-ended question, but I would like to solicit some opinions from the SO community on Traits; do you think Traits in Squeak/Pharo are a good thing, or should you stay away from them and use composition and delegation instead? I ask because while I know how to use them (thanks to the Pharo book), I am not really sure how acce...

SqueakSource add a resource file

I'm new to squeak/squeak source and i am writing a small game as a learning exercise. I have a few graphics that i am using for some of my sprites (mostly pngs) but i cannot figure out how to add them to my squeak source repository. Is there a way to do add these files to my project so my team doesn't have to keep emailing images to ea...

In Squeak, where do I find the code for the message handling algorithm?

When sending a message to an object in Squeak, the runtime invocation algorithm is something like curr <- the receiver's class Repeat while curr isn't nil Search for the selector in that class's methods; if it's there, invoke it and return curr <- curr's superclass Call doesNotUnderstand: on self Now, a very similar algorithm is us...

Making an HTTP request in Pharo and getting the response headers

how can I make an HTTP request and get both the response content and the response headers? ...

Are there any commercial projects using Squeak Smalltalk that are not web based

Doing a Google search doesn't reveal much, the three of four links I found where dead. Maybe the stackoverflow community is in a better position to answer the question. Where are the none web based commercial Squeak Smalltalk projects? ...