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@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 ).!
>
>