why is there no assoc-in in ruby this is ridiculous
Conversation
Notices
-
Vale@kujike.nai (valerauko@pawoo.net)'s status on Sunday, 03-Feb-2019 09:58:32 CET Vale@kujike.nai - Ekaitz Zárraga 👹 repeated this.
-
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Sunday, 03-Feb-2019 10:16:52 CET Ekaitz Zárraga 👹 @valerauko hahaah same feeling when I go back to python hahaha
-
Vale@kujike.nai (valerauko@pawoo.net)'s status on Sunday, 03-Feb-2019 12:23:26 CET Vale@kujike.nai @ekaitz_zarraga it's really annoying with ruby because it has dig (= get-in) so i'd expect the setter/updater version to exist too but no. i have to manually check and initialize every nested structure
Ekaitz Zárraga 👹 repeated this.