Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958924

Pages: 1
Anonymous
Unregistered




No to 'C' or 'C++' style...
      #17778 - 05/10/05 03:28 PM

There doesn't seem to be any compelling reasons as to why Java needs to adopt itself towards to the lazy 'C' or 'C++' programmers.... the new 'enum' paves the way. Don't we have a classic style of doing away with 'enum' in Java? Why the forgotten 'printf' is back into Java? Why the support for variable argument lists?

Moreover, the 'improved' 'for' makes the code non-readable... man, where is Java going?!

OK, one good thing is the 'annotations'. Cool one.


Post Extras: Print Post   Remind Me!   Notify Moderator  

Unregistered




Re: No to 'C' or 'C++' style... [Re: Anonymous]
      #37110 - 09/27/06 08:36 AM

Iam very sad to see the printf syntax in java. Is there a transition taking place from java to C++ ? "For" loop syntax is non readable. Everything was fine with JDK 1.4 . But i think jdk 1.5 is messing up java with C, C++ style. Its not a happy news to java brains. Java should be unique.

Post Extras: Print Post   Remind Me!   Notify Moderator  

Unregistered




Re: No to 'C' or 'C++' style... [Re: Anonymous]
      #37161 - 09/28/06 05:14 AM

Java's always been about building off C++ - nothing new there. If you're only complaining now you haven't been paying attention.

Formatted strings should have been there from the start - tell me, what alterantive would you use?

The new style for loops are far better - they explictly say that you want to do an iteration, it's not just some convenient way of expressing an equivalent while loop.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 5378

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5