[squeak-dev] The Trunk: EToys-topa.123.mcz

Levente Uzonyi leves at elte.hu
Tue Apr 7 16:07:08 UTC 2015


On Tue, 7 Apr 2015, Tobias Pape wrote:

>
> On 07.04.2015, at 17:24, Levente Uzonyi <leves at elte.hu> wrote:
>
>> But at the same time we want to minimize the usage of the dictionary API of the Environments.
>
> Do we?

I could only quote myself here, so someone else will have to answer this.

>
>> And Symbols are still Strings. :)
>
> I disagree.

#aSymbol isKindOf: String. "==> true"

Should the code be portable to other Smalltalk dialects?
Do we plan to change the superclass of Symbol?
Is there any other reason to not use symbols as strings in Squeak?


Levente

>
> Best
> 	-Tobias
>
>>
>> Levente
>>
>> On Tue, 7 Apr 2015, Tobias Pape wrote:
>>
>>>
>>> On 07.04.2015, at 17:16, Levente Uzonyi <leves at elte.hu> wrote:
>>>
>>>> What's wrong with #hasClassNamed:?
>>>
>>> From my POV, it takes a String, and we wanted a symbol here ;)
>>> Also, I wanted t be conisten with #setUP
>>>
>>>>
>>>> Levente
>>>>
>>>> On Tue, 7 Apr 2015, commits at source.squeak.org wrote:
>>>>
>>>>> Tobias Pape uploaded a new version of EToys to project The Trunk:
>>>>> http://source.squeak.org/trunk/EToys-topa.123.mcz
>>>>>
>>>>> ==================== Summary ====================
>>>>>
>>>>> Name: EToys-topa.123
>>>>> Author: topa
>>>>> Time: 7 April 2015, 2:37:32.593 pm
>>>>> UUID: 71b565ae-57ad-4d33-91d2-d6bfeec75490
>>>>> Ancestors: EToys-topa.122
>>>>>
>>>>> the ifPresent: part needs a block argument
>>>>>
>>>>> =============== Diff against EToys-topa.122 ===============
>>>>>
>>>>> Item was changed:
>>>>> ----- Method: TileMorphTest>>expectedFailures (in category 'testing') -----
>>>>> expectedFailures
>>>>>
>>>>> 	^ super expectedFailures,
>>>>> 		(self class environment
>>>>> 			at: #BaseSoundSystem
>>>>> + 			ifPresent: [:e| #()]
>>>>> - 			ifPresent: [#()]
>>>>> 			ifAbsent: [#(testSoundTile) "Only this test depends on Sound"])!
>
>
>
>


More information about the Squeak-dev mailing list