5 ms·
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. Fu
by wheaties 9y 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.
- pmoriarty 9y agoPython'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."
- Groxx 9y agoAgreed 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.
- qaq 9y agoand yet Pipenv is miles ahead of what Go has to offer.
- deleted 9y ago[deleted]
- freyir 9y agoBold choice.
- Karupan 9y agoAnd yet pip has just worked for me. Can’t say the same about any of the go dep tools.
- pmoriarty 9y agoTry using pip to install multiple versions of the same library at the same time, or the same library running under different versions of Python.
- noncoml 9y agoFair enough. I should have said one of the best. A bit of sensualism there.
- hackerfromthefu 9y agoReally love your language ;) Sensationalism maybe?
- noncoml 9y agoYes, of course, thanks for correcting me! WTF is wrong with me?? I should be banned from this forum for life!
- qznc 9y agoI 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.
- peoplewindow 9y agoEquivalent 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.
- qznc 9y agoWe 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/ https://docs.djangoproject.com/en/1.11/topics/migrations/ [1] https://www.playframework.com/documentation/2.6.x/Evolutions#Running-evolutions-using-compile-time-DI https://www.playframework.com/documentation/2.6.x/Evolutions...
- peoplewindow 9y agoHibernate can do automatic migrations, but I think most complex deployments prefer to take direct control of the process.