Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What do you love about the languages you use?

What do you love about the languages you use?

Scheduled Pinned Locked Moved The Lounge
hardwarecsharpjavascriptpythongraphics
39 Posts 25 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Chris Maunder

    I'm a little grumpy and have read way too many "tech X sucks" (and I'm responsible for some of them). So what do you love about the languages you use? I'll start. C#: It runs everywhere. macOS, Linux, Windows, Raspberry Pi's, in the browser via WASM, on mobile devices, you name it. Literally every platform I support I can write code using C#. The type safety and static checking is amazing, the syntax (generally...) very clean, and given it's basically the grandson of C, the syntax is like my Mother Tongue. Python: Again, it runs everywhere, and it often runs everywhere because it's built in by default everywhere. It's interpreted so awesome in notebooks, great to run on the command line to quickly test something, and there's just so, so much code out there. Sure the indents take getting used to, but no brackets certainly cleans the place up. JavaScript: I love it because I deploy it one: on my server. It then runs everywhere there's a browser and I never have to worry about hardware or libraries or graphics cards or harddrive space. If there's a bug I upload a new version and everyone, immediately, is also updated. What about you lot?

    cheers Chris Maunder

    H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #30

    I like C#6 because it's clean and smart. It's easy to write code in, and quick. As a sort of RAD language, it's great. I love C++ primarily because of the ability to do metaprogramming with it, which makes it unlike any other major language out there. Beyond that, I love its flexibility. It does take a long time to acclimate to it, and make avoiding all the gotchas instinct, but once you do you it's so worth it.

    There's smoke in my iris But I painted a sunny day on the insides of my eyelids So I'm ready now (What you ready for?) I'm ready for life in this city And my wings have grown almost enough to lift me

    1 Reply Last reply
    0
    • C Chris Maunder

      I'm a little grumpy and have read way too many "tech X sucks" (and I'm responsible for some of them). So what do you love about the languages you use? I'll start. C#: It runs everywhere. macOS, Linux, Windows, Raspberry Pi's, in the browser via WASM, on mobile devices, you name it. Literally every platform I support I can write code using C#. The type safety and static checking is amazing, the syntax (generally...) very clean, and given it's basically the grandson of C, the syntax is like my Mother Tongue. Python: Again, it runs everywhere, and it often runs everywhere because it's built in by default everywhere. It's interpreted so awesome in notebooks, great to run on the command line to quickly test something, and there's just so, so much code out there. Sure the indents take getting used to, but no brackets certainly cleans the place up. JavaScript: I love it because I deploy it one: on my server. It then runs everywhere there's a browser and I never have to worry about hardware or libraries or graphics cards or harddrive space. If there's a bug I upload a new version and everyone, immediately, is also updated. What about you lot?

      cheers Chris Maunder

      W Offline
      W Offline
      Wizard of Sleeves
      wrote on last edited by
      #31

      The language I use is better than the language you use! I have been around long enough to have actually used Fortran and COBOL. Several years ago I got involved in a project that uses JavaScript. Ugh! Why do we have to use it? Now that I am proficient in it, and with it's new features, I really like it. It is now my code of choice. In time, I will probably be forced, under duress of course, to use another language; and the cycle will repeat.

      Nothing succeeds like a budgie without teeth. To err is human, to arr is pirate.

      1 Reply Last reply
      0
      • M Member 12415033

        I retired and I'm trying to forget everything I ever knew about computers. So about the languages I use. Spanish: it is pronounced the way it is spelled, unlike English. It has fewer exceptions than the other languages I know. (I'm fluent) French: so much of English comes from French. The spelling sucks, but not as bad as English. (I'm conversational) Mandarin: It is logical, but the tones drive me crazy. (I'm a high beginner. Give me two years) English: English is totally illogical. There are so many exceptions. The rules for plurals have two pages of exceptions. I honestly feel sorry for my students learning English. (My native language)

        J Offline
        J Offline
        jschell
        wrote on last edited by
        #32

        Member 12415033 wrote:

        English: English is totally illogical

        Definitely.

        1 Reply Last reply
        0
        • B BryanFazekas

          C#: Has good market share and will be around for a while, so I have a paycheck. I do WinForm and web development, but it's a plus that it runs on other platforms, should I need to go there. The con is that the MS C# dev team struggles to remain relevant, so 95% of new features do nothing more than make the language more complicated than it should be. SQL: It's the language of the major DBs I use and is mostly the same. The con is that it's mostly the same across DBs ... In the past: VB 4/5/6: At the time highly popular, which ensured a paycheck. Syntax is highly readable and was designed for rapid development -- C++ guys whined about how hard it was to create screens while I was producing entire applications that ran for years. The cons? MS stupidly killed its cash cow, and folks still whine about "go to". For me, the major plus of any language is that it has sufficient market share and longevity to keep me employed. A lot of the details that folks list don't mean much to me -- it's just another language. Upstream a responder listed about a dozen tech's that went the way of the dodo -- I did most of the ones listed, plus a few others. After a few decades, having to learn yet another language for a short-term assignment lost its magic. :laugh:

          J Offline
          J Offline
          jschell
          wrote on last edited by
          #33

          BryanFazekas wrote:

          For me, the major plus of any language is that it has sufficient market share and longevity to keep me employed. A lot of the details that folks list don't mean much to me -- it's just another language.

          True for me also. Although I will say I have no desire to write COBOl lambdas.

          1 Reply Last reply
          0
          • C Chris Maunder

            I'm a little grumpy and have read way too many "tech X sucks" (and I'm responsible for some of them). So what do you love about the languages you use? I'll start. C#: It runs everywhere. macOS, Linux, Windows, Raspberry Pi's, in the browser via WASM, on mobile devices, you name it. Literally every platform I support I can write code using C#. The type safety and static checking is amazing, the syntax (generally...) very clean, and given it's basically the grandson of C, the syntax is like my Mother Tongue. Python: Again, it runs everywhere, and it often runs everywhere because it's built in by default everywhere. It's interpreted so awesome in notebooks, great to run on the command line to quickly test something, and there's just so, so much code out there. Sure the indents take getting used to, but no brackets certainly cleans the place up. JavaScript: I love it because I deploy it one: on my server. It then runs everywhere there's a browser and I never have to worry about hardware or libraries or graphics cards or harddrive space. If there's a bug I upload a new version and everyone, immediately, is also updated. What about you lot?

            cheers Chris Maunder

            S Offline
            S Offline
            sasadler
            wrote on last edited by
            #34

            Heh, as an embedded developer (now retired) C/C++ was pretty much my only option. A lot of my career was spent on TI DSPs and something like C# was never an option.

            1 Reply Last reply
            0
            • C Chris Maunder

              I'm a little grumpy and have read way too many "tech X sucks" (and I'm responsible for some of them). So what do you love about the languages you use? I'll start. C#: It runs everywhere. macOS, Linux, Windows, Raspberry Pi's, in the browser via WASM, on mobile devices, you name it. Literally every platform I support I can write code using C#. The type safety and static checking is amazing, the syntax (generally...) very clean, and given it's basically the grandson of C, the syntax is like my Mother Tongue. Python: Again, it runs everywhere, and it often runs everywhere because it's built in by default everywhere. It's interpreted so awesome in notebooks, great to run on the command line to quickly test something, and there's just so, so much code out there. Sure the indents take getting used to, but no brackets certainly cleans the place up. JavaScript: I love it because I deploy it one: on my server. It then runs everywhere there's a browser and I never have to worry about hardware or libraries or graphics cards or harddrive space. If there's a bug I upload a new version and everyone, immediately, is also updated. What about you lot?

              cheers Chris Maunder

              S Offline
              S Offline
              SeattleC
              wrote on last edited by
              #35

              Yeah, I gotta stick up for C++. People with less than 20 years experience all think C++ is complicated and weird. They are too young to remember that C++ was perfectly compatible with C's weird declaration syntax, and that a whole generation of C programmers got to learn C++ gently and incrementally. The compatibility of C++ with C and with previous C++ standards is why there is a modern language for high performance code, and we aren't all stuck with C. C++ is the reason Java and C# look like they do. Back before github, before sourceforge, when there weren't vast code libraries online, being able to use the code you found was important, and C++ let you do that with C++ and C source code. The reason less experienced people brag that they don't need to learn algorithms and data structures is because Alexander Stepanov created STL, the library of generic algorithms and data structures in 1995, for C++. C++ is still where the programming world goes for high performance. Someday, maybe Rust...but not today.

              B 1 Reply Last reply
              0
              • C Chris Maunder

                I'm a little grumpy and have read way too many "tech X sucks" (and I'm responsible for some of them). So what do you love about the languages you use? I'll start. C#: It runs everywhere. macOS, Linux, Windows, Raspberry Pi's, in the browser via WASM, on mobile devices, you name it. Literally every platform I support I can write code using C#. The type safety and static checking is amazing, the syntax (generally...) very clean, and given it's basically the grandson of C, the syntax is like my Mother Tongue. Python: Again, it runs everywhere, and it often runs everywhere because it's built in by default everywhere. It's interpreted so awesome in notebooks, great to run on the command line to quickly test something, and there's just so, so much code out there. Sure the indents take getting used to, but no brackets certainly cleans the place up. JavaScript: I love it because I deploy it one: on my server. It then runs everywhere there's a browser and I never have to worry about hardware or libraries or graphics cards or harddrive space. If there's a bug I upload a new version and everyone, immediately, is also updated. What about you lot?

                cheers Chris Maunder

                F Offline
                F Offline
                Felix Collins
                wrote on last edited by
                #36

                C because I know pretty much what is happening under the hood and it doesn't change much. Second point is important for older folk who just want to do their job and not have to learn new syntax with every project.

                1 Reply Last reply
                0
                • S SeattleC

                  Yeah, I gotta stick up for C++. People with less than 20 years experience all think C++ is complicated and weird. They are too young to remember that C++ was perfectly compatible with C's weird declaration syntax, and that a whole generation of C programmers got to learn C++ gently and incrementally. The compatibility of C++ with C and with previous C++ standards is why there is a modern language for high performance code, and we aren't all stuck with C. C++ is the reason Java and C# look like they do. Back before github, before sourceforge, when there weren't vast code libraries online, being able to use the code you found was important, and C++ let you do that with C++ and C source code. The reason less experienced people brag that they don't need to learn algorithms and data structures is because Alexander Stepanov created STL, the library of generic algorithms and data structures in 1995, for C++. C++ is still where the programming world goes for high performance. Someday, maybe Rust...but not today.

                  B Offline
                  B Offline
                  BernardIE5317
                  wrote on last edited by
                  #37

                  may i please inquire what is weird about C declaration syntax . i should state i have much experience w/ C and C++ and in fact only those languages so syntax of other languages i do not know of for purposes of comparison and judgement . i find nothing weird re/ C or C++ but of course as implied i am not expert in such matters .

                  S 1 Reply Last reply
                  0
                  • B BernardIE5317

                    may i please inquire what is weird about C declaration syntax . i should state i have much experience w/ C and C++ and in fact only those languages so syntax of other languages i do not know of for purposes of comparison and judgement . i find nothing weird re/ C or C++ but of course as implied i am not expert in such matters .

                    S Offline
                    S Offline
                    SeattleC
                    wrote on last edited by
                    #38

                    int* i,j; declares a pointer-to-int called i and an int called j, not two pointers like you'd think, because part of the type is in the declarator (the part with the name). A pointer to a function returning an int has to be parenthesized like int (*f)(float v); Don't even get me started on abstract declarators. You can declare a function that takes an array like f(int a[10]) but the type of a is int*. Unless this is part of a template declaration template f(T a[N]); in which case the type of a is T[10], and there's that abstract declarator thing again. Forgive me for not trying to compile these, I might have got some of it wrong. C declaration syntax, and therefore C++ declaration syntax is just strange. If C++ syntax was created from scratch, I sure hope they'd have done something different, maybe more like Pascal or Modula.

                    B 1 Reply Last reply
                    0
                    • S SeattleC

                      int* i,j; declares a pointer-to-int called i and an int called j, not two pointers like you'd think, because part of the type is in the declarator (the part with the name). A pointer to a function returning an int has to be parenthesized like int (*f)(float v); Don't even get me started on abstract declarators. You can declare a function that takes an array like f(int a[10]) but the type of a is int*. Unless this is part of a template declaration template f(T a[N]); in which case the type of a is T[10], and there's that abstract declarator thing again. Forgive me for not trying to compile these, I might have got some of it wrong. C declaration syntax, and therefore C++ declaration syntax is just strange. If C++ syntax was created from scratch, I sure hope they'd have done something different, maybe more like Pascal or Modula.

                      B Offline
                      B Offline
                      BernardIE5317
                      wrote on last edited by
                      #39

                      thank you kindly for the straight dope . re/ declarations as best as i recall the superb text by Harbison & Steele which explains such are to be performed merely by following the rules of precedence . the Kernighan Ritchie text i found confusing on this subject even they seemed confused . i compiled the code below and displayed the types for the aforementioned int a[10]. i present as a minor curiosity . they seem logical to me . may i say what i find weird/confusing/odd/uncertain/strange is utilizing const and * . thankfully i rarely utilize pointers . -Best

                      #include "pch.h"
                      using namespace std;
                      const char narrow_space = ' ';

                      void foo(int a[10])
                      {
                      cout <<__LINE__ <output :
                      13 int [10]
                      7 int * __ptr64
                      int const * __ptr64
                      int const * __ptr64

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups