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. Whatch'ya readin'?

Whatch'ya readin'?

Scheduled Pinned Locked Moved The Lounge
csharpasp-netdotnetcomquestion
13 Posts 11 Posters 0 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.
  • K kdmote

    This article makes yet another compelling case for the value of reading other people's code. So, for those of you who agree with the sentiment (as I do -- at least in theory), found anything good lately that you'd like to share? I'll go first: I've been spelunking through some of the CSharp portions of .NET Core (formerly on CodePlex, but now on GitHub.)

    K Offline
    K Offline
    Kaladin
    wrote on last edited by
    #4

    My predecessors' code. Good example of how not to do multi-threading :sigh: To be fair, it was a C program (I think) that was ported to C++ and optimized for low memory systems.

    M 1 Reply Last reply
    0
    • K kdmote

      This article makes yet another compelling case for the value of reading other people's code. So, for those of you who agree with the sentiment (as I do -- at least in theory), found anything good lately that you'd like to share? I'll go first: I've been spelunking through some of the CSharp portions of .NET Core (formerly on CodePlex, but now on GitHub.)

      M Offline
      M Offline
      megaadam
      wrote on last edited by
      #5

      I am reading... this: :(

      // Make REALLY sure we have a TRUE singleton
      ContentHandlerPtr ContentHandler::GetInstance(const char* pContentRoot)
      {
      if(!ContentHandler::m_pContentHandler.get())
      {
      m_pContentHandler = ContentHandlerPtr(new ContentHandler(pContentRoot));
      }

      return ContentHandler::m\_pContentHandler;
      

      }

      ... such stuff as dreams are made on

      J M 2 Replies Last reply
      0
      • K Kaladin

        My predecessors' code. Good example of how not to do multi-threading :sigh: To be fair, it was a C program (I think) that was ported to C++ and optimized for low memory systems.

        M Offline
        M Offline
        megaadam
        wrote on last edited by
        #6

        See below, we are pretty much in a similar mess... :suss:

        ... such stuff as dreams are made on

        1 Reply Last reply
        0
        • K kdmote

          This article makes yet another compelling case for the value of reading other people's code. So, for those of you who agree with the sentiment (as I do -- at least in theory), found anything good lately that you'd like to share? I'll go first: I've been spelunking through some of the CSharp portions of .NET Core (formerly on CodePlex, but now on GitHub.)

          J Offline
          J Offline
          Jon McKee
          wrote on last edited by
          #7

          I'm reading an article... small book... not really sure what's it's classified as by Paul McKenney on CPU/Memory architecture and memory barriers. Asked myself a question while writing an article I realized I couldn't answer to my liking - so I'm rectifying that today :thumbsup:

          1 Reply Last reply
          0
          • M megaadam

            I am reading... this: :(

            // Make REALLY sure we have a TRUE singleton
            ContentHandlerPtr ContentHandler::GetInstance(const char* pContentRoot)
            {
            if(!ContentHandler::m_pContentHandler.get())
            {
            m_pContentHandler = ContentHandlerPtr(new ContentHandler(pContentRoot));
            }

            return ContentHandler::m\_pContentHandler;
            

            }

            ... such stuff as dreams are made on

            J Offline
            J Offline
            Jon McKee
            wrote on last edited by
            #8

            I love that comment. "Make REALLY sure we have a TRUE singleton" :laugh:

            1 Reply Last reply
            0
            • M megaadam

              I am reading... this: :(

              // Make REALLY sure we have a TRUE singleton
              ContentHandlerPtr ContentHandler::GetInstance(const char* pContentRoot)
              {
              if(!ContentHandler::m_pContentHandler.get())
              {
              m_pContentHandler = ContentHandlerPtr(new ContentHandler(pContentRoot));
              }

              return ContentHandler::m\_pContentHandler;
              

              }

              ... such stuff as dreams are made on

              M Offline
              M Offline
              Mark_Wallace
              wrote on last edited by
              #9

              He must have come up from the ranks of early c users, and want to only use single characters for variables, etc. (but suffers longer words as prefixes and suffixes).

              I wanna be a eunuchs developer! Pass me a bread knife!

              1 Reply Last reply
              0
              • K kdmote

                This article makes yet another compelling case for the value of reading other people's code. So, for those of you who agree with the sentiment (as I do -- at least in theory), found anything good lately that you'd like to share? I'll go first: I've been spelunking through some of the CSharp portions of .NET Core (formerly on CodePlex, but now on GitHub.)

                C Offline
                C Offline
                Corporal Agarn
                wrote on last edited by
                #10

                The Lounge at Code Project :-D I'll get my coat. :(

                Mongo: Mongo only pawn... in game of life.

                1 Reply Last reply
                0
                • K kdmote

                  This article makes yet another compelling case for the value of reading other people's code. So, for those of you who agree with the sentiment (as I do -- at least in theory), found anything good lately that you'd like to share? I'll go first: I've been spelunking through some of the CSharp portions of .NET Core (formerly on CodePlex, but now on GitHub.)

                  S Offline
                  S Offline
                  Slow Eddie
                  wrote on last edited by
                  #11

                  Lucky Dog - a narrative about the Lucky Dog vendors In New Orleans by the General manager of the company for the last 40 years. Great read if you've ever been to New Orleans and had one... and even if you have not.

                  1 Reply Last reply
                  0
                  • K kdmote

                    This article makes yet another compelling case for the value of reading other people's code. So, for those of you who agree with the sentiment (as I do -- at least in theory), found anything good lately that you'd like to share? I'll go first: I've been spelunking through some of the CSharp portions of .NET Core (formerly on CodePlex, but now on GitHub.)

                    M Offline
                    M Offline
                    maze3
                    wrote on last edited by
                    #12

                    The code I wrote last week. What was I thinking! Better refactor and switch the framework out with that new one that came out this week. 1/2 day set back now will be better then 2 days next month.

                    1 Reply Last reply
                    0
                    • K kdmote

                      This article makes yet another compelling case for the value of reading other people's code. So, for those of you who agree with the sentiment (as I do -- at least in theory), found anything good lately that you'd like to share? I'll go first: I've been spelunking through some of the CSharp portions of .NET Core (formerly on CodePlex, but now on GitHub.)

                      J Offline
                      J Offline
                      JackPeacock
                      wrote on last edited by
                      #13

                      Over Xmas vacation I'm reading a manual from NXP on a new multi-core embedded controller, Cortex A7 and M4 in one package. Something for the C++ Linux guys on the A7 end, and something for the C "bare iron" guys on the M4 end. Lot of programming challenges to manage power and how to best partition the design to split the requirements between a real-time front end and lots of store and forward data routing on the back end to multiple radios. Then there's the problem of a C# production tester at the assembly line. And on top of all that the security hypervisor to secure against IoT attacks.

                      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