Thread: new language

  1. #16
    Registered User
    Join Date
    Dec 2001
    Posts
    126
    I have some Prolog stuff, but I can't find a good resource to learn it from.

  2. #17
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    heh - when I first started on C, all I had was a little booklet on the rules of the C language, and a programming book in Fortran! Needless to say, concepts are concepts and it was a decent start. Go figure.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  3. #18
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052

    Re: new language

    Originally posted by dukemarlon
    Does anyone know what the new programming language after Java is going to be, just wondering so I can get a head-start on learning it.
    Jibberish!! Want a head-start? Here ya go...
    Code:
    // simple hello world app
    dzkjfkfasefwefwf;
    sfsfeaffeef4t464e;
    awdasd sfd sfsfvcv;
    rdgrgsdrgr5yhhtfh; // output "hello world"
    jkfdhksfkjshjfhkas;
    fsdfsfhdkjshfkasf;
    sfsdfhshfduhsfdsf98wur0-92q384-124sdfjlskdfjlksjfljasdfjlksjd907307r08232038r09238r0982sey98weyr98qwyrdfhwequsfoijeiofhiqwyf[pejpqjfophqwoeufhqowefhkjwfhwq;
    sfhsgfhksbdfsbdfsjfd; // quit

  4. #19
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    I agree with OneStiffRod in that if you know one you can easily pick up the rest. But I don't believe that C++ is what you need to learn. It truly doesn't matter. It does help to get a taste of both pure procedural and object oriented languages though. After a certain point you will learn languages merely by reading a quick 10 page reference manual.

    Anyways, I just don't see C# taking JAVA's place at all. I just can't see how or why it would. It truly boggles the mind.

  5. #20
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    The next big language is going to be Omicron.

    Btw, I cannot really understand why PERL is so popular. Prepending each variable's name with "$" is horrible. I know the language is from the USA, but it is still a very ugly syntax.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  6. #21
    Registered User
    Join Date
    Nov 2002
    Posts
    42

    Prolog.....

    I am doing a course on Prolog too (Rule Based Computing). I find it interesting, but difficult too. The compiler that we use, Visual Prolog, is useless. It gives horrible errors, and is really difficult to work on. Is Prolog used in industry, or am I just learning it like that (for a few credits, i.e.). And then, it's so much different from C/C++. Is it really used to simulate Intelligence at a professional level ???

  7. #22
    Registered User
    Join Date
    Nov 2002
    Posts
    42

    Reading Stuff

    Try "Programming in Prolog" by Clocksin and Mellish. Or "Programming in Prolog for A.I" by Ivan Bratko.

  8. #23
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    I really agree with Sang~Drax. Omicron is the wave of the future.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  9. #24
    Registered User
    Join Date
    Dec 2001
    Posts
    126
    What's Omicron all about?

  10. #25
    Registered User adamviper's Avatar
    Join Date
    Nov 2002
    Posts
    132
    Yea what is omacron
    i would really like to know

  11. #26
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by adamviper
    Yea what is omacron
    i would really like to know
    You could always try the link in his signature - Quidquid Omicron dictum sit, altum videtur.

  12. #27
    Wow, I got a lot of diverse languages... I don't think C# will last too long, and I would like to learn ruby (maybe in college)
    Go Java!!!

  13. #28
    IMO javascript is the language of the future.
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

  14. #29
    Registered User
    Join Date
    Jun 2002
    Posts
    82
    Originally posted by Sang-drax
    The next big language is going to be Omicron.

    Btw, I cannot really understand why PERL is so popular. Prepending each variable's name with "$" is horrible. I know the language is from the USA, but it is still a very ugly syntax.
    Why? Here's some pretty good reasons (in no particular order):
    1. A VERY active user community with lots and lots of freely available modules to suit just about any problem you may be having.
    2. Simple programs can be run directly from the command line without having to create a file with the code in it.
    3. Flexibility in idioms; TMTOWTDI (There's More Than One Way To Do It).
    4. That ugly syntax you refer to provides many useful capabilities, like variable interpolation within a string, simplified array manipulation, etc.
    5. Truly amazing text-processing capabilities (Perl's greatest strength in my opinion).
    6. The Inline module, which allows use of multiple languages in the same code file.
    7. Built-in debugger.

    There's more, but I haven't the mental stamina to go into it. It really is an amazingly easy language to learn. The reasons I give are obviously not exclusive to Perl, but they are some of the things that make it popular. Personally, I use it more for my work than any other language.
    Claus Hetzer
    Compiler: Borland 5.5 (on Windows)
    Solaris CC (on Unix)
    Known Languages: C++, MATLAB, Perl, Java

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  2. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  3. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 01:11 PM
  4. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  5. Language Script..
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-30-2003, 06:48 AM