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. Delegates and I am so glad to leave MS behind

Delegates and I am so glad to leave MS behind

Scheduled Pinned Locked Moved The Lounge
comcsharpc++visual-studiolinux
38 Posts 19 Posters 37 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.
  • Richard Andrew x64R Richard Andrew x64

    I think you're not noticing that managed code, to the extent of .NET and maybe Java, (I don't know much about Java except that I hate eclipse,) was revolutionary. It dumbed down programming on a scale even greater than the effect Visual Basic had on Windows application programming.

    The difficult we do right away... ...the impossible takes slightly longer.

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

    Not sure how you can draw that conclusion based off an SGML example. While I do concur the "rise" of XML and .NET were around the same time, that example stands independent of .NET, so I'm not sure what I failed to notice given the concept has nothing to do with managed code in and of itself and more to do with junior programmers of any generation knowing little of the past.

    Jeremy Falcon

    Richard Andrew x64R J 2 Replies Last reply
    0
    • M Marc Clifton

      Jeremy Falcon wrote:

      Oh, and IMO it's a bit easier to do multithreaded work in C on Linux than Windows.

      I love thread handling in C#. I can go high level and just let the framework do what it thinks it's best, or I can go low level and take complete control. And threads (aka async tasks) with awaits, while it can be a bit of a hurdle to sometimes realize what I did wrong and to how to break the chain of, oh, this method is now async, so the parent has to be async, oh wait, the grandparent now has to be async..., yeah, how to do deal with that takes some finesse, but I still love how C# implements the whole mess. ;)

      Latest Articles:
      A Lightweight Thread Safe In-Memory Keyed Generic Cache Collection Service A Dynamic Where Implementation for Entity Framework

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

      I do have to admit man, while I've done very, very, very little multi-threading in C#, from what I've seen it does make it nice. More recent versions of C++ do as well.

      Jeremy Falcon

      J 1 Reply Last reply
      0
      • J Jeremy Falcon

        Not sure how you can draw that conclusion based off an SGML example. While I do concur the "rise" of XML and .NET were around the same time, that example stands independent of .NET, so I'm not sure what I failed to notice given the concept has nothing to do with managed code in and of itself and more to do with junior programmers of any generation knowing little of the past.

        Jeremy Falcon

        Richard Andrew x64R Offline
        Richard Andrew x64R Offline
        Richard Andrew x64
        wrote on last edited by
        #10

        I just wanted to say that. Nothing personal.

        The difficult we do right away... ...the impossible takes slightly longer.

        J 1 Reply Last reply
        0
        • C charlieg

          So, I read this article: Easily navigate code delegates while debugging - Visual Studio Blog[^] and I am so glad, I just don't give a flying f*** anymore. I started doing serious Windows development in 2003. I inherited a project that used ActiveX controls. Just local, no downloads - all embedded system work. I have to plow through the changing terminology of COM, DCOM, COM++, ActiveX, etc. After 3 years, I declared it utter bull****. MS renaming things just to rename things for marketing purposes. So, I read this devblog article, and though delegates are somewhat different than function pointers, its the same old bs from Microsoft renaming stuff. Worse, I suspect it made it into the C++ standard. I don't know about that, nor do I care. Starting next week, I'm moving to linux.

          Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

          C Offline
          C Offline
          charlieg
          wrote on last edited by
          #11

          I admit to having never developed anything in C# or anything else managed. I admit that the .net ecosystem is nice, but I just wish Microsoft would stop renaming stuff to make it look new. That was the gist of my rant. I've done a good bit of Unix development in the past - device drivers, graphics subsystems, applications, likely a few years before Linux became a twinkle in someone's eye. Tinkering, it's a bit of a shock to step back into that environment - much closer to the base system. I'm looking forward to relearning make files :).

          Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

          Richard Andrew x64R Greg UtasG 2 Replies Last reply
          0
          • Richard Andrew x64R Richard Andrew x64

            I just wanted to say that. Nothing personal.

            The difficult we do right away... ...the impossible takes slightly longer.

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

            Fair enough. :laugh:

            Jeremy Falcon

            1 Reply Last reply
            0
            • C charlieg

              I admit to having never developed anything in C# or anything else managed. I admit that the .net ecosystem is nice, but I just wish Microsoft would stop renaming stuff to make it look new. That was the gist of my rant. I've done a good bit of Unix development in the past - device drivers, graphics subsystems, applications, likely a few years before Linux became a twinkle in someone's eye. Tinkering, it's a bit of a shock to step back into that environment - much closer to the base system. I'm looking forward to relearning make files :).

              Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

              Richard Andrew x64R Offline
              Richard Andrew x64R Offline
              Richard Andrew x64
              wrote on last edited by
              #13

              To be honest, I'm floating the idea of switching to Linux for personal use. I make my living with Microsoft technologies, but for personal use, I'm considering what would be involved in switching. I'll be interested to see how you make out.

              The difficult we do right away... ...the impossible takes slightly longer.

              D P 2 Replies Last reply
              0
              • C charlieg

                So, I read this article: Easily navigate code delegates while debugging - Visual Studio Blog[^] and I am so glad, I just don't give a flying f*** anymore. I started doing serious Windows development in 2003. I inherited a project that used ActiveX controls. Just local, no downloads - all embedded system work. I have to plow through the changing terminology of COM, DCOM, COM++, ActiveX, etc. After 3 years, I declared it utter bull****. MS renaming things just to rename things for marketing purposes. So, I read this devblog article, and though delegates are somewhat different than function pointers, its the same old bs from Microsoft renaming stuff. Worse, I suspect it made it into the C++ standard. I don't know about that, nor do I care. Starting next week, I'm moving to linux.

                Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                S Offline
                S Offline
                swampwiz
                wrote on last edited by
                #14

                I think Micro$oft's Delegate system to be quite hokey. Just give me regular function pointers to work with!

                C D 2 Replies Last reply
                0
                • C charlieg

                  So, I read this article: Easily navigate code delegates while debugging - Visual Studio Blog[^] and I am so glad, I just don't give a flying f*** anymore. I started doing serious Windows development in 2003. I inherited a project that used ActiveX controls. Just local, no downloads - all embedded system work. I have to plow through the changing terminology of COM, DCOM, COM++, ActiveX, etc. After 3 years, I declared it utter bull****. MS renaming things just to rename things for marketing purposes. So, I read this devblog article, and though delegates are somewhat different than function pointers, its the same old bs from Microsoft renaming stuff. Worse, I suspect it made it into the C++ standard. I don't know about that, nor do I care. Starting next week, I'm moving to linux.

                  Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                  D Offline
                  D Offline
                  David ONeil
                  wrote on last edited by
                  #15

                  Another way to leave MS's work out of the loop: The Impossibly Fast C++ Delegates, Fixed[^]. CP for the win!

                  Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver

                  1 Reply Last reply
                  0
                  • C charlieg

                    I admit to having never developed anything in C# or anything else managed. I admit that the .net ecosystem is nice, but I just wish Microsoft would stop renaming stuff to make it look new. That was the gist of my rant. I've done a good bit of Unix development in the past - device drivers, graphics subsystems, applications, likely a few years before Linux became a twinkle in someone's eye. Tinkering, it's a bit of a shock to step back into that environment - much closer to the base system. I'm looking forward to relearning make files :).

                    Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                    Greg UtasG Offline
                    Greg UtasG Offline
                    Greg Utas
                    wrote on last edited by
                    #16

                    I haven't developed in C# or anything managed either. Some things about C# are appealing, but it's not a fit for what I've focused on so far. Besides, you can't kiss all the girls. Renaming in large corporations sometimes occurs when a new group takes something over and rebrands it, even to the point of inventing new terminology. It's often at the behest of the new VP, much like an animal engaging in scent marking. My former boss described it as "Same lady, new dress." :-D I'd heard so many horror stories about makefiles that I kept delaying porting my code from Windows to Linux. And one day I discovered CMake, which even this dinosaur learned with relative ease. If it's a fit for what you doing (building a large C++ code base in my case), take a look at it.

                    Robust Services Core | Software Techniques for Lemmings | Articles
                    The fox knows many things, but the hedgehog knows one big thing.

                    <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
                    <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

                    1 Reply Last reply
                    0
                    • C charlieg

                      So, I read this article: Easily navigate code delegates while debugging - Visual Studio Blog[^] and I am so glad, I just don't give a flying f*** anymore. I started doing serious Windows development in 2003. I inherited a project that used ActiveX controls. Just local, no downloads - all embedded system work. I have to plow through the changing terminology of COM, DCOM, COM++, ActiveX, etc. After 3 years, I declared it utter bull****. MS renaming things just to rename things for marketing purposes. So, I read this devblog article, and though delegates are somewhat different than function pointers, its the same old bs from Microsoft renaming stuff. Worse, I suspect it made it into the C++ standard. I don't know about that, nor do I care. Starting next week, I'm moving to linux.

                      Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                      pkfoxP Offline
                      pkfoxP Offline
                      pkfox
                      wrote on last edited by
                      #17

                      All my personal stuff ( a lot ) is on Linux

                      In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                      C 1 Reply Last reply
                      0
                      • S swampwiz

                        I think Micro$oft's Delegate system to be quite hokey. Just give me regular function pointers to work with!

                        C Offline
                        C Offline
                        charlieg
                        wrote on last edited by
                        #18

                        Exactly what I was thinking. But my C++ work tends to be relatively close to hardware with some desktop code mixed in, so I rarely if ever use the higher end stuff of C++. Need to read the next comment. :)

                        Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                        1 Reply Last reply
                        0
                        • pkfoxP pkfox

                          All my personal stuff ( a lot ) is on Linux

                          In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP

                          C Offline
                          C Offline
                          charlieg
                          wrote on last edited by
                          #19

                          My first plan is to see how much I can do on a raspberry pi. Plug in a 1TB usb drive, and I think it will do everything I need it to do.

                          Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                          T 1 Reply Last reply
                          0
                          • C charlieg

                            My first plan is to see how much I can do on a raspberry pi. Plug in a 1TB usb drive, and I think it will do everything I need it to do.

                            Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                            T Offline
                            T Offline
                            theoldfool
                            wrote on last edited by
                            #20

                            Take a look at the new NVME hat for the 5. I am now also using macro pads on the Pi and Debian. Lazy man’s tool.

                            >64 It’s weird being the same age as old people. Live every day like it is your last; one day, it will be.

                            1 Reply Last reply
                            0
                            • C charlieg

                              So, I read this article: Easily navigate code delegates while debugging - Visual Studio Blog[^] and I am so glad, I just don't give a flying f*** anymore. I started doing serious Windows development in 2003. I inherited a project that used ActiveX controls. Just local, no downloads - all embedded system work. I have to plow through the changing terminology of COM, DCOM, COM++, ActiveX, etc. After 3 years, I declared it utter bull****. MS renaming things just to rename things for marketing purposes. So, I read this devblog article, and though delegates are somewhat different than function pointers, its the same old bs from Microsoft renaming stuff. Worse, I suspect it made it into the C++ standard. I don't know about that, nor do I care. Starting next week, I'm moving to linux.

                              Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                              R Offline
                              R Offline
                              rnbergren
                              wrote on last edited by
                              #21

                              "Starting next week, I'm moving to linux." Welcome to the club. PS I still have to deal with Winders quite often, But not for my own stuff.

                              To err is human to really elephant it up you need a computer

                              1 Reply Last reply
                              0
                              • C charlieg

                                So, I read this article: Easily navigate code delegates while debugging - Visual Studio Blog[^] and I am so glad, I just don't give a flying f*** anymore. I started doing serious Windows development in 2003. I inherited a project that used ActiveX controls. Just local, no downloads - all embedded system work. I have to plow through the changing terminology of COM, DCOM, COM++, ActiveX, etc. After 3 years, I declared it utter bull****. MS renaming things just to rename things for marketing purposes. So, I read this devblog article, and though delegates are somewhat different than function pointers, its the same old bs from Microsoft renaming stuff. Worse, I suspect it made it into the C++ standard. I don't know about that, nor do I care. Starting next week, I'm moving to linux.

                                Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

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

                                charlieg wrote:

                                Starting next week, I'm moving to linux.

                                Linux is fine, I just hope you don't go in thinking it's not without problems of its own.

                                1 Reply Last reply
                                0
                                • Richard Andrew x64R Richard Andrew x64

                                  To be honest, I'm floating the idea of switching to Linux for personal use. I make my living with Microsoft technologies, but for personal use, I'm considering what would be involved in switching. I'll be interested to see how you make out.

                                  The difficult we do right away... ...the impossible takes slightly longer.

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

                                  Richard Andrew x64 wrote:

                                  I'm floating the idea of switching to Linux for personal use. I make my living with Microsoft technologies

                                  I'm in the same boat. Can't abandon MS because of work (I've always worked for full-on MS shops), but given where MS is clearly headed, I'd rather not follow. I like tinkering with Linux in a VM, and have an old laptop or two running it directly on the hardware, but dedicating myself to it would be a tough transition.

                                  1 Reply Last reply
                                  0
                                  • M Marc Clifton

                                    Jeremy Falcon wrote:

                                    Oh, and IMO it's a bit easier to do multithreaded work in C on Linux than Windows.

                                    I love thread handling in C#. I can go high level and just let the framework do what it thinks it's best, or I can go low level and take complete control. And threads (aka async tasks) with awaits, while it can be a bit of a hurdle to sometimes realize what I did wrong and to how to break the chain of, oh, this method is now async, so the parent has to be async, oh wait, the grandparent now has to be async..., yeah, how to do deal with that takes some finesse, but I still love how C# implements the whole mess. ;)

                                    Latest Articles:
                                    A Lightweight Thread Safe In-Memory Keyed Generic Cache Collection Service A Dynamic Where Implementation for Entity Framework

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

                                    Marc Clifton wrote:

                                    this method is now async, so the parent has to be async, oh wait, the grandparent now has to be async...

                                    So much this. One of these days I'll have to actually sit down and take the time to study this and try to understand, once and for all, how to avoid getting yourself in that situation. Because right now I find myself avoiding using async/await because I see it as having to "retroactively pollute the entire codebase". And that can't be right, that *has* to be just me misunderstanding and misusing it.

                                    M 1 Reply Last reply
                                    0
                                    • S swampwiz

                                      I think Micro$oft's Delegate system to be quite hokey. Just give me regular function pointers to work with!

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

                                      swampwiz wrote:

                                      Micro$oft's

                                      How 1990's of you. Coming straight for Slashdot? (Sorry, it's just a pet peeve of mine. My perspective is, get over it, everybody does what they do for $ and if you're not, you're either lying or I don't know what part of the world you're from where everything is free).

                                      1 Reply Last reply
                                      0
                                      • J Jeremy Falcon

                                        Not sure how you can draw that conclusion based off an SGML example. While I do concur the "rise" of XML and .NET were around the same time, that example stands independent of .NET, so I'm not sure what I failed to notice given the concept has nothing to do with managed code in and of itself and more to do with junior programmers of any generation knowing little of the past.

                                        Jeremy Falcon

                                        J Offline
                                        J Offline
                                        jochance
                                        wrote on last edited by
                                        #26

                                        We just happened to be scaling more in the time of .NET. I don't think anything will ever dethrone VB/Office dev as making dev simpler, save maybe new AI things that don't yet exist but harken back to those "design by wizard" but with way way better wizards.

                                        1 Reply Last reply
                                        0
                                        • J Jeremy Falcon

                                          I do have to admit man, while I've done very, very, very little multi-threading in C#, from what I've seen it does make it nice. More recent versions of C++ do as well.

                                          Jeremy Falcon

                                          J Offline
                                          J Offline
                                          jochance
                                          wrote on last edited by
                                          #27

                                          ConcurrentBag + Task.Waitxxx/WhenAll/Any

                                          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