6 ms·
Even in its present state, Jupyter is strictly better than plain REPL, especially if you need visualization. It's like Python in general: it was not designed to
by h4b4n3r0 8y ago
Even in its present state, Jupyter is strictly better than plain REPL, especially if you need visualization. It's like Python in general: it was not designed to write 10-100KLOC programs. Python was designed for scripting. Jupyter was designed for interactive data exploration, and to create a record of results which you can view without re-executing the cells. Is it error prone? Yes. But then so is REPL.
- LittlePeter 8y ago> Python was designed for scripting. Can you provide a citation?
- h4b4n3r0 8y agoI don’t provide citations for such obvious things. If you’re interested, you can find the origin story as written by Guido himself in Python FAQ using any of the available search engines.
- LittlePeter 8y agoI was not able to find it. What I was able to find is this: "Python is an interpreted, interactive, object-oriented programming language." https://docs.python.org/3/faq/general.html#what-is-python https://docs.python.org/3/faq/general.html#what-is-python Yes some people do write scripts in Python. Does that make Python a scripting language? Maybe in your definition of scripting language.
- PurpleRamen 8y agoA bit below your section you will find https://docs.python.org/3/faq/general.html#why-was-python-created-in-the-first-place https://docs.python.org/3/faq/general.html#why-was-python-cr... Notable part: [..]We needed a better way to do system administration[..]
- stevesimmons 8y ago> Python was designed for scripting. It's far more than scripting, and for much bigger programs than 10k LOC... My company's Python codebase is 35m LOC/500k modules, with 25k commits per week and contributions from 2.5k developers per month. To my mind, Python has the opposite problem. I've been a Python programmer since 2000. Every few years, I think I should devote more time to other languages (first Java, then R, then Haskell, then JS, ...). But the Python ecosystem just keeps getting stronger. My current focus is data science and machine learning. In these domains, there are no good reasons to drop Python.
- h4b4n3r0 8y agoJS was also designed for scripting