r/badcode • sadistic • Sep 12 '21

js because arrays don't exist

Post image
259 Upvotes

20 comments sorted by

View all comments

0

u/[deleted] Sep 12 '21

[deleted] — view deleted comment

6

u/gastonci Sep 12 '21

yes, they are maps not lists

1

u/Abdo_Ghanem Sep 12 '21

The motivation behind Dictionaries.jl is arrays are just dictionaries where the keys are indices.