(Untitled)

Mar 06, 2012 18:06

I have yet to read a Java vs python comparison which was written by anyone with any serious enterprise development experience ( Read more... )

Leave a comment

Comments 7

alexmc March 7 2012, 08:35:05 UTC
Yes. :-(

Reply


quercus March 7 2012, 18:11:07 UTC
I've got the experience of all three.

On the whole, I'd go with Java. This isn't because Java is better, or because Java people are better, but because Java is infinitessimally more robust against lazy code written by average coders. Bad Java is bad Java. It's harder to maintain than bad Python (bad Java tends to be verbose and over complicated, whereas bad Python is over-simple and a bit easier to rework). However bad Java smells worse. There's an awful lot of good practice around in how to run an effective Java shop, even if most of the suits wouldn't recognise it if it bit them. If you have an average team, and some better than average team leads, you can at least judge your product quality. You can know that some new Java is bad, which gives you the chance to fix both the code and its coders. Pair programming works well in Java, I've never seen it work in Python ( ... )

Reply

rhialto March 10 2012, 09:38:02 UTC
The thing with dynamic typing is that it is nice in the occasion you want it, but you don't want it everywhere, all the time. There is lots of code where you can assign some type to your data with certainty. You'd like to express that in the code, if only to aid the reader in understanding what's going on, and to help the compiler to double-check. However, to my knowledge (I'm not a Python expert), Python has no syntax to let you optionally specify the type of your data.

Reply

quercus March 14 2012, 12:11:58 UTC
Python has plenty of ability to build statically-typed code, but it's so tedious that you might as well do it in Eiffel. You can't do it by syntax alone, but the check is easy enough with isinstance ( ... )

Reply

shevek March 18 2012, 10:04:11 UTC
While isinstance() is easy, it's also too late. It's like an anti-missile system which detects incoming missiles by the "Wait for bang" method ( ... )

Reply


Leave a comment

Up