Hacker News new | ask | show | jobs
by wheaties 3148 days ago
The best ecosystem out there? Since when? I'd say that Java and Python have huge, wonderful and full ecosystems. Golang doesn't even come close to that, yet. Furthermore, Golang doesn't even have a community standard (or several standards) dependency manager.
3 comments

Python's packaging is a nightmare of half-baked, incompatible approaches that puts the lie to the famous "Zen of Python" that "There should be one-- and preferably only one --obvious way to do it."
and yet Pipenv is miles ahead of what Go has to offer.
And yet pip has just worked for me. Can’t say the same about any of the go dep tools.
Try using pip to install multiple versions of the same library at the same time, or the same library running under different versions of Python.
Agreed on the packaging side, but the python community / existing libs (the entire rest of the ecosystem) is miles ahead of Go's at this point.
Bold choice.
I hear people praise the Java ecosystem so often, but when I use it I cannot replicate that.

There is nothing like Django in Java land? Instead you are sent into a confusing mess of interface standards like JPA and implementations (hibernate, ebeans, ...) and little guidance how to choose.

Equivalent of Django would be something like Spring Boot, Play Framework etc.

It's quite common that some of these frameworks rely on community infrastructure that has several competing implementations, like JPA, but the point of a tool like Boot is that they picked all the implementations for you and documented it all centrally.

We tried Play. It is not close to Django. At least with Java. It might be better if you use Scala.

For example, one thing which seems to be worse across the board is database evolutions. Django will autogenerate an evolution in Python for you [0] and if necessary you can adapt the code. In Java land you have to write SQL by hand [1] afaik? If SQL is not enough, I don't know what to do at all.

[0] https://docs.djangoproject.com/en/1.11/topics/migrations/ [1] https://www.playframework.com/documentation/2.6.x/Evolutions...

Hibernate can do automatic migrations, but I think most complex deployments prefer to take direct control of the process.
Fair enough. I should have said one of the best. A bit of sensualism there.
Really love your language ;)

Sensationalism maybe?

Yes, of course, thanks for correcting me!

WTF is wrong with me?? I should be banned from this forum for life!