On dictionaries and initializers, in which I give up and use a for loop
On Dictionaries and initializers, in which I give up and use a for loop.
On twitter, @rob_rix confessed that he’d given up and used a for loop. @rbrockerhoff replied he had too, in his case because you can’t create a dictionary from an array.
That tweet sent me deep down the rabbit hole experimenting with Dictionary. I keep wanting to fix it, like a scruffy boyfriend. But like with said boyfriend, that’s easier said than done.
Warning: some of the below is very…
View On WordPress











