File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Scala and the fly likes C++ taking the scala-trait Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Scala
Bookmark "C++ taking the scala-trait" Watch "C++ taking the scala-trait" New topic
Author

C++ taking the scala-trait

Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Look here: http://gcc.gnu.org/gcc-4.4/cxx0x_status.html

looks like C++ is taking a similar way as scala did.
i.e.:
  • auto-typed variables
  • Lambda expressions and closures
  • Minimal support for garbage collection


  • Do all languages converge? Well - no, C++ will still support pointers and pointerarithmetik.


    http://home.arcor.de/hirnstrom/bewerbung
    Pat Farrell
    Rancher

    Joined: Aug 11, 2007
    Posts: 4637
        
        5

    gaag. I've written elsewhere that I think Java took the wrong track with making changes and then insisting on backwards compatibility. I think Python and Perl have a better approach, do new stuff, fix bad designs, but be willing to break old code.

    I spent five or so years writing C++, coming from a C and other language world before that. I've been in Java with some Perl/python/php for over a decade. When I left C++, I never wanted to look back.

    Mostly because C++ was just C with classes, and lots of baggage layered on that made it very hard for professional developers to figure it out. All the const references to pointers, bletch.

    Adding functional programming ideas to C++ is not going to make it better. IMHO. They could just go ahead and call it D or D++.

    Of course, I'm biased. I think Java has too many C constructs, like int, float, etc. that no self respecting OO language would have.

    YMMV
    Marc Peabody
    pie sneak
    Sheriff

    Joined: Feb 05, 2003
    Posts: 4727

    Pat Farrell wrote:Adding functional programming ideas to C++ is not going to make it better. IMHO. They could just go ahead and call it D or D++.
    or D- or F


    A good workman is known by his tools.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: C++ taking the scala-trait
     
    Similar Threads
    Android Development - language
    IDE support for Scala and Lift?
    Best Language for Android Development
    What does Scala offer (besides concurrency)?
    Little forum activity = FewScala users?