Hi,Le 24/04/2017 �� 19:42, Markus B��hm a ��crit :
> May I ask:
> What's the idiomatic way to retrieve values from nested dictionaries?
>
> (((dict1 at: 'key1') at: 'key2') at: 'key3')
>
> Are all the brackets really necessary?
>
> BR Mike
To know if brackets are necessary you can use the "Format" option in
your method.
Right click -> format
or cmd/alt/ctrl + shift + f
In this case you can just write:
((dict1 at: 'key1') at: 'key2') at: 'key3'.
--
Cyril Ferlicot
https://ferlicot.fr
http://www.synectique.eu
2 rue Jacques Pr��vert 01,
59650 Villeneuve d'ascq France