[squeak-dev] Porting my programs from Squeak 3.10.2 to 3.5
Trygve Reenskaug
trygver at ifi.uio.no
Sat Apr 4 16:20:37 UTC 2020
Hi,
I have been programming in Squeak3.10.2 for 10 years. Squeak 3.5 is a
great improvement from the old 3.10.2 and it is time to update all my
programs. There is a new VM that is different from the old. I'm used to
letting the file extension identify the appropriate program for handling
a file so I want to use a new file extension, /.image3/, for the /Squeak
Cog Spur Virtual Machine/.
It transpires that the String '.image' is embedded in any number of
methods. In my Fortran days, we learned to avoid embedded constants
because they had a tendency to change. (E.g., '3.14' to
'3.14159265358979323846' because we needed higher precision.)
Should I try to replace all embedded '.image' with a method call, e.g.,
Smalltalk imageExtension?
--Trygve
--
/The essence of object orientation is that objects collaborateto achieve
a goal. /
Trygve Reenskaug mailto: trygver at ifi.uio.no <mailto:%20trygver at ifi.uio.no>
Morgedalsvn. 5A http://folk.uio.no/trygver/
N-0378 Oslo
Norway Tel: (+47) 468 58 625
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200404/2a551ea6/attachment.html>
More information about the Squeak-dev
mailing list
|