[Newbies] Re: Beginners Digest, Vol 92, Issue 9

Casey Ransberger casey.obrien.r at gmail.com
Sat Dec 28 10:36:35 UTC 2013


Yeah I noticed that after posting it. The original Cincom blog is gone. Bummer. I know that the Seaside web app framework uses it, so you might be able to find some examples by browsing the Seaside code, but other than that, I don't know what to tell you. Sorry...

FWIW, I wouldn't worry about performance at first. Just do the simplest thing that could possibly work. If it turns out to be slow, that's a good time to profile and find out exactly *what* is so slow. If you go in optimizing things right away, you may end up optimizing for the wrong scenario! In which case you'll have done a lot of delicate work without solving the actual problem. 

The above syndrome is often called "premature optimization."

Anyway Squeak's collections have enjoyed many programmer's use. They've had a great deal of time to mature, and were first realized on the Xerox Alto in the 1970s, an environment that would likely be considered (by today's standards) resource-starved for a wristwatch. 

In other words: collections probably aren't going to be your bottleneck!

> On Dec 27, 2013, at 9:56 PM, David Holiday <neuburge at rohan.sdsu.edu> wrote:
> 
> Hi Casey and Herbert, 
> 
> The link to the 'announcements' entry in the squeak wiki is dead. Is there another? That is indeed something like what I was looking for. I figured I could iterate through a list but for large lists will there not be a performance hit? 
> 
> 
> David Holiday 
> -------------------------------------------------
> San Diego State University
> neuburge at rohan.sdsu.edu
> 
> 
> 
> 
> 
> 
>> On Dec 27, 2013, at 6:11 PM, beginners-request at lists.squeakfoundation.org wrote:
>> 
>> Send Beginners mailing list submissions to
>> 	beginners at lists.squeakfoundation.org
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.squeakfoundation.org/mailman/listinfo/beginners
>> or, via email, send a message with subject or body 'help' to
>> 	beginners-request at lists.squeakfoundation.org
>> 
>> You can reach the person managing the list at
>> 	beginners-owner at lists.squeakfoundation.org
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Beginners digest..."
>> 
>> 
>> Today's Topics:
>> 
>>   1. Re: Is There A Tutorial for People Who Have Never	Programmed?
>>      (Herbert K?nig)
>>   2. Is there a way to broadcast messages to more than one
>>      recipient? (David Holiday)
>>   3. Re: Is there a way to broadcast messages to more than one
>>      recipient? (Herbert K?nig)
>>   4. Re: Is there a way to broadcast messages to more than one
>>      recipient? (Casey Ransberger)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Fri, 27 Dec 2013 13:53:29 +0100
>> From: Herbert K?nig <herbertkoenig at gmx.net>
>> Subject: Re: [Newbies] Is There A Tutorial for People Who Have Never
>> 	Programmed?
>> To: beginners at lists.squeakfoundation.org
>> Message-ID: <52BD7849.4070002 at gmx.net>
>> Content-Type: text/plain; charset="iso-8859-1"
>> 
>> Hello William,
>> 
>> there is a book named "Learn programming with robots" which is aimed at 
>> teaching programming with Squeak.
>> The book can be obtained via Amazon and google turned up this page for 
>> download.
>> https://gforge.inria.fr/frs/download.php/10764/BotsInc-OriginalEnglish.pdf
>> 
>> Then there is Squeak by example which is meant to teach Squeak but 
>> assumes some programming experience.
>> 
>> In both cases find the accompanying Squeak images. This is because 
>> Squeak evolves and for newcomers it's important that the examples just 
>> work. Although finding out why an example did not work is a great 
>> learning achievement people are usually good at providing enough not 
>> working examples for themselves. :-)
>> 
>> The site Casey recommended is a great resource, it can be found here.
>> http://stephane.ducasse.free.fr/FreeBooks.html
>> 
>> But you have to be a bit careful because of the differences in Smalltalk 
>> dialects. Which means not every example will work unmodified in a 
>> current Squeak image.
>> 
>> Other than that there are Etoys and Scratch which are based on Squeak 
>> but provide a graphical introduction (tile programming) into programming.
>> 
>> And finding an answer to Casey's question, a project that interests you, 
>> may get you some more results.
>> 
>> Cheers,
>> 
>> Herbert
>> 
>> Am 27.12.2013 06:44, schrieb william murphy:
>>> Hello,
>>> 
>>> If I have never programmed before but want to learn to program with 
>>> Squeak, which tutorial should I read?
>>> 
>>> Thank you,
>>> 
>>> Will
>>> 
>>> 
>>> _______________________________________________
>>> Beginners mailing list
>>> Beginners at lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>> 
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/f1494542/attachment-0001.htm
>> 
>> ------------------------------
>> 
>> Message: 2
>> Date: Fri, 27 Dec 2013 11:15:57 -0800
>> From: David Holiday <neuburge at rohan.sdsu.edu>
>> Subject: [Newbies] Is there a way to broadcast messages to more than
>> 	one	recipient?
>> To: beginners at lists.squeakfoundation.org
>> Message-ID: <35B9F01C-8A1B-40FD-B78B-90BEB495367C at rohan.sdsu.edu>
>> Content-Type: text/plain; charset="us-ascii"
>> 
>> As far as I can tell, messages have to be directed at a single recipient. Is this the case or, for example, is it possible to blast a message to every member of an Array at the same time? 
>> 
>> 
>> David Holiday 
>> -------------------------------------------------
>> San Diego State University
>> neuburge at rohan.sdsu.edu
>> 
>> 
>> 
>> 
>> 
>> 
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/c5715766/attachment-0001.htm
>> 
>> ------------------------------
>> 
>> Message: 3
>> Date: Fri, 27 Dec 2013 20:44:12 +0100
>> From: Herbert K?nig <herbertkoenig at gmx.net>
>> Subject: Re: [Newbies] Is there a way to broadcast messages to more
>> 	than one	recipient?
>> To: beginners at lists.squeakfoundation.org
>> Message-ID: <52BDD88C.7060105 at gmx.net>
>> Content-Type: text/plain; charset="iso-8859-1"
>> 
>> Hi David,
>> 
>> short answer:
>> anArray do: [:each| each message].
>> 
>> One of the things to learn about Smalltalk is it's rich collection protocol.
>> 
>> The fact that I use do: might hint that I should reread the protocol of 
>> collections, there maybe something more elegant :-))
>> 
>> Cheers
>> 
>> Herbert
>> 
>> Am 27.12.2013 20:15, schrieb David Holiday:
>>> As far as I can tell, messages have to be directed at a single 
>>> recipient. Is this the case or, for example, is it possible to blast a 
>>> message to every member of an Array at the same time?
>>> 
>>> 
>>> David Holiday
>>> -------------------------------------------------
>>> San Diego State University
>>> neuburge at rohan.sdsu.edu <mailto:neuburge at rohan.sdsu.edu>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Beginners mailing list
>>> Beginners at lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>> 
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/bba8afda/attachment-0001.htm
>> 
>> ------------------------------
>> 
>> Message: 4
>> Date: Fri, 27 Dec 2013 18:11:31 -0800
>> From: Casey Ransberger <casey.obrien.r at gmail.com>
>> Subject: Re: [Newbies] Is there a way to broadcast messages to more
>> 	than one	recipient?
>> To: "A friendly place to get answers to even the most basic questions
>> 	about	Squeak." <beginners at lists.squeakfoundation.org>
>> Message-ID:
>> 	<CACemAZciouy6aRYTjtU8hMRWKo6f-NCby07Z+DD0RPnzGhM5XA at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>> 
>> I think I heard about something like what you seem to want a bit ago called
>> Announcements. Objects can "sign up" to be notified of a particular event.
>> I dug up a wiki page about it.
>> 
>> http://wiki.squeak.org/squeak/5734
>> 
>> Hope this helps,
>> 
>> Casey
>> 
>> 
>> On Fri, Dec 27, 2013 at 11:44 AM, Herbert König <herbertkoenig at gmx.net>wrote:
>> 
>>> Hi David,
>>> 
>>> short answer:
>>> anArray do: [:each| each message].
>>> 
>>> One of the things to learn about Smalltalk is it's rich collection
>>> protocol.
>>> 
>>> The fact that I use do: might hint that I should reread the protocol of
>>> collections, there maybe something more elegant :-))
>>> 
>>> Cheers
>>> 
>>> Herbert
>>> 
>>> Am 27.12.2013 20:15, schrieb David Holiday:
>>> 
>>> As far as I can tell, messages have to be directed at a single recipient.
>>> Is this the case or, for example, is it possible to blast a message to
>>> every member of an Array at the same time?
>>> 
>>> 
>>> David Holiday
>>> -------------------------------------------------
>>> San Diego State University
>>> neuburge at rohan.sdsu.edu
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Beginners mailing listBeginners at lists.squeakfoundation.orghttp://lists.squeakfoundation.org/mailman/listinfo/beginners
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Beginners mailing list
>>> Beginners at lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131227/18d53e55/attachment.htm
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> Beginners mailing list
>> Beginners at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>> 
>> 
>> End of Beginners Digest, Vol 92, Issue 9
>> ****************************************
> 
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20131228/035eed2b/attachment-0001.htm


More information about the Beginners mailing list