[squeak-dev] The Inbox: Collections-ct.871.mcz
christoph.thiede at student.hpi.uni-potsdam.de
christoph.thiede at student.hpi.uni-potsdam.de
Thu Apr 7 18:12:24 UTC 2022
Moved to treated because reflection does not give us the option to choose a preferred name for each character. Also, this was probably overengineering. :-)
Best,
Christoph
---
Sent from Squeak Inbox Talk
On 2019-12-30T14:06:07+00:00, commits at source.squeak.org wrote:
> A new version of Collections was added to project The Inbox:
> http://source.squeak.org/inbox/Collections-ct.871.mcz
>
> ==================== Summary ====================
>
> Name: Collections-ct.871
> Author: ct
> Time: 30 December 2019, 3:06:02.364602 pm
> UUID: 235b9546-6ad3-b547-8661-38c5f2a98374
> Ancestors: Collections-nice.868
>
> Refactor CharacterClass >> #constantNames: Use reflection instead of hardcoding all names. With this change, further characters such as Character arrowLeft are printed legibly.
>
> =============== Diff against Collections-nice.868 ===============
>
> Item was changed:
> ----- Method: Character class>>constantNames (in category 'private') -----
> constantNames
> + ^ self class methodsInCategory: #'accessing untypeable characters'!
> - ^ #( backspace cr delete escape lf null newPage space tab ).!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220407/7e9c10ec/attachment.html>
More information about the Squeak-dev
mailing list
|