Today's Smalltalk 4 You is a video from STIC 2013 - Stephen Travis Pope delivering the second keynote address: "Why I Still use Smalltalk". If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
Today's Smalltalk 4 You is a video from STIC 2013 - Dan Ingall's keynote address from the first day of the conference: "A Few of my Favorite Things". If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
Today's Smalltalk 4 You is a video from STIC 2013 - John O'Keefe giving the VA Smalltalk roadmap. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
Today's Smalltalk 4 You looks at how you can get into trouble with message construction and #doesNotUnderstand:. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
You can also watch it on YouTube:
Today we'll take a look at a common pattern in Smalltalk development that can get you into real trouble - overriding #doesNotUnderstand: to construct messages and send them via #perform: - like this:
The problems with this are twofold - first, your API is effectively hidden - using standard senders/implentors searches, you don't find it. For follow on developers, it's as if your API doesn't exist. Second, you'll probably end up implementing something like this:
Which swallows your exceptions. This kind of code seems very cool the first time you write it, but do yourself a favor - avoid it. There are uses for DNU (mostly when creating proxy objects) - but you should think carefully before using this kind of pattern
Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.
Today's Smalltalk 4 You looks at a small pacakge that adds an infinity object to Pharo's numerics. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
Today's Smalltalk 4 You looks at using the visualworks.ini process (to start any image with the right VM) in ObjectStudio. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
Today's Smalltalk 4 You looks at the "hidden" reserved word in VisualWorks, ObjectStudio, Squeak and Pharo - thisContext. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
Today's Smalltalk 4 You looks at a simple ini file reader for Pharo. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
Today's Smalltalk 4 You looks at money data in Smalltalk. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
You can also watch it on YouTube:
When you deal with monetary amounts, you really should not use floating point numbers. In VA Smalltalk, there's AbtMoney:
one := 3.54 abtAsMonetaryAmount.
two := 2.12 abtAsMonetaryAmount.
one + two an AbtMonetaryAmouny
If you try the above code, you'll find that you can do standard arithmetic with money objects. If your applicatio deals with financial data, use this instead of floating point :)
Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.