Python is so verbose, I am annoyed with it and thinking about making the switch to Julia.
Anyone switch from Python to Julia
-
Python is so verbose, I am annoyed with it and thinking about making the switch to Julia.
Verbosity is the dumbest possible reason for this. The *actual* reason to use Julia is if you want your code to run fast without mucking around with Numba or being careful about avoiding overhead. The cost is that Julia doesn't have enough libraries yet and is still buggy.
Verbosity used to be a legitimate complaint about Python, when it didn't have an infix matrix multiplication operator. But then it introduced one, eliminating the major case in which Python is annoyingly more verbose.
If you are really that irritated about typing the "np" in np.zeros or np.ones or np.max or np.sum, I don't know what to tell you. (Note that Python's default behavior is actually superior on the final two, applying to the entire arrays rather than column-wise unless specified otherwise, which is more often what you want.) You can always make your code do a "from numpy import zeros, ones, max, sum" if this is really so annoying to you, but this is some seriously dumb s**t.
-
fortran always. After building mine library, I code faster and the code runs faster than in any other language. Also, and this is the best thing about it for me, I can code in a very simple and loopy way. Makes it easier to understand.
So, Fortran works well for one simple-minded China person.
Hardly a compelling argument.
-
Not chinese here. THere are many of us around. Also, feel free to code in excel if you want. I couldn't care less about your programming language.
fortran always. After building mine library, I code faster and the code runs faster than in any other language. Also, and this is the best thing about it for me, I can code in a very simple and loopy way. Makes it easier to understand.
So, Fortran works well for one simple-minded China person.
Hardly a compelling argument. -
Python is so verbose, I am annoyed with it and thinking about making the switch to Julia.
Verbosity is the dumbest possible reason for this. The *actual* reason to use Julia is if you want your code to run fast without mucking around with Numba or being careful about avoiding overhead. The cost is that Julia doesn't have enough libraries yet and is still buggy.
Verbosity used to be a legitimate complaint about Python, when it didn't have an infix matrix multiplication operator. But then it introduced one, eliminating the major case in which Python is annoyingly more verbose.
If you are really that irritated about typing the "np" in np.zeros or np.ones or np.max or np.sum, I don't know what to tell you. (Note that Python's default behavior is actually superior on the final two, applying to the entire arrays rather than column-wise unless specified otherwise, which is more often what you want.) You can always make your code do a "from numpy import zeros, ones, max, sum" if this is really so annoying to you, but this is some seriously dumb s**t.Yup. Are your running an optimization looping through arrays and it's taking a long time? Then Julia is for you. Otherwise, stick to python, it's better for you in terms of outside opportunities.