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. Favorite programming language?

Favorite programming language?

Scheduled Pinned Locked Moved The Lounge
c++question
59 Posts 32 Posters 70 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 Ryan Johnston 0

    Prolog is cool. Ryan Johnston

    N Offline
    N Offline
    Navin
    wrote on last edited by
    #32

    I like the concept of a logic-based language. IT could get you in trouble though. The only time I've used Prolog was in a programming language course back in my college days. I can barely remember the syntax. You could write a very simple program that would sort a list of numbers, by asserting that a particular list was in order. The problem was, it would try every permutation of that list of numbers until it found one that satisifed that condition (was sorted.) So you ended up having an O(n!) sorting algorithm! We later learned other ways of doing it. :-O There are three types of people in this world: those who can count, and those who can't.

    R 1 Reply Last reply
    0
    • J Jorgen Sigvardsson

      I can't decide between Scheme and C++. Scheme is very clean and simple - elegant IMHO. C++ on the other hand is very complete and powerful. What's your favorite programming language? Preferred storyline: - I am your father. Search your feelings and you'll know it's the truth. Together we can rule this galaxy like father and son. - Ok dad. Let's kick some butt!

      A Offline
      A Offline
      Alvaro Mendez
      wrote on last edited by
      #33

      1. C++ 2. JavaScript 3. Java (and probably C#) C++ has tons of features -- it's hard outgrow it. Templates, default parameters, multiple inheritance, preprocessor macros, stack allocation of objects, operator overloading, direct access to native APIs, etc. JavaScript has the C syntax and adds it's own set of unique features. I like being able to add functions or properties to a class on the fly. Java also maintains the C syntax but keeps things type-safe and simple. A couple of features I love about it are inner classes and the ability to override a method without causing other overloaded methods to be hidden, like in C++. Also, when it comes to portability, Java is nice. Regards, Alvaro Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

      1 Reply Last reply
      0
      • P Paul Riley

        You guys are all sadistic. Okay, I admit that C++ is essential at times. And I understand the fact that C++ (and even moreso assembler languages) are like the programming equivalent of extreme sports (doing things the hard way just to prove that you can). But how can anyone claim that C++ is their favourite language? All that vile string handling and taking two days to write a simple dialog (remember... MFC is cheating, even if it isn't all that much easier). VB for GUIs, C++ / ATL for any real work. Borland did a reasonable job of combining the two with BCB. C# is looking like a good contender but I haven't REALLY pushed it yet, so I'm reserving judgement. Paul

        J Offline
        J Offline
        Jeremy Falcon
        wrote on last edited by
        #34

        pdriley wrote: All that vile string handling and taking two days to write a simple dialog Um gee, that's a cookie-cutter excuse if I ever heard one. Fact is, I rarely use MFC for my Win32 coding, and I can put together a dialog-based app in no time. Oh wait, it gets better, I actually save my code to reuse, so I can throw one together in a few minutes. That's because I know what I am doing instead of looking at it only to realize it involves too much thinking. Gee, something so simple as subclassing seems so cryptic to most VBers - not to mention VB crashes all too often when doing that. When it's all said and done, I still have more control over my program. Oh, and if you do end up using a lot of raw Win32 API in VB, not only is it a pain in the butt to deal with all the declarations, but it still becomes just as arduous (as you say) as C. Jeremy Falcon Imputek "C# is the answer to a question nobody asked." - Chris Losinger

        1 Reply Last reply
        0
        • P Paul Riley

          You guys are all sadistic. Okay, I admit that C++ is essential at times. And I understand the fact that C++ (and even moreso assembler languages) are like the programming equivalent of extreme sports (doing things the hard way just to prove that you can). But how can anyone claim that C++ is their favourite language? All that vile string handling and taking two days to write a simple dialog (remember... MFC is cheating, even if it isn't all that much easier). VB for GUIs, C++ / ATL for any real work. Borland did a reasonable job of combining the two with BCB. C# is looking like a good contender but I haven't REALLY pushed it yet, so I'm reserving judgement. Paul

          R Offline
          R Offline
          Ryan Johnston 0
          wrote on last edited by
          #35

          pdriley wrote: You guys are all sadistic. I believe you meant to say that we are all masocistic (which indicates that we enjoy hurting ourselves, whereas sadistic indicates we enjoy hurting others). pdriley wrote: (doing things the hard way just to prove that you can). I actually see it more like doing it the right way, rather than the hard way. To me, C++ is much more elegant than VB. If you want a rapid development environment, I'd say to use C#. VB is so dirty. pdriley wrote: taking two days to write a simple dialog Try to make a complex one in VB and see how long it takes you. I guess VB is great for cookie cutter design, but C++ gives you a lot more control. Ryan Johnston

          C 1 Reply Last reply
          0
          • N Navin

            I like the concept of a logic-based language. IT could get you in trouble though. The only time I've used Prolog was in a programming language course back in my college days. I can barely remember the syntax. You could write a very simple program that would sort a list of numbers, by asserting that a particular list was in order. The problem was, it would try every permutation of that list of numbers until it found one that satisifed that condition (was sorted.) So you ended up having an O(n!) sorting algorithm! We later learned other ways of doing it. :-O There are three types of people in this world: those who can count, and those who can't.

            R Offline
            R Offline
            Ryan Johnston 0
            wrote on last edited by
            #36

            Navin wrote: like the concept of a logic-based language I like the concept too, but I could never see using it for anything. Ryan Johnston

            1 Reply Last reply
            0
            • P Paul Riley

              You guys are all sadistic. Okay, I admit that C++ is essential at times. And I understand the fact that C++ (and even moreso assembler languages) are like the programming equivalent of extreme sports (doing things the hard way just to prove that you can). But how can anyone claim that C++ is their favourite language? All that vile string handling and taking two days to write a simple dialog (remember... MFC is cheating, even if it isn't all that much easier). VB for GUIs, C++ / ATL for any real work. Borland did a reasonable job of combining the two with BCB. C# is looking like a good contender but I haven't REALLY pushed it yet, so I'm reserving judgement. Paul

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

              pdriley wrote: All that vile string handling and taking two days to write a simple dialog What about us who don't "write dialogs"? ;P It would be insane to use VB for a server side application (unless you use COM+ or something). :beer:

              R 1 Reply Last reply
              0
              • R Ryan Johnston 0

                Nemanja Trifunovic wrote: It would be insane to use VB for a server side application No kidding, I personally think that UI design is the lamest thing you can do in computer programming. I hate windows programming. The fun stuff is at a much lower level. Ryan Johnston

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

                Ryan Johnston wrote: No kidding, I personally think that UI design is the lamest thing you can do in computer programming Ditto. :beer:

                M 1 Reply Last reply
                0
                • N Nemanja Trifunovic

                  pdriley wrote: All that vile string handling and taking two days to write a simple dialog What about us who don't "write dialogs"? ;P It would be insane to use VB for a server side application (unless you use COM+ or something). :beer:

                  R Offline
                  R Offline
                  Ryan Johnston 0
                  wrote on last edited by
                  #39

                  Nemanja Trifunovic wrote: It would be insane to use VB for a server side application No kidding, I personally think that UI design is the lamest thing you can do in computer programming. I hate windows programming. The fun stuff is at a much lower level. Ryan Johnston

                  N 1 Reply Last reply
                  0
                  • J Jorgen Sigvardsson

                    I can't decide between Scheme and C++. Scheme is very clean and simple - elegant IMHO. C++ on the other hand is very complete and powerful. What's your favorite programming language? Preferred storyline: - I am your father. Search your feelings and you'll know it's the truth. Together we can rule this galaxy like father and son. - Ok dad. Let's kick some butt!

                    D Offline
                    D Offline
                    Daniel Turini
                    wrote on last edited by
                    #40

                    C++ most hated: LISP - Lots of Inutile Stupid Parentheses Concussus surgo. When struck I rise.

                    1 Reply Last reply
                    0
                    • N Nemanja Trifunovic

                      Ryan Johnston wrote: No kidding, I personally think that UI design is the lamest thing you can do in computer programming Ditto. :beer:

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

                      No way! I find it really rewarding when someone can look at my program and intuitively figure out how it works because I've designed a good UI. And besides, being a consultant, there isn't anyone I can share my code with and have them ooh and ahh (or maybe barf and puke). The UI is where the fun stuff is, because that's where the "social" aspect of programming comes in--it's how people "talk" with the program. Marc

                      R D 2 Replies Last reply
                      0
                      • M Mauricio Ritter

                        COBOL and PL/I :eek::eek: just kidding... Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter

                        N Offline
                        N Offline
                        Neville Franks
                        wrote on last edited by
                        #42

                        I rememeber the days when I was using the Digital Research PL/I compiler on CP/M. Life was sooo much simpler then.;) Neville Franks, Author of ED for Windows. www.getsoft.com

                        1 Reply Last reply
                        0
                        • M Marc Clifton

                          No way! I find it really rewarding when someone can look at my program and intuitively figure out how it works because I've designed a good UI. And besides, being a consultant, there isn't anyone I can share my code with and have them ooh and ahh (or maybe barf and puke). The UI is where the fun stuff is, because that's where the "social" aspect of programming comes in--it's how people "talk" with the program. Marc

                          R Offline
                          R Offline
                          Ryan Johnston 0
                          wrote on last edited by
                          #43

                          Marc Clifton wrote: because I've designed a good UI Yeah, but it isn't that technically chalenging. It is mostly an exercise in good human interaction design (which I'm not saying is any easier). I personally find that completely boring. On top of that, it is so subjective. There is no right answer. No matter how much work you put into it, it could always be better. I find that lower level stuff is not only more technically chalenging, but it allows me to be really creative. If you make a "creative" UI, most people will hate it because it is different, and consequently harder to use. I would hate to have my design be limited to what a user expects to see. Where is the inovation in that? On the other hand, if I can come up with an entirely new system for managing data, or a new network protocol, or a new windows framework (I hate UI design, but I would love to design something like MFC), or something like that, I really have a chance at a new solution. That is where the fun stuff is. At least that is why I am a programmer. Ryan Johnston

                          1 Reply Last reply
                          0
                          • J Jorgen Sigvardsson

                            I can't decide between Scheme and C++. Scheme is very clean and simple - elegant IMHO. C++ on the other hand is very complete and powerful. What's your favorite programming language? Preferred storyline: - I am your father. Search your feelings and you'll know it's the truth. Together we can rule this galaxy like father and son. - Ok dad. Let's kick some butt!

                            D Offline
                            D Offline
                            David Wulff
                            wrote on last edited by
                            #44

                            What does it matter which language is your favourite so long as you can code with it in Dreamweaver? :rolleyes:


                            David Wulff http://www.davidwulff.co.uk

                            Old Macdonald had a farm and I had it after I had the cows, I had the pigs I'm an animal shafter

                            1 Reply Last reply
                            0
                            • J Jorgen Sigvardsson

                              I can't decide between Scheme and C++. Scheme is very clean and simple - elegant IMHO. C++ on the other hand is very complete and powerful. What's your favorite programming language? Preferred storyline: - I am your father. Search your feelings and you'll know it's the truth. Together we can rule this galaxy like father and son. - Ok dad. Let's kick some butt!

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

                              Let me think.... :P Naturally, it's C++. I HATE vbscript, and I am still not convinced about C#, mainly because of all the fundamental stuff it is missing. I can deal with small doses of jscript, if I've had an otherwise good day. Christian We're just observing the seasonal migration from VB to VC. Most of these birds will be killed by predators or will die of hunger. Only the best will survive - Tomasz Sowinski 29-07-2002 ( on the number of newbie posters in the VC forum ) Cats, and most other animals apart from mad cows can write fully functional vb code. - Simon Walton - 6-Aug-2002

                              1 Reply Last reply
                              0
                              • P Paul Riley

                                You guys are all sadistic. Okay, I admit that C++ is essential at times. And I understand the fact that C++ (and even moreso assembler languages) are like the programming equivalent of extreme sports (doing things the hard way just to prove that you can). But how can anyone claim that C++ is their favourite language? All that vile string handling and taking two days to write a simple dialog (remember... MFC is cheating, even if it isn't all that much easier). VB for GUIs, C++ / ATL for any real work. Borland did a reasonable job of combining the two with BCB. C# is looking like a good contender but I haven't REALLY pushed it yet, so I'm reserving judgement. Paul

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

                                pdriley wrote: All that vile string handling You're thinking of C. std::string is perfectly OK. pdriley wrote: taking two days to write a simple dialog (remember... MFC is cheating, even if it isn't all that much easier). 1. MFC is VERY easy. 2. If MFC is cheating, so is VB or C#. Remember, they are all calling the Win32 API at the end of the day. pdriley wrote: C# is looking like a good contender but I haven't REALLY pushed it yet, so I'm reserving judgement. It's got a lot of nice things, but it's missing a lot of essential stuff as well. It's a good toy language for web development, it may grow into a contender for writing apps where you'd currently use C++, but it's not there yet. Christian We're just observing the seasonal migration from VB to VC. Most of these birds will be killed by predators or will die of hunger. Only the best will survive - Tomasz Sowinski 29-07-2002 ( on the number of newbie posters in the VC forum ) Cats, and most other animals apart from mad cows can write fully functional vb code. - Simon Walton - 6-Aug-2002

                                P 1 Reply Last reply
                                0
                                • R Ryan Johnston 0

                                  pdriley wrote: You guys are all sadistic. I believe you meant to say that we are all masocistic (which indicates that we enjoy hurting ourselves, whereas sadistic indicates we enjoy hurting others). pdriley wrote: (doing things the hard way just to prove that you can). I actually see it more like doing it the right way, rather than the hard way. To me, C++ is much more elegant than VB. If you want a rapid development environment, I'd say to use C#. VB is so dirty. pdriley wrote: taking two days to write a simple dialog Try to make a complex one in VB and see how long it takes you. I guess VB is great for cookie cutter design, but C++ gives you a lot more control. Ryan Johnston

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

                                  Ryan Johnston wrote: VB is so dirty. Oh, yeah !! Ryan Johnston wrote: I guess VB is great for cookie cutter design, but C++ gives you a lot more control. Exactly. Christian We're just observing the seasonal migration from VB to VC. Most of these birds will be killed by predators or will die of hunger. Only the best will survive - Tomasz Sowinski 29-07-2002 ( on the number of newbie posters in the VC forum ) Cats, and most other animals apart from mad cows can write fully functional vb code. - Simon Walton - 6-Aug-2002

                                  1 Reply Last reply
                                  0
                                  • C Christian Graus

                                    pdriley wrote: All that vile string handling You're thinking of C. std::string is perfectly OK. pdriley wrote: taking two days to write a simple dialog (remember... MFC is cheating, even if it isn't all that much easier). 1. MFC is VERY easy. 2. If MFC is cheating, so is VB or C#. Remember, they are all calling the Win32 API at the end of the day. pdriley wrote: C# is looking like a good contender but I haven't REALLY pushed it yet, so I'm reserving judgement. It's got a lot of nice things, but it's missing a lot of essential stuff as well. It's a good toy language for web development, it may grow into a contender for writing apps where you'd currently use C++, but it's not there yet. Christian We're just observing the seasonal migration from VB to VC. Most of these birds will be killed by predators or will die of hunger. Only the best will survive - Tomasz Sowinski 29-07-2002 ( on the number of newbie posters in the VC forum ) Cats, and most other animals apart from mad cows can write fully functional vb code. - Simon Walton - 6-Aug-2002

                                    P Offline
                                    P Offline
                                    Paul Riley
                                    wrote on last edited by
                                    #48

                                    :) I kind of expected most of these responses. Some people have missed the point that I do see the necessity of C++, in fact I'd say 90% of my work-related programming is C++. I do believe in using the right tool for the right job. If I was writing a batch mainframe program that simply picks data from a hierachical database and writes a report, you can be damned sure I'd want to use COBOL. But the question wasn't "which is the most powerful", it was "which is your favourite. Before .NET came along, VB was my favourite. As I said, I'm reserving judgement on C# but it does seem at first glance to be better than VB. Final note: when I said MFC was cheating I meant in terms of "doing it the hard way just because you can." It was a bit of a joke, I didn't think anyone would take me that seriously ;) Paul

                                    1 Reply Last reply
                                    0
                                    • J Jorgen Sigvardsson

                                      I can't decide between Scheme and C++. Scheme is very clean and simple - elegant IMHO. C++ on the other hand is very complete and powerful. What's your favorite programming language? Preferred storyline: - I am your father. Search your feelings and you'll know it's the truth. Together we can rule this galaxy like father and son. - Ok dad. Let's kick some butt!

                                      D Offline
                                      D Offline
                                      David Brillon
                                      wrote on last edited by
                                      #49

                                      I think the best thing since slice bread is Delphi. This is the most RAD tool I know. Love also C++ wich is my main foucs at work. I'm now digging in C# wich is very good since it's by the same guy who created Delphi...:-D

                                      1 Reply Last reply
                                      0
                                      • M Marc Clifton

                                        No way! I find it really rewarding when someone can look at my program and intuitively figure out how it works because I've designed a good UI. And besides, being a consultant, there isn't anyone I can share my code with and have them ooh and ahh (or maybe barf and puke). The UI is where the fun stuff is, because that's where the "social" aspect of programming comes in--it's how people "talk" with the program. Marc

                                        D Offline
                                        D Offline
                                        Daniel Ferguson
                                        wrote on last edited by
                                        #50

                                        I agree about UI programming. I hate programs with clumsy interfaces, so I like to make mine as friendly and intuitive as possible. Things like giving error messages in normal english that explain how to fix the problem, or making dialogs with big lists resizeable. _____________________ "They'd dearly make us pay For laughing in their faces And making it our way" -Love My Way, Psychedelic Furs

                                        1 Reply Last reply
                                        0
                                        • N Nemanja Trifunovic

                                          1. C++ 2. C 3. Z80 Assembler 4. Fortran 77 ;P :beer:

                                          C Offline
                                          C Offline
                                          ColinDavies
                                          wrote on last edited by
                                          #51

                                          Nemanja Trifunovic wrote: Fortran 77 its FORTRAN :-) Regardz Colin J Davies

                                          Sonork ID 100.9197:Colin

                                          You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining. Said by Roger Wright about me.

                                          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