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++ Anyone?

C++ Anyone?

Scheduled Pinned Locked Moved The Lounge
csharpc++architecturequestion
47 Posts 16 Posters 6 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.
  • S Stuart Dootson

    Ha! My templates'll kick sand in your generics's faces like the 50 pound weaklings they are! ;P

    Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

    B Offline
    B Offline
    Brady Kelly
    wrote on last edited by
    #15

    BTW, Generics are much, much more functional than templates, and we all know we're all going functional, hey?

    S 1 Reply Last reply
    0
    • B Brady Kelly

      BTW, Generics are much, much more functional than templates, and we all know we're all going functional, hey?

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #16

      To be serious for a moment…C++ templates actually make-up a compile-time pure functional programming language over the C++ type system, possibly (probably, I'm not entirely sure) with lazy evaluation as well. So I suspect they're rather more functional than the C# generics :-)

      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

      B C 2 Replies Last reply
      0
      • S Stuart Dootson

        To be serious for a moment…C++ templates actually make-up a compile-time pure functional programming language over the C++ type system, possibly (probably, I'm not entirely sure) with lazy evaluation as well. So I suspect they're rather more functional than the C# generics :-)

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        B Offline
        B Offline
        Brady Kelly
        wrote on last edited by
        #17

        Now that you explained that, the jury is still out (I only know that C# generics are not purely compile time, in that they are only JIT compile time, and seem to have been aimed at furthering the functional qualification of the .NET languages, of course starting with C#). Generics, including function types like lambdas and delegates, seem to have been part of a conspiracy to use LINQ as a subtle wedge in the door to bring C# up to the functional expectations of the non-MS world. It seems to be working.

        1 Reply Last reply
        0
        • C CaptainSeeSharp

          I'm looking into getting back into software development. I think this is the perfect opportunity to consider abandoning MS/.net and get on the solid platform that C++ has to offer. Are there any C++ programmers out there that program in C++ because they like it more than .net?

          Fall of the Republic[^]

          B Offline
          B Offline
          Brady Kelly
          wrote on last edited by
          #18

          Why are people down-voting CSS on this post? You might think he's a poes on the SoapBox, but a totally legitimate developer question should not attract down-votes. You people can often be such small minded poesses. (Sorry if I didn't spell that right)

          C L 4 Replies Last reply
          0
          • C CaptainSeeSharp

            WPF, in my opinion, it is for junk software. That crap that comes with store bought computers and add-on hardware is super-bloated junk that tries to compete with all the other software for the users attention by using big round flashing buttons and giant windows with nothing of real substance in them. I want to write real code that isn't some marketing scam from MS that is going to become obsolete in a year or two and force everyone to learn another three letter acronym and buy a whole new bookshelf full of books.

            Fall of the Republic[^]

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

            CaptainSeeSharp wrote:

            WPF, in my opinion, it is for junk software.

            Well, that's interesting. Why are you using windows at all then ? That's obviously just a scam, you should be using a command line only.

            CaptainSeeSharp wrote:

            I want to write real code that isn't some marketing scam from MS that is going to become obsolete in a year or two and force everyone to learn another three letter acronym and buy a whole new bookshelf full of books.

            Well, C++ is obviously trapped in a certain period in time and is unlikely to progress too much, so you're right that that is where you should be. C would perhaps work for you even better.

            Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

            1 Reply Last reply
            0
            • B Brady Kelly

              Why are people down-voting CSS on this post? You might think he's a poes on the SoapBox, but a totally legitimate developer question should not attract down-votes. You people can often be such small minded poesses. (Sorry if I didn't spell that right)

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

              While I agree, he's pretty much brought it upon himself IMO.

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              1 Reply Last reply
              0
              • S Stuart Dootson

                To be serious for a moment…C++ templates actually make-up a compile-time pure functional programming language over the C++ type system, possibly (probably, I'm not entirely sure) with lazy evaluation as well. So I suspect they're rather more functional than the C# generics :-)

                Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

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

                C# generics are plain anaemic compares to C++ templates. It's part of the overall design philosophy to make C# easy to use rather than powerful if there's ever a choice between the two. That's serious, I was told that by the C# team.

                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                S 1 Reply Last reply
                0
                • B Brady Kelly

                  No.

                  C Offline
                  C Offline
                  Chris Losinger
                  wrote on last edited by
                  #22

                  errr... Yes.

                  image processing toolkits | batch image processing

                  1 Reply Last reply
                  0
                  • C CaptainSeeSharp

                    I'm looking into getting back into software development. I think this is the perfect opportunity to consider abandoning MS/.net and get on the solid platform that C++ has to offer. Are there any C++ programmers out there that program in C++ because they like it more than .net?

                    Fall of the Republic[^]

                    S Offline
                    S Offline
                    Simple Inheritance
                    wrote on last edited by
                    #23

                    That is what I will do. You feel part of some sort of nobility (albeit recognized only by your peers) when you can run the whole gamut of ATL, WTL, STL. It's the .Net Framework that killed C++ on Windows and only the framework. If librairies as complete and unified could enter the arena, the language would be revived by popular demand. But I am pessimistic. Nevertheless, although a chilly pain since its inception due to the asinian lack of librairies, C++ is still firmly anchored. It ages well and it remains definitely OK for cross-platform development (wxWidgets, Qt and others ...).

                    R 1 Reply Last reply
                    0
                    • S Simple Inheritance

                      That is what I will do. You feel part of some sort of nobility (albeit recognized only by your peers) when you can run the whole gamut of ATL, WTL, STL. It's the .Net Framework that killed C++ on Windows and only the framework. If librairies as complete and unified could enter the arena, the language would be revived by popular demand. But I am pessimistic. Nevertheless, although a chilly pain since its inception due to the asinian lack of librairies, C++ is still firmly anchored. It ages well and it remains definitely OK for cross-platform development (wxWidgets, Qt and others ...).

                      R Offline
                      R Offline
                      Rohde
                      wrote on last edited by
                      #24

                      Simple Inheritance wrote:

                      Nevertheless, although a chilly pain since its inception due to the asinian lack of librairies,

                      Agreed. The lack of some sort of standardized libraries is incomprehensible. .NET and Java puts so many tools in the developer's hand while C++ only has STL to offer and vertor isn't all it's made up to be.


                      "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
                      -Atlas Shrugged, Ayn Rand

                      1 Reply Last reply
                      0
                      • B Brady Kelly

                        Why are people down-voting CSS on this post? You might think he's a poes on the SoapBox, but a totally legitimate developer question should not attract down-votes. You people can often be such small minded poesses. (Sorry if I didn't spell that right)

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

                        Brady Kelly wrote:

                        You people can often be such small minded poesses. (Sorry if I didn't spell that right)

                        How else would you spell poesses? I wonder what it's supposed to mean?

                        B 1 Reply Last reply
                        0
                        • C CaptainSeeSharp

                          I'm looking into getting back into software development. I think this is the perfect opportunity to consider abandoning MS/.net and get on the solid platform that C++ has to offer. Are there any C++ programmers out there that program in C++ because they like it more than .net?

                          Fall of the Republic[^]

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

                          CaptainSeeSharp wrote:

                          I'm looking into getting back into software development.

                          Professional or hobby?

                          CaptainSeeSharp wrote:

                          I think this is the perfect opportunity to consider abandoning MS/.net and get on the solid platform that C++ has to offer.

                          If it's for professional purposes, then try to look at what the market is asking.

                          get; !out; (char)*lie & 0xD0- !not) return!![^]

                          1 Reply Last reply
                          0
                          • B Brady Kelly

                            Why are people down-voting CSS on this post? You might think he's a poes on the SoapBox, but a totally legitimate developer question should not attract down-votes. You people can often be such small minded poesses. (Sorry if I didn't spell that right)

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

                            Brady Kelly wrote:

                            Why are people down-voting CSS on this post?

                            Just a guess, since I didn't vote, but it may be due to the phrasing of his query.

                            CaptainSeeSharp wrote:

                            I think this is the perfect opportunity to consider abandoning MS/.net and get on the solid platform that C++ has to offer.

                            Go down to a bakers-convention and say "these electric ovens are crap, who thinks I'm right and wants to go back to an open fire in the backyard?" :cool:

                            I are Troll :)

                            1 Reply Last reply
                            0
                            • C CaptainSeeSharp

                              WPF, in my opinion, it is for junk software. That crap that comes with store bought computers and add-on hardware is super-bloated junk that tries to compete with all the other software for the users attention by using big round flashing buttons and giant windows with nothing of real substance in them. I want to write real code that isn't some marketing scam from MS that is going to become obsolete in a year or two and force everyone to learn another three letter acronym and buy a whole new bookshelf full of books.

                              Fall of the Republic[^]

                              P Offline
                              P Offline
                              pseudonym67
                              wrote on last edited by
                              #28

                              CaptainSeeSharp wrote:

                              I want to write real code that isn't some marketing scam from MS that is going to become obsolete in a year or two

                              Ahhh the dream. I always think Im doing well if I dont think my codes obsolete by the time its compiled.

                              pseudonym67 My Articles[^] Personal Music Player[^]

                              1 Reply Last reply
                              0
                              • L Lost User

                                Brady Kelly wrote:

                                You people can often be such small minded poesses. (Sorry if I didn't spell that right)

                                How else would you spell poesses? I wonder what it's supposed to mean?

                                B Offline
                                B Offline
                                Brady Kelly
                                wrote on last edited by
                                #29

                                You might spell it with one 's'. It's the Afrikaans plural for a poes. The translation is not KSS, but I'm sure any young Afrikaans girls that might read this can hold their own.

                                L 1 Reply Last reply
                                0
                                • C Christian Graus

                                  C# generics are plain anaemic compares to C++ templates. It's part of the overall design philosophy to make C# easy to use rather than powerful if there's ever a choice between the two. That's serious, I was told that by the C# team.

                                  Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                                  S Offline
                                  S Offline
                                  Stuart Dootson
                                  wrote on last edited by
                                  #30

                                  Is true. C++ templates are pretty simple IF you consider the use cases possible with C# generics. Go beyond that (with templates) and you'd better now what you're doing! But as most developers use, rather than write templates, it's a moot point really.

                                  Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                                  G 1 Reply Last reply
                                  0
                                  • C CaptainSeeSharp

                                    WPF, in my opinion, it is for junk software. That crap that comes with store bought computers and add-on hardware is super-bloated junk that tries to compete with all the other software for the users attention by using big round flashing buttons and giant windows with nothing of real substance in them. I want to write real code that isn't some marketing scam from MS that is going to become obsolete in a year or two and force everyone to learn another three letter acronym and buy a whole new bookshelf full of books.

                                    Fall of the Republic[^]

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

                                    CaptainSeeSharp wrote:

                                    WPF, in my opinion, it is for junk software

                                    WPF is a UI framework, nothing more. It has a number of features that give it great appeal, once you've learned how to use it.

                                    CaptainSeeSharp wrote:

                                    That crap that comes with store bought computers and add-on hardware is super-bloated junk that tries to compete with all the other software for the users attention by using big round flashing buttons and giant windows with nothing of real substance in them.

                                    The irony in that statement is that the people who develop crapware like that have been doing it since the dawn of personal computing. The only thing that changes is their methodology. WPF certainly isn't the cause.

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

                                    1 Reply Last reply
                                    0
                                    • S Stuart Dootson

                                      Is true. C++ templates are pretty simple IF you consider the use cases possible with C# generics. Go beyond that (with templates) and you'd better now what you're doing! But as most developers use, rather than write templates, it's a moot point really.

                                      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

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

                                      Frankly, I've always thought that templates could be overused and abused just as badly as the preprocessor. I've seen heavily-templated code that was close to unreadable because the author was so entranced with doing everything via templates.

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

                                      S 1 Reply Last reply
                                      0
                                      • C CaptainSeeSharp

                                        I'm looking into getting back into software development. I think this is the perfect opportunity to consider abandoning MS/.net and get on the solid platform that C++ has to offer. Are there any C++ programmers out there that program in C++ because they like it more than .net?

                                        Fall of the Republic[^]

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

                                        My current project, The Big New Thing™ is actually a mix. The front end application is C#/WPF, and the back end services are C++/MFC. Previous products were pure C++/MFC. The front end UI was vastly more involved to program than the new one has been. As always, pick the appropriate tool for the job.

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

                                        1 Reply Last reply
                                        0
                                        • G Gary R Wheeler

                                          Frankly, I've always thought that templates could be overused and abused just as badly as the preprocessor. I've seen heavily-templated code that was close to unreadable because the author was so entranced with doing everything via templates.

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

                                          S Offline
                                          S Offline
                                          Stuart Dootson
                                          wrote on last edited by
                                          #34

                                          Gary R. Wheeler wrote:

                                          Frankly, I've always thought that templates could be overused and abused just as badly as the preprocessor

                                          Course they can. Anything can. OO, inheritance - they could be substituted for 'templates' in that sentence. But there's a difference between library code, which has a desire to be maximally reusable, and application code, which doesn't have that requirement. I'm quite happy to use libraries like Boost, which use templates like they were going out of fashion, but write that code? Na, not so much (although I have done at times when I needed to).

                                          Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                                          G 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