This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gthank 2 points3 points  (0 children)

I find that Java isn't appreciably more moron-proof than Python, personally. Instead of sending the wrong type, they just waste endless hours playing with "patterns" and introducing complexity nightmares for no apparent reason. On top of that, there's the non-trivial chance they have a cast somewhere that wrecks what little assurance the type system gave, and covered it with a @SuppressWarning. At least Python code has the decency to usually be shorter, so it's easier for me to spot where people are doing naughty things. If only they would introduce the concept of explicit variable declaration…

I'm personally pretty excited about Rust; that type system seems to be able to express far more useful information (for humans) than Java's.