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. C is a better language than any language you care to name.

C is a better language than any language you care to name.

Scheduled Pinned Locked Moved The Lounge
csharphtml
150 Posts 54 Posters 3 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.
  • R Ravi Bhavnani

    Define "better". /ravi

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

    C Offline
    C Offline
    CPallini
    wrote on last edited by
    #30

    'C'

    Veni, vidi, vici.

    K 1 Reply Last reply
    0
    • R Ravi Bhavnani

      Isn't that "bettor"? /ravi

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

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #31

      You bet.

      Government is not reason; it is not eloquent; it is force. Like fire, it is a dangerous servant and a fearful master. ~ George Washington

      M 1 Reply Last reply
      0
      • C CPallini

        'C'

        Veni, vidi, vici.

        K Offline
        K Offline
        Kenneth Haugland
        wrote on last edited by
        #32

        How about iC instead? Apple inspired :laugh:

        C 1 Reply Last reply
        0
        • C Chris Maunder

          Discuss. I've just read The Unreasonable Effectiveness of C[^] and decided to outsource my ranting response to it

          cheers Chris Maunder

          D Offline
          D Offline
          DaveX86
          wrote on last edited by
          #33

          D language[^] is better. It combines the simplicity of C and avoids all the kludginess of C++ for the same elegance you see in C#. Plus...no *.H files or #defines !!!! :) Plus garbage collection!

          W J P 3 Replies Last reply
          0
          • C Chris Maunder

            Discuss. I've just read The Unreasonable Effectiveness of C[^] and decided to outsource my ranting response to it

            cheers Chris Maunder

            W Offline
            W Offline
            W Balboos GHB
            wrote on last edited by
            #34

            Golden Days!^

            "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

            "As far as we know, our computer has never had an undetected error." - Weisert

            "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

            1 Reply Last reply
            0
            • R Ravi Bhavnani

              Define "better". /ravi

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

              W Offline
              W Offline
              W Balboos GHB
              wrote on last edited by
              #35

              Unfortunately, if you don't know it could never be explained to you.

              "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

              "As far as we know, our computer has never had an undetected error." - Weisert

              "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

              R 1 Reply Last reply
              0
              • L Lost User

                You bet.

                Government is not reason; it is not eloquent; it is force. Like fire, it is a dangerous servant and a fearful master. ~ George Washington

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

                Look, a Who tribute band. You better bet your life...

                R 1 Reply Last reply
                0
                • D DaveX86

                  D language[^] is better. It combines the simplicity of C and avoids all the kludginess of C++ for the same elegance you see in C#. Plus...no *.H files or #defines !!!! :) Plus garbage collection!

                  W Offline
                  W Offline
                  W Balboos GHB
                  wrote on last edited by
                  #37

                  DaveX86 wrote:

                  Plus garbage collection!

                  As Is Well Understood and Universally Accepted: "You don't need garbage collection if your code is not garbage!"

                  "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                  "As far as we know, our computer has never had an undetected error." - Weisert

                  "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                  J 1 Reply Last reply
                  0
                  • E ed welch

                    That article is all wrong. The guy assumes that just because a feature exists you are forced to use it. Most expercienced c++ programers are only using a small subset of the language.

                    P Offline
                    P Offline
                    Paul M Watt
                    wrote on last edited by
                    #38

                    And even then, there are 4 sub-languages to C++: - C backward compatibility - C++ - STL - Template meta-programming How you use C++ primarily depends on which one of the sub-languages you are using for that portion of the program.

                    1 Reply Last reply
                    0
                    • K Kenneth Haugland

                      How about iC instead? Apple inspired :laugh:

                      C Offline
                      C Offline
                      CPallini
                      wrote on last edited by
                      #39

                      Oh, I'm in love with iC[^].

                      Veni, vidi, vici.

                      1 Reply Last reply
                      0
                      • M MarkTJohnson

                        Look, a Who tribute band. You better bet your life...

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

                        Who's next? /ravi

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

                        OriginalGriffO 1 Reply Last reply
                        0
                        • W W Balboos GHB

                          Unfortunately, if you don't know it could never be explained to you.

                          "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                          "As far as we know, our computer has never had an undetected error." - Weisert

                          "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

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

                          So what's your definition of "better" (as applied to a programming language)? /ravi

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

                          W 1 Reply Last reply
                          0
                          • R Ravi Bhavnani

                            So what's your definition of "better" (as applied to a programming language)? /ravi

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

                            W Offline
                            W Offline
                            W Balboos GHB
                            wrote on last edited by
                            #42

                            HERE^

                            "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                            "As far as we know, our computer has never had an undetected error." - Weisert

                            "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

                            R 1 Reply Last reply
                            0
                            • C Chris Maunder

                              Discuss. I've just read The Unreasonable Effectiveness of C[^] and decided to outsource my ranting response to it

                              cheers Chris Maunder

                              J Offline
                              J Offline
                              Joe Woodbury
                              wrote on last edited by
                              #43

                              I agree. C is like a great macro assembler. These days, I prefer C with classes. In other words, mostly C, but using the C++ compiler and RAII and very light weight, thin classes. Above all, it's deterministic. This is the one thing I really dislike about C# and other garbage collected languages. I think it's often abused in C++, where being fancy all too often overrides elegant simplicity.

                              1 Reply Last reply
                              0
                              • W W Balboos GHB

                                HERE^

                                "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

                                "As far as we know, our computer has never had an undetected error." - Weisert

                                "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

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

                                <sigh> We're all very impressed. /ravi

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

                                1 Reply Last reply
                                0
                                • D DaveX86

                                  D language[^] is better. It combines the simplicity of C and avoids all the kludginess of C++ for the same elegance you see in C#. Plus...no *.H files or #defines !!!! :) Plus garbage collection!

                                  J Offline
                                  J Offline
                                  Joe Woodbury
                                  wrote on last edited by
                                  #45

                                  Garbage collection is a flaw, not a feature. It not only sucks resources, it creates a huge unknown. Some of the most difficult problems I've dealt with were with garbage collection (in one recent case, we never did solve the problem--some the most brilliant engineers I know also failed to solve it. Around the same time, we tracked things back to a lesser known bug in the .NET 4.0 garbage collector.)

                                  D B 2 Replies Last reply
                                  0
                                  • C Chris Maunder

                                    Discuss. I've just read The Unreasonable Effectiveness of C[^] and decided to outsource my ranting response to it

                                    cheers Chris Maunder

                                    N Offline
                                    N Offline
                                    Nemanja Trifunovic
                                    wrote on last edited by
                                    #46

                                    Chris Maunder wrote:

                                    Discuss.

                                    Arrays decay into pointers.[^] X| Or, for more details: C's Biggest Mistake[^]

                                    utf8-cpp

                                    J P 3 Replies Last reply
                                    0
                                    • OriginalGriffO OriginalGriff

                                      You can write large scale, maintainable code in any language - even assembler! Conversely, you can also write small scale unreadable cr@p in any language (look at QA if you don't believe me) But...as the scale increases, it becomes easier to produce better code in an OOPs language, and harder in a non-OOps languages. It's like designing a car: you need to use powerful tools on a computer these days just to fit everything into the engine bay - you couldn't do it in a reasonable time frame using clay and palette knives!

                                      Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

                                      J Offline
                                      J Offline
                                      Joe Woodbury
                                      wrote on last edited by
                                      #47

                                      OriginalGriff wrote:

                                      ut...as the scale increases, it becomes easier to produce better code in an OOPs language, and harder in a non-OOps languages

                                      It should be easier, but I've found it often gets much more difficult. Relatively recently I worked on a massive code base in OOP. There was nothing wrong with any single class or even the design, but as a whole, it was almost impossible to follow the whole thing. However, the sections that were pure procedural code or extremely lightweight classes were very easy to follow.

                                      J 1 Reply Last reply
                                      0
                                      • N Nemanja Trifunovic

                                        Chris Maunder wrote:

                                        Discuss.

                                        Arrays decay into pointers.[^] X| Or, for more details: C's Biggest Mistake[^]

                                        utf8-cpp

                                        J Offline
                                        J Offline
                                        Joe Woodbury
                                        wrote on last edited by
                                        #48

                                        What else would they do? As the article essentially points out, this is known. It's documented. There is no mystery.

                                        1 Reply Last reply
                                        0
                                        • C Chris Maunder

                                          Discuss. I've just read The Unreasonable Effectiveness of C[^] and decided to outsource my ranting response to it

                                          cheers Chris Maunder

                                          D Offline
                                          D Offline
                                          dandy72
                                          wrote on last edited by
                                          #49

                                          No such discussion would be meaningful without first defining "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