Like Tree12Likes

What is your favorite language other than C/C++ and why?

This is a discussion on What is your favorite language other than C/C++ and why? within the General Discussions forums, part of the Community Boards category; bc9Basic ( bc9Basic ) It probably doesn't qualify as it is a translator maintained by me. As a BASIC coder ...

  1. #16
    Registered User
    Join Date
    Mar 2013
    Posts
    35
    bc9Basic (bc9Basic)


    It probably doesn't qualify as it is a translator maintained by me.


    As a BASIC coder for almost 40 years I LIKE BASIC syntax but realize the real power is in c++ so .....


    James
    Epy and stahta01 like this.

  2. #17
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,460
    Quote Originally Posted by Elkvis View Post
    perhaps in terms of programmer productivity for general windows apps, but try interfacing with an external native library, and you'll see where it's inadequate.
    Nope. cfanatic logic statement will still hold. C + WinAPI < VB.Net

    The windows Native API (which isn't WinAPI) does in fact pose a problem for many of its functions. But it's more productive to simply write a C wrapper around the functions you need to use and then just get your VB.Net to access that wrapper dll.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #18
    Registered User
    Join Date
    Oct 2006
    Posts
    2,402
    Quote Originally Posted by Mario F. View Post
    ...simply write a C wrapper around the functions you need to use and then just get your VB.Net to access that wrapper dll.
    yes, but that makes it necessary to abandon "pure" VB. developing in pure VB, accessing a native library is possible, but it is cumbersome and inconvenient. C#'s native library calling mechanism is only slightly less inconvenient.
    Code:
    namespace life
    {
        const bool change = true;
    }

  4. #19
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,460
    When you said native library I assumed you meant the Native Windows API. Not the WinAPI. Those functions are indeed usually inaccessible to .Net and either require a C wrapper, while others are simply impossible to be implemented.

    The WinAPI itself (or any other external DLL) is rather easy to access otherwise and I don't fully understand what you mean by being cumbersome or inconvenient as opposed to C or C++ own woes when dealing with the WinAPI, which is known for its horrid names and convoluted libraries. The .Net P/Invoke is a rather simple and intuitive mechanism, while the MarshalAsAttribute under System.Runtime.InteropServices easily takes care of any type conversion if required.

    I don't know of any language that hasn't to jump through hoops to make use of the WinApi. Any anedoctal evidence you may bring isn't evidence enough, because for each you come up with, I can probably come up with another than demonstrates the easy of use of P/Invoke and the MarshalAs attribute.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #20
    Registered User TheBigH's Avatar
    Join Date
    May 2010
    Location
    Melbourne, Australia
    Posts
    426
    Python.

    I have found that with C, Python, and a little bit of shell scripting, I have no conceivable need for anything else.
    Epy and Sebastiani like this.
    Code:
    while(!asleep) {
       sheep++;
    }

  6. #21
    Epy
    Epy is offline
    Fortran lover Epy's Avatar
    Join Date
    Sep 2009
    Location
    California, USA
    Posts
    963
    Quote Originally Posted by TheBigH View Post
    Python.

    I have found that with C, Python, and a little bit of shell scripting, I have no conceivable need for anything else.
    That was my attitude for a while: C for serious things or things that needed speed, Python for everything else.

  7. #22
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by TheBigH View Post
    Python.

    I have found that with C, Python, and a little bit of shell scripting, I have no conceivable need for anything else.
    Change that first selection to C++ and I'm in total agreement.
    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;
    }

  8. #23
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    C#. I detest that all my code is in one file and that I have to abuse DLLs and use them as interface headers at times but other than those and a few other minor quibbles I enjoy using the language.

  9. #24
    Registered User
    Join Date
    Oct 2013
    Posts
    12
    Python as well.
    But I do love C

  10. #25
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,624
    Of course, I like C, but it doesn't come with a life jacket.

    I like Python as well, but it's syntax is a little tight.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  11. #26
    Registered User
    Join Date
    Oct 2013
    Posts
    1
    I started to learn language with C but when came to learn about Java, i got in love with Java. Java is much easy than C or C++ but C is still a native language for Java or others.

  12. #27
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by Arnav Kumar View Post
    I started to learn language with C but when came to learn about Java, i got in love with Java. Java is much easy than C or C++ but C is still a native language for Java or others.
    What I really love about Java is that, well, it reminds me of my favorite beverage. That's about it though...
    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;
    }

  13. #28
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Let me add that I enjoy any language that has made me money.
    Epy likes this.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Is C++ or C language is a high Level language?
    By uthmankhale in forum C++ Programming
    Replies: 5
    Last Post: 08-25-2011, 06:00 PM
  2. What's the Difference Between a Programming Language and a Scripting Language?
    By Krak in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 07-15-2005, 04:46 PM
  3. What's your favorite language/API
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 03-18-2003, 07:41 PM
  4. Favorite Programming Language survey
    By dv007 in forum C Programming
    Replies: 14
    Last Post: 08-05-2002, 02:58 PM
  5. Computer Language VS Spoken Language
    By Isometric in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 02-04-2002, 02:47 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21