3 ms·
There is also no Django for Java, no Fast API for Java, no Typer for Java, etc. Why ? Because it's easier to write great frameworks in Python. It compounds.
by BiteCode_dev 5y ago
There is also no Django for Java, no Fast API for Java, no Typer for Java, etc.
Why ? Because it's easier to write great frameworks in Python.
It compounds.
- twic 5y agoEqually, there's no Hibernate for Python, no Spring for Python. And FastAPI looks basically like JAX-RS to me. I don't think the lack of any of these things is because they're impossible, or even particularly hard. It's because the community did or did not have the need and energy to build them. Remember that Java had Java EE forced on it quite early. That defined web development for a long time. Eventually Spring overthrew it, and became the new tyrant. Neither of those are quite like Django, or Rails, but they occupied the space that would have had to have been empty for a Django or Rails to emerge. I think this is rather unfortunate; it would be really useful to have a vibrant Django- or Rails-like framework in Java. There's no Typer because there isn't much of a culture of building command-line tools in Java. There are some good command-line parsing libraries, but nothing with all the bells and whistles and extensions that Typer has, as far as i know.
- BiteCode_dev 5y ago> Equally, there's no Hibernate for Python, no Spring for Python. And FastAPI looks basically like JAX-RS to me. Of course there is. In fact, SQLA is easier to use than Hibernate, and the ecosystem around is as rich. As for Spring, crossbar fits the bill. > I don't think the lack of any of these things is because they're impossible, or even particularly hard. It's because the community did or did not have the need and energy to build them. I've never say they are impossible. I've said they require less energy to build them in python :)
- slotrans 5y agoNo one who writes Python has ever said to themselves, "I wish I had Spring." It's not necessary, and it wouldn't even be beneficial. The kind of dynamism that Spring brings to Java, Python already has. Also Hibernate is terrible and should be erased from the Earth.
- deleted 5y ago[deleted]