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. Regarding the survey: What's your least favourite of these languages to code in?

Regarding the survey: What's your least favourite of these languages to code in?

Scheduled Pinned Locked Moved The Lounge
csharpjavascriptquestionasp-netdotnet
53 Posts 20 Posters 0 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.
  • G glennPattonPub

    For me Python syntactic white space?

    Mircea NeacsuM Offline
    Mircea NeacsuM Offline
    Mircea Neacsu
    wrote on last edited by
    #6

    While in general I agree with you, as a language designer it is easy to fall into the trap of saying that spaces and page layout don't matter. This makes a fragment like:

                 i
                  n
                   t
                    e
                     g
                      e
                       r
                        p
                         r
                          o
                           c
                            e
                             d
                              u
                               r
                                e
                                 f
                                  a
                                   c
                                    (
                                     n
                                    )
                                   ;
                                  v
                                 a
                                l
                               u
                              e
                             n
                            ;
                           i
                          n
                         t
                        e
                       g
                      r
                     n
                    ;
                     f
                      a
                       c
                        :
                         =
                          i
                           f
                            n
                             =
                              0
                               t
                                h
                                 e
                                  n
                                 1
                                e
                               l
                              s
                             e
                            n
                           \*
                          f
                         a
                        c
                       (
                        n
                         -
                          1
                           )
                            ;
    

    a legal Algol program. The truth is probably somewhere in between. (Algol program taken from D.W.Barron - An Introduction into the Study of Programming Languages)

    Mircea

    P 1 Reply Last reply
    0
    • G glennPattonPub

      For me Python syntactic white space?

      O Offline
      O Offline
      obermd
      wrote on last edited by
      #7

      Using white space as part of the syntax is a huge potential source of errors, one that should simply not exist.

      M 1 Reply Last reply
      0
      • D dandy72

        Marc Clifton wrote:

        it's an interesting realization (to me at least) that my dislike of a language is often based on my dislike of the previous coder's code.

        Admit it Marc, you just don't like anyone's code but your own. :-D I really, I wouldn't fault you for that. I'm the same way. I'm sure most are. And yet we can't all be right at the same time. Hmmmm... :laugh:

        D Offline
        D Offline
        DRHuff
        wrote on last edited by
        #8

        I don’t even like my code a few months on!

        If you can't laugh at yourself - ask me and I will do it for you.

        1 Reply Last reply
        0
        • G glennPattonPub

          For me Python syntactic white space?

          R Offline
          R Offline
          Rick York
          wrote on last edited by
          #9

          Why is that a question? Shouldn't it be more emphatic, with a exclamation? It is for me! :cool:

          "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

          1 Reply Last reply
          0
          • O obermd

            Using white space as part of the syntax is a huge potential source of errors, one that should simply not exist.

            M Offline
            M Offline
            MarkTJohnson
            wrote on last edited by
            #10

            Most languages require a single space between types and variable names though. Captain Pedantic strikes again.

            I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.

            P 1 Reply Last reply
            0
            • Mircea NeacsuM Mircea Neacsu

              While in general I agree with you, as a language designer it is easy to fall into the trap of saying that spaces and page layout don't matter. This makes a fragment like:

                           i
                            n
                             t
                              e
                               g
                                e
                                 r
                                  p
                                   r
                                    o
                                     c
                                      e
                                       d
                                        u
                                         r
                                          e
                                           f
                                            a
                                             c
                                              (
                                               n
                                              )
                                             ;
                                            v
                                           a
                                          l
                                         u
                                        e
                                       n
                                      ;
                                     i
                                    n
                                   t
                                  e
                                 g
                                r
                               n
                              ;
                               f
                                a
                                 c
                                  :
                                   =
                                    i
                                     f
                                      n
                                       =
                                        0
                                         t
                                          h
                                           e
                                            n
                                           1
                                          e
                                         l
                                        s
                                       e
                                      n
                                     \*
                                    f
                                   a
                                  c
                                 (
                                  n
                                   -
                                    1
                                     )
                                      ;
              

              a legal Algol program. The truth is probably somewhere in between. (Algol program taken from D.W.Barron - An Introduction into the Study of Programming Languages)

              Mircea

              P Offline
              P Offline
              PIEBALDconsult
              wrote on last edited by
              #11

              On the other hand... allowing the developer to format his code as he likes is better than requiring the developer to format his code a certain way. For the most part, C-like languages don't even require line breaks, which makes code generation much easier.

              Mircea NeacsuM J 2 Replies Last reply
              0
              • P PIEBALDconsult

                On the other hand... allowing the developer to format his code as he likes is better than requiring the developer to format his code a certain way. For the most part, C-like languages don't even require line breaks, which makes code generation much easier.

                Mircea NeacsuM Offline
                Mircea NeacsuM Offline
                Mircea Neacsu
                wrote on last edited by
                #12

                True enough! See the bad example of Go where you must place the brace on the same line as if and else.

                Mircea

                J 1 Reply Last reply
                0
                • G glennPattonPub

                  For me Python syntactic white space?

                  0 Offline
                  0 Offline
                  0x01AA
                  wrote on last edited by
                  #13

                  I like the Python's power, libraries. But yes, I wish to have a setting: Curly Braces= ON :laugh:

                  1 Reply Last reply
                  0
                  • M Marc Clifton

                    It occurs to me that my least favorite programming language is not actually determined by the language but rather by the coders writing awful code in that language. Even C# fits the "least favorite language" with some of the crap I've seen. I suppose I'm overthinking the question, but it was interesting when I started writing pure JavaScript for some personal projects and discovered I didn't hate it. I still prefer TypeScript, but my loathing of JavaScript was actually because of the code I had to touch that other people wrote. Functions that were a couple thousand lines long. Nested functions. Nested promises. Absurdly complex business logic implemented on the front-end with dozens of nested if-else. The way I was writing Javascript made working with Javascript a pleasant process. Anyways, it's an interesting realization (to me at least) that my dislike of a language is often based on my dislike of the previous coder's code.

                    Latest Article:
                    Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a Domain

                    G Offline
                    G Offline
                    Gary R Wheeler
                    wrote on last edited by
                    #14

                    Agreed. I've never done a serious project where I reached the end and hated the programming language used. There have been a few I hated the development environment. IBM's VisualAge for C++ and Qt Creator are two examples that come to mind. VisualAge stored the visuals and source code in a data base that corrupted itself regularly and was unrecoverable. Qt Creator's build system was incompetent (incontinent as well, but I digress). That said, there are languages or language features I probably wouldn't like:

                    • Significant white space: Python and older FORTRAN's
                    • Academic languages that are documented using obscure or in-joke vocabulary: functional programming's "monad", for example
                    • Languages whose designer hated commonly-used syntax in mainstream languages and decided they were going to fix the problem; := for assignment in Pascal and Ada
                    • Syntactic sugar that hides logic: C#, I'm looking at you

                    Software Zen: delete this;

                    P D J 3 Replies Last reply
                    0
                    • Mircea NeacsuM Mircea Neacsu

                      True enough! See the bad example of Go where you must place the brace on the same line as if and else.

                      Mircea

                      J Offline
                      J Offline
                      jeron1
                      wrote on last edited by
                      #15

                      Mircea Neacsu wrote:

                      example of Go where you must place the brace on the same line as if and else.

                      Hmm, apparently I am never going to use that language. X|

                      "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                      Mircea NeacsuM D 2 Replies Last reply
                      0
                      • J jeron1

                        Mircea Neacsu wrote:

                        example of Go where you must place the brace on the same line as if and else.

                        Hmm, apparently I am never going to use that language. X|

                        "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                        Mircea NeacsuM Offline
                        Mircea NeacsuM Offline
                        Mircea Neacsu
                        wrote on last edited by
                        #16

                        Well, it has features that make it a compelling choice in some cases. And to heck with it: I wrote programs in FORTRAN where you had to start in column 7 and place continuation mark in column 6. If I survived that, I'm sure going to survive a misplaced brace :D

                        Mircea

                        J 1 Reply Last reply
                        0
                        • G Gary R Wheeler

                          Agreed. I've never done a serious project where I reached the end and hated the programming language used. There have been a few I hated the development environment. IBM's VisualAge for C++ and Qt Creator are two examples that come to mind. VisualAge stored the visuals and source code in a data base that corrupted itself regularly and was unrecoverable. Qt Creator's build system was incompetent (incontinent as well, but I digress). That said, there are languages or language features I probably wouldn't like:

                          • Significant white space: Python and older FORTRAN's
                          • Academic languages that are documented using obscure or in-joke vocabulary: functional programming's "monad", for example
                          • Languages whose designer hated commonly-used syntax in mainstream languages and decided they were going to fix the problem; := for assignment in Pascal and Ada
                          • Syntactic sugar that hides logic: C#, I'm looking at you

                          Software Zen: delete this;

                          P Offline
                          P Offline
                          PIEBALDconsult
                          wrote on last edited by
                          #17

                          Gary R. Wheeler wrote:

                          := for assignment in Pascal and Ada

                          Contrariwise, that eliminates the issue in C-like languages wherein a developer types a single = when a double = was intended. In my opinion, an unaccompanied = should be a syntax error.

                          G 0 2 Replies Last reply
                          0
                          • Mircea NeacsuM Mircea Neacsu

                            Well, it has features that make it a compelling choice in some cases. And to heck with it: I wrote programs in FORTRAN where you had to start in column 7 and place continuation mark in column 6. If I survived that, I'm sure going to survive a misplaced brace :D

                            Mircea

                            J Offline
                            J Offline
                            jeron1
                            wrote on last edited by
                            #18

                            That's a tough one, you sir, have more patience than me. :)

                            "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                            1 Reply Last reply
                            0
                            • D dandy72

                              Marc Clifton wrote:

                              it's an interesting realization (to me at least) that my dislike of a language is often based on my dislike of the previous coder's code.

                              Admit it Marc, you just don't like anyone's code but your own. :-D I really, I wouldn't fault you for that. I'm the same way. I'm sure most are. And yet we can't all be right at the same time. Hmmmm... :laugh:

                              M Offline
                              M Offline
                              Marc Clifton
                              wrote on last edited by
                              #19

                              dandy72 wrote:

                              Admit it Marc, you just don't like anyone's code but your own.

                              99% true!

                              Latest Article:
                              Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a Domain

                              1 Reply Last reply
                              0
                              • G Gary R Wheeler

                                Agreed. I've never done a serious project where I reached the end and hated the programming language used. There have been a few I hated the development environment. IBM's VisualAge for C++ and Qt Creator are two examples that come to mind. VisualAge stored the visuals and source code in a data base that corrupted itself regularly and was unrecoverable. Qt Creator's build system was incompetent (incontinent as well, but I digress). That said, there are languages or language features I probably wouldn't like:

                                • Significant white space: Python and older FORTRAN's
                                • Academic languages that are documented using obscure or in-joke vocabulary: functional programming's "monad", for example
                                • Languages whose designer hated commonly-used syntax in mainstream languages and decided they were going to fix the problem; := for assignment in Pascal and Ada
                                • Syntactic sugar that hides logic: C#, I'm looking at you

                                Software Zen: delete this;

                                D Offline
                                D Offline
                                Dan Neely
                                wrote on last edited by
                                #20

                                Gary R. Wheeler wrote:

                                Academic languages that are documented using obscure or in-joke vocabulary: functional programming's "monad", for example

                                But why, ["a monad is a monoid in the category of endofunctors, what's the problem?"](https://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html) Also, [Dylan Beattie and the Linebreakers - Monads (Live at NDC Oslo 2019) - YouTube](https://www.youtube.com/watch?v=BoJGIqyriCc)

                                Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius

                                G K 2 Replies Last reply
                                0
                                • J jeron1

                                  Mircea Neacsu wrote:

                                  example of Go where you must place the brace on the same line as if and else.

                                  Hmm, apparently I am never going to use that language. X|

                                  "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                                  D Offline
                                  D Offline
                                  Dan Neely
                                  wrote on last edited by
                                  #21

                                  While I've never used Go and prefer opening brace on it's own style; the only thing I hate worse than Java written in accordance with the Java Style Guide (or WT:elephant: they call it) is Java written as if it was C#.                                                                                             X| X| X| X| X|                         X| X| X| X| X| X|                             X| X| X| X| X| X| X| X| X|               X| X|                             X| X|                X| X| X| X| X| X| X| X| X| X| X| X|           X|                                                X|      X| X| X| X| X| X| X| X| X| X| X| X| X| X|      X|                                                     X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X| X|      X|               X|      X|        &nb

                                  Greg UtasG 1 Reply Last reply
                                  0
                                  • P PIEBALDconsult

                                    Gary R. Wheeler wrote:

                                    := for assignment in Pascal and Ada

                                    Contrariwise, that eliminates the issue in C-like languages wherein a developer types a single = when a double = was intended. In my opinion, an unaccompanied = should be a syntax error.

                                    G Offline
                                    G Offline
                                    Gary R Wheeler
                                    wrote on last edited by
                                    #22

                                    Hmm. My point of view is that assignment is a more common operation than comparison for equality, so it should therefore require fewer characters to express. FWIW, I've always thought that allowing assignment in the 'C' if statement was a serious design flaw in the language.

                                    Software Zen: delete this;

                                    P 1 Reply Last reply
                                    0
                                    • G Gary R Wheeler

                                      Hmm. My point of view is that assignment is a more common operation than comparison for equality, so it should therefore require fewer characters to express. FWIW, I've always thought that allowing assignment in the 'C' if statement was a serious design flaw in the language.

                                      Software Zen: delete this;

                                      P Offline
                                      P Offline
                                      PIEBALDconsult
                                      wrote on last edited by
                                      #23

                                      Gary R. Wheeler wrote:

                                      a serious design flaw in the language.

                                      Nah, nah, it's a strength... :~ How about the comma operator? Ever use it?

                                      G 1 Reply Last reply
                                      0
                                      • D Dan Neely

                                        Gary R. Wheeler wrote:

                                        Academic languages that are documented using obscure or in-joke vocabulary: functional programming's "monad", for example

                                        But why, ["a monad is a monoid in the category of endofunctors, what's the problem?"](https://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html) Also, [Dylan Beattie and the Linebreakers - Monads (Live at NDC Oslo 2019) - YouTube](https://www.youtube.com/watch?v=BoJGIqyriCc)

                                        Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius

                                        G Offline
                                        G Offline
                                        Gary R Wheeler
                                        wrote on last edited by
                                        #24

                                        Dan Neely wrote:

                                        But why, "a monad is a monoid in the category of endofunctors, what's the problem?"

                                        :laugh:

                                        Software Zen: delete this;

                                        1 Reply Last reply
                                        0
                                        • P PIEBALDconsult

                                          Gary R. Wheeler wrote:

                                          a serious design flaw in the language.

                                          Nah, nah, it's a strength... :~ How about the comma operator? Ever use it?

                                          G Offline
                                          G Offline
                                          Gary R Wheeler
                                          wrote on last edited by
                                          #25

                                          PIEBALDconsult wrote:

                                          How about the comma operator? Ever use it?

                                          Hmm. While I've obviously used it, I've never found a problem that was best solved with a user-defined comma operator. That strikes me as 'clever', and the poor schmuck who has to maintain my stuff over the coming years (namely me) :elephant:ing hates that sort of thing.

                                          Software Zen: delete this;

                                          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