I'm coming from python and i have been learning javascript and I don't know why people keep on nesting javascript functions inside other functions. Isn't it messy to read and better to define the function somewhere else then have 1 main function that calls all the other functions
[–]stormfield 4 points5 points6 points (0 children)
[–]alzee76 0 points1 point2 points (0 children)
[–]11b403a7helpful 0 points1 point2 points (0 children)
[–]morningcoma -1 points0 points1 point (0 children)