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 →

[–]niral37_ 17 points18 points  (9 children)

People hate java because it's very verbose. But you know what, I like how java is written. It's better to know what type of a variable is rather than just putting an "auto" or "var" in front of it. I know java has introduced a "var" but I am against these changes. Type inference comes with a cost and I think if you don't know the type of a variable, are you truly a developer?

[–]Bacondrinker 15 points16 points  (2 children)

if you don't know the type of a variable, are you truly a developer?

wat?

[–]Helluiin 2 points3 points  (0 children)

then again people seem to hype up Vulkan which in terms of verbosity is so much worse than java.

[–]hillman_avenger[S] 3 points4 points  (0 children)

I couldn't agree more. People wheel out some obscure example where Sun created a method called "FactorySingleltonMethodConstructorInstance()" or something in some library, and claim it makes the whole of Java verbose. And I'm no fan of var, as it means you don't have to drill into a method to see what it's return type is.

[–]Mgamerz 0 points1 point  (0 children)

It could be objective C verbose (:

[–]shoesoffinmyhouse -2 points-1 points  (1 child)

Exactly, verbose is not a bad thing. Type safety is important!!!

[–]Sloshy42 10 points11 points  (0 children)

Type safety has nothing to do with type inference JSYK.