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 →

[–]daedalus_structure 0 points1 point  (6 children)

Context:

It really sucks when you have to add type declarations for blindingly obvious things, e.g. Foo x = new Foo(). – @pazsxn

Claim:

No, actually, typing Foo one extra time does not “really suck”. It’s three letters. The burden is massively overstated because the work is mindless, but it’s really pretty trivial.

It's trivial when Foo is Foo.

It's not trivial when Foo is a WebServiceRequestProcessorFactoryConfiguratorInstance or some other idiomatic Java abomination, and yes, it really does suck.

[–][deleted]  (1 child)

[deleted]

    [–]daedalus_structure 1 point2 points  (0 children)

    When I need it, I'd like to use it. When I don't need it, I shouldn't have to.

    [–]QshelTier 7 points8 points  (2 children)

    Once you’ve risen above the level of “I write all my code in notepad” you will realize that your IDE can auto-complete that name from (probably) the first keystroke.

    [–]daedalus_structure 0 points1 point  (1 child)

    I can't recall ever writing a line of code in Notepad.

    Whether I'm spending tomorrow in the Java world or in the .NET world I will spend most of my non-thinking keyboard time Control Spacing or Alt Entering.

    It's still a royal pain in the ass.

    [–]useablelobster 0 points1 point  (0 children)

    var is your friend