aspose file tools*
The moose likes Features new in Java 8 and the fly likes So is it still Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Features new in Java 8
Bookmark "So is it still Java?" Watch "So is it still Java?" New topic
Author

So is it still Java?

Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

Yohan Weerasinghe wrote: Since Java is built on C++, ...

Where did you get this idea? It is simply false. The raw data types are the same as in C, but that's it. Java was designed to be far away from C++
Umesh Miie
Greenhorn

Joined: May 18, 2013
Posts: 4
David Blaine wrote:
Does Oracle make any money off Java ?


Will for one thing there is all the fees they charge for the Certificates they issue.
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3611
    
  60

Yohan Weerasinghe wrote:Anyway I have seen symbols like "->" which are pointer method calls in C++. Since Java is built on C++, this new version means Java new classes got access to pointers?

No, Java is not by any means "built on C++". The Java syntax was undoubtedly inspired by C/C++, but there's just a superficial similarity between the two.

Java 8 doesn't introduce pointers. The "->" token is used in definition of the Lambda expressions, as far as I know.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Yohan Weerasinghe wrote:
Rob Spoor wrote:You can go ahead and program exactly like you used to, plus use the new classes and interfaces. Just because the new language constructs are there doesn't mean you are required to use them. However, I do think you should at least check them out a bit. I've skipped Java 5.0 and stuck to Java 1.4 for too long just because I was afraid of everything that was new. I missed out a lot back then. I haven't made the same mistake when Java 7 came out, and I won't make that mistake when Java 8 comes out.

That is really great to know! I am really happy now!

Anyway I have seen symbols like "->" which are pointer method calls in C++. Since Java is built on C++, this new version means Java new classes got access to pointers?


If -> means something in C++, does it mean that it should means the same thing in Java, C#, Objective-C?
Guess what -> do in Clojure.

And I'm not sure what do you mean by "Since Java is built on C++", because it isn't.
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1851
    
  16

Pat Farrell wrote:Java was designed to be far away from C++

Not far enough in my book....


No more Blub for me, thank you, Vicar.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

chris webster wrote:
Pat Farrell wrote:Java was designed to be far away from C++

Not far enough in my book....


I agree. Most of what I dislike about Java's inheritance is really from C. The special handling that makes int/char/float not be objects is terrible, but was a sop to C/C++ programmers.

But the deliberate choices to not have multiple inheritance, and not have const pointers to const things, etc. were big wins.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: So is it still Java?