Hacker News new | ask | show | jobs
by whalesalad 2134 days ago
If you can’t get over the syntax differences I can’t imagine why you’d ever want to program in Python. You don’t need to force yourself to like or use Python in the same way some people just don’t want to eat fish, or choose to be vegetarian. It’s not for everyone. Why try to shove a square peg in a round hole?
3 comments

Lots of great statistical and NLP libraries are written in Python. I'd actually argue Python is one of the few languages without a great alternative for certain niches right now.
Then have a look at Julia, you can use all those libraries from Julia and its own as well.
Interop comes in many flavors. If I were to consider Julia a replacement for Python, I'd need to know that Julia can interop seamlessly with it, like Kotlin can with Java.

How do you feel about the user experience for Julia/Python interop?

I can only tell you that I consider it excellent and that I would rather use Julia with PyCall than Python.
Julia has an excellent interop story with many languages. Probably C, Fortran and Python are the most polished.

Check out https://github.com/JuliaPy/PyCall.jl

I strongly dislike python, but I do have to use it because so many libraries are written for it.

It's the pragmatic choice.

Look at Julia and PyCall.jl, as well as its own libraries.
Except, if your job requires it.