Aug-10-2021, 12:21 PM
I get what you are saying, but structured programming languages such as Java, C++, and Python have avoided the "goto" statement of earlier languages. Reduces the spaghetti code.
As was mentioned, Jupyter (named for Julia, Python, and R, the 3 languages it was designed for) is designed for more interactive code execution - write a snippet, debug it, move to the next snippet, with each snippet taking care of a task. Great for data exploration. Takes some thought to organize the snippets so it breaks where you want, not so great for programmatic flow control like "skip the next 2 cells and start there". For that you are better off with one of the other IDEs, such as VS Code, Spyder, PyCharm, etc.
So it is choosing your tool. I just did a data analysis looking at mask and social distancing compliance in different populations. Did that in Jupyter Lab. I also have a project using Markov chains and that I am doing in VS Code. VS Code has introduced the ability to do notebooks so may look at that later, but bottom line is no one tool is best for everything.
As was mentioned, Jupyter (named for Julia, Python, and R, the 3 languages it was designed for) is designed for more interactive code execution - write a snippet, debug it, move to the next snippet, with each snippet taking care of a task. Great for data exploration. Takes some thought to organize the snippets so it breaks where you want, not so great for programmatic flow control like "skip the next 2 cells and start there". For that you are better off with one of the other IDEs, such as VS Code, Spyder, PyCharm, etc.
So it is choosing your tool. I just did a data analysis looking at mask and social distancing compliance in different populations. Did that in Jupyter Lab. I also have a project using Markov chains and that I am doing in VS Code. VS Code has introduced the ability to do notebooks so may look at that later, but bottom line is no one tool is best for everything.