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. Programming Language and code aesthetics

Programming Language and code aesthetics

Scheduled Pinned Locked Moved The Lounge
csharpjavajavascriptpythonperl
72 Posts 39 Posters 5 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.
  • J Jim Crafton

    In order of preference Object Pascal, Python, Smalltalk, C++/C#/C/Java, Lisp

    ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

    S Offline
    S Offline
    Single Step Debugger
    wrote on last edited by
    #20

    If one says that the Object Pascal is the best language ever created I probably would agree. But pretty?!? It’s ugly like hell. Even using the “With” can't prevent code from looking like teenage chat-room.

    The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

    J 1 Reply Last reply
    0
    • P Pete OHanlon

      Programmers are romantics. We're lovers not fighters. Why, developers are widely regarded as being the sexiest creatures on the planet. Our beauty causes people in other professions to go blind. We are love. We are truth. We are sex at a keyboard.

      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

      My blog | My articles | MoXAML PowerToys

      M Offline
      M Offline
      MidwestLimey
      wrote on last edited by
      #21

      It's the white pills you idiot! 2 of the white one and ONLY 1 of the red. You know what too many red pills does to you, seesh. That poor nurse was walking funny for months ..

      Bar fomos edo pariyart gedeem, agreo eo dranem abal edyero eyrem kalm kareore

      1 Reply Last reply
      0
      • P Pete OHanlon

        Programmers are romantics. We're lovers not fighters. Why, developers are widely regarded as being the sexiest creatures on the planet. Our beauty causes people in other professions to go blind. We are love. We are truth. We are sex at a keyboard.

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        My blog | My articles | MoXAML PowerToys

        R Offline
        R Offline
        Ravi Bhavnani
        wrote on last edited by
        #22

        Pete O'Hanlon wrote:

        We're lovers not fighters.

        Aye! /ravi

        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

        1 Reply Last reply
        0
        • R Ray Cassick

          I take heat for it but I love VB.net. C++ may look pretty form a distance but as she gets closer you start to see that her blouse is off by one button, one high heel is shorter than the other and her eyes are crossed in a wild and crazy look that makes you think she perpetually drinks way too much. Oh yeah, and her hair extensions are starting to come loose...


          FFRF[^]
          My LinkedIn profile[^]
          My Programmers Blog[^]

          R Offline
          R Offline
          Roger Wright
          wrote on last edited by
          #23

          That's on a good day... Things get uglier most days.

          "A Journey of a Thousand Rest Stops Begins with a Single Movement"

          1 Reply Last reply
          0
          • R Rama Krishna Vavilala

            Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?

            Proud to be a CPHog user

            R Offline
            R Offline
            Roger Wright
            wrote on last edited by
            #24

            Absolutely! Pascal is the epitome of beautiful languages, while C++ is merely the pit.

            "A Journey of a Thousand Rest Stops Begins with a Single Movement"

            1 Reply Last reply
            0
            • S Single Step Debugger

              Mustafa, could I ask you something? Print the quoted one, find some notary sign it, put a seal and bind with a government apostil after that send it to me. It could be something like: I, down signed Mustafa Ismail Mustafa Hereby Authorize Deyan Georgiev to:

              Mustafa Ismail Mustafa wrote:

              Go out, enjoy a drink or four, meet some girls, meet some new people who aren't in the computer business

              I need something more official for my wife.:)

              The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

              J Offline
              J Offline
              Jim Crafton
              wrote on last edited by
              #25

              Hey Mustafa, while you're at it for Deyan, could you send me one too? The wife's leash tends to be pretty short...

              ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

              M 1 Reply Last reply
              0
              • N Nemanja Trifunovic

                Christian Graus wrote:

                C++ and C# are top of my list.

                ...of ugly ones?

                Programming Blog utf8-cpp

                B Offline
                B Offline
                Big Daddy Farang
                wrote on last edited by
                #26

                Good question. If he considers C to be ugly, how could he consider C++ or C# to be, well, not ugly?

                BDF People don't mind being mean; but they never want to be ridiculous. -- Moliere

                K 1 Reply Last reply
                0
                • N Nemanja Trifunovic

                  Christian Graus wrote:

                  C++ and C# are top of my list.

                  ...of ugly ones?

                  Programming Blog utf8-cpp

                  C Offline
                  C Offline
                  Christian Graus
                  wrote on last edited by
                  #27

                  No, of the nice ones. But, that's probably b/c I learned C++ first, so the way it looks makes sense to me.

                  Christian Graus Driven to the arms of OSX by Vista.

                  M 1 Reply Last reply
                  0
                  • S Single Step Debugger

                    If one says that the Object Pascal is the best language ever created I probably would agree. But pretty?!? It’s ugly like hell. Even using the “With” can't prevent code from looking like teenage chat-room.

                    The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                    J Offline
                    J Offline
                    Jim Crafton
                    wrote on last edited by
                    #28

                    I'd argue that part of Object Pascal's "prettiness" is in it's uniformity. There's a precision to it's design that make it feel like something that was crafted and thought about, whereas C/C++ tend to feel like something that was just kind of grown from some crazy mad scientist's post-60's LSD trip, and then gradually beaten into shape to be something useful. While the verbosity can be a bit much, I'd agree with you on the "with" keyword, it also, IMHO, leads to very nicely laid out and well written code. Of all the code I've ever read, OP was the easiest to just fall into, and the best code I've ever read, bar none, is Borland's VCL source. It's clean, clear, and easy to follow, with largely logical names, well thought out design, it's just good stuff. Contrast that with most C/C++ code, which frequently is either a maze of cryptic, vowel challenged, 3 letter variable names, or an unreadable morass of hungarian notation, half of which doesn't even match up any more, plus the haze of pre-processor statements, which make you want to poke your eyes out trying to figure out what's going on.

                    ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                    S 1 Reply Last reply
                    0
                    • J Jim Crafton

                      I'd argue that part of Object Pascal's "prettiness" is in it's uniformity. There's a precision to it's design that make it feel like something that was crafted and thought about, whereas C/C++ tend to feel like something that was just kind of grown from some crazy mad scientist's post-60's LSD trip, and then gradually beaten into shape to be something useful. While the verbosity can be a bit much, I'd agree with you on the "with" keyword, it also, IMHO, leads to very nicely laid out and well written code. Of all the code I've ever read, OP was the easiest to just fall into, and the best code I've ever read, bar none, is Borland's VCL source. It's clean, clear, and easy to follow, with largely logical names, well thought out design, it's just good stuff. Contrast that with most C/C++ code, which frequently is either a maze of cryptic, vowel challenged, 3 letter variable names, or an unreadable morass of hungarian notation, half of which doesn't even match up any more, plus the haze of pre-processor statements, which make you want to poke your eyes out trying to figure out what's going on.

                      ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                      S Offline
                      S Offline
                      Single Step Debugger
                      wrote on last edited by
                      #29

                      Jim Crafton wrote:

                      Of all the code I've ever read, OP was the easiest to just fall into, and the best code I've ever read, bar none, is Borland's VCL source. It's clean, clear, and easy to follow, with largely logical names, well thought out design, it's just good stuff.

                      I’m totally agreed with that. The VCL even the Indy components was masterpiece. Though some function names like “GetDefaultSystemFonts” are a little too verbose.:)

                      The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                      1 Reply Last reply
                      0
                      • R Ray Cassick

                        I take heat for it but I love VB.net. C++ may look pretty form a distance but as she gets closer you start to see that her blouse is off by one button, one high heel is shorter than the other and her eyes are crossed in a wild and crazy look that makes you think she perpetually drinks way too much. Oh yeah, and her hair extensions are starting to come loose...


                        FFRF[^]
                        My LinkedIn profile[^]
                        My Programmers Blog[^]

                        M Offline
                        M Offline
                        Michael Bergman
                        wrote on last edited by
                        #30

                        Ray Cassick wrote:

                        I take heat for it but I love VB.net.

                        As well you should.

                        m.bergman

                        -- For Bruce Schneier, quanta only have one state : afraid.

                        1 Reply Last reply
                        0
                        • R Rama Krishna Vavilala

                          Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?

                          Proud to be a CPHog user

                          M Offline
                          M Offline
                          Michael Bergman
                          wrote on last edited by
                          #31

                          My vote for the prettiest language is PCL6. My vote for the ugliest language is PCL6.

                          m.bergman

                          -- For Bruce Schneier, quanta only have one state : afraid.

                          1 Reply Last reply
                          0
                          • S stephen hazel

                            forth is prettiest (but not so useful in the long run) c++ is the next prettiest then c then 68000 asm the rest are are an absolute dog's breakfast... X|

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

                            Steve Hazel wrote:

                            forth is prettiest (but not so useful in the long run

                            You didn't take your meds today, did you? FORTH; blech.

                            Software Zen: delete this;
                            Fold With Us![^]

                            S 1 Reply Last reply
                            0
                            • P Paul Conrad

                              Christian Graus wrote:

                              Any BASIC derived language is ugly as sin. Objective C is ugly

                              I'd hate to see what kind of programming language you could get if you hooked those two up.

                              "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                              B Offline
                              B Offline
                              bulg
                              wrote on last edited by
                              #33

                              __asm{...}

                              P 1 Reply Last reply
                              0
                              • B bulg

                                __asm{...}

                                P Offline
                                P Offline
                                Paul Conrad
                                wrote on last edited by
                                #34

                                bulg wrote:

                                __asm{...}

                                Not bad, at least compared to AT&T style assembly with gcc :rolleyes:

                                "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                                1 Reply Last reply
                                0
                                • R Ray Cassick

                                  I take heat for it but I love VB.net. C++ may look pretty form a distance but as she gets closer you start to see that her blouse is off by one button, one high heel is shorter than the other and her eyes are crossed in a wild and crazy look that makes you think she perpetually drinks way too much. Oh yeah, and her hair extensions are starting to come loose...


                                  FFRF[^]
                                  My LinkedIn profile[^]
                                  My Programmers Blog[^]

                                  S Offline
                                  S Offline
                                  Shog9 0
                                  wrote on last edited by
                                  #35

                                  Ray Cassick wrote:

                                  C++ may look pretty form a distance

                                  But rarely does. ...unless it happens to be standing next to VB... :rolleyes:

                                  ----

                                  You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

                                  1 Reply Last reply
                                  0
                                  • R Rama Krishna Vavilala

                                    Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?

                                    Proud to be a CPHog user

                                    S Offline
                                    S Offline
                                    Shog9 0
                                    wrote on last edited by
                                    #36

                                    I enjoy the look of C and JavaScript. Both lend themselves well to small, tightly-written functions. Of course, any language can be made ugly.

                                    ----

                                    You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

                                    1 Reply Last reply
                                    0
                                    • R Rama Krishna Vavilala

                                      Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?

                                      Proud to be a CPHog user

                                      V Offline
                                      V Offline
                                      Vikram A Punathambekar
                                      wrote on last edited by
                                      #37

                                      I find the C-derived languages pleasing to look at. I am not a VB basher, but the code looks ugly. I am not familiar enough with other languages to comment on them.

                                      Cheers, Vıkram.


                                      Stand up to be seen. Speak up to be heard. Shut up to be appreciated.

                                      1 Reply Last reply
                                      0
                                      • G Gary R Wheeler

                                        Steve Hazel wrote:

                                        forth is prettiest (but not so useful in the long run

                                        You didn't take your meds today, did you? FORTH; blech.

                                        Software Zen: delete this;
                                        Fold With Us![^]

                                        S Offline
                                        S Offline
                                        stephen hazel
                                        wrote on last edited by
                                        #38

                                        forth can be elegant. Like perl, it can also be an absolute dog's breakfast like the rest...

                                        G 1 Reply Last reply
                                        0
                                        • R Rama Krishna Vavilala

                                          Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?

                                          Proud to be a CPHog user

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

                                          Depends on what you're used to. Even W finds his wife attractive. X| Over the weekend I glanced at some C code I wrote about ten years ago -- X| A colleague showed me an SQL function he was working on today -- X| I just glanced at an old Ada book I have sitting around (I never learned it) -- X| COBOL, BASIC -- X| Pascal not so much. But C# I really enjoy now. (Even though no one else would format it the way I do.) :~ I think the dividing line is whether or not the language uses BEGIN/END. The fewer "words" and the more symbols the better.

                                          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