# Best way to create/assign variables based on strings

**URL:** <https://discourse.julialang.org/t/best-way-to-create-assign-variables-based-on-strings/3001>\
**Category:** New to Julia\
**Created:** [April 1, 2017, 4:47pm UTC](https://discourse.julialang.org/t/best-way-to-create-assign-variables-based-on-strings/3001 "2017-04-01T16:47:43Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![Jeff\_Emanuel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeff_emanuel/32/15440_2.png) [@Jeff\_Emanuel](https://discourse.julialang.org/u/Jeff_Emanuel)\
**Post date:** [February 24, 2021, 3:12pm UTC](https://discourse.julialang.org/t/best-way-to-create-assign-variables-based-on-strings/3001/21 "2021-02-24T15:12:58Z")

</div>

Sorry, this has veered off topic (so feel free to move it), but [https://homepages.cwi.nl/~storm/teaching/reader/Dijkstra68.pdf](https://homepages.cwi.nl/~storm/teaching/reader/Dijkstra68.pdf) Before languages had richer control structures GOTO was necessarily ubiquitous in code. It was so ingrained in programmer habits and thought that even after the introduction of better control structures, its use persisted.

[Previous page](https://discourse.julialang.org/t/best-way-to-create-assign-variables-based-on-strings/3001.md?page=1)
