[squeak-dev] Future sort

tim Rowledge tim at rowledge.org
Tue Apr 25 17:03:07 UTC 2017


> On 25-04-2017, at 6:30 AM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> 
> | a |
> a := #(5 2 6 9 1 4 3 8 10 7).
> a do: [:each | (Transcript future: each) showln: each].

Or even ?
#(5 2 6 9 1 4 3 8 10 7) do: [:each | (Transcript future: each) showln: each]

What always alarms me when I look at lists of the ‘same’ code in a bunch of languages is just how hideously ugly they are. Blech.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful Latin Phrases:- Mihi ignosce. Cum homine de cane debeo congredi 
       = Excuse me. I've got to see a man about a dog.




More information about the Squeak-dev mailing list