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. Pointy-haird bosses

Pointy-haird bosses

Scheduled Pinned Locked Moved The Lounge
csharpquestion
92 Posts 37 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.
  • P Patrick Etc

    Your guess is pretty much spot-on. Socket programming and thread management is significantly easier in .NET than it is in C++ - I'm working on the server-side state machine for a Windows-based processing control program.


    Cheers, Patrick

    C Offline
    C Offline
    Chris Kaiser
    wrote on last edited by
    #56

    Exactly. Wrote a handy asynchronous transaction server in two days. Would have been a few hours, but I needed it to be a bit robust, with dynamic transaction handlers that are loaded on the back end so that the whole process could be data driven.

    This statement was never false.

    1 Reply Last reply
    0
    • C Chris Kaiser

      Yeah, it is a little reasonable considering that in the past you've used these simple questions as a segue into PE. There is a point to your question after all isn't there? The overwhelming complexity and mass of anything MS? Call me wrong if you wish but you've set a track record with this.

      This statement was never false.

      1 Offline
      1 Offline
      123 0
      wrote on last edited by
      #57

      [Message Deleted]

      L C 2 Replies Last reply
      0
      • 1 123 0

        [Message Deleted]

        C Offline
        C Offline
        Chris Kaiser
        wrote on last edited by
        #58

        The Grand Negus wrote:

        Only fools and charlatans that don't want things accounted for.

        I see the period, but I just can't believe that this sentence is finished. :laugh:

        This statement was never false.

        1 Reply Last reply
        0
        • 1 123 0

          [Message Deleted]

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

          The Grand Negus wrote:

          In this case is was more about Microsoft making everyone learn something that wasn't really better, just different. It sounds though, that .NET can be somewhat better for some folks and some things. But it general, it's probably more change for the sake of change, or six of one, a half dozen of the other.

          Thats not true, its wasn't a change for the sake of change! The CLR provide tremendous advantages to programmers who choose to use it. What are these advantages you ask? The answers can be found here, here, and here.

          █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

          S 1 Reply Last reply
          0
          • L Lost User

            The Grand Negus wrote:

            In this case is was more about Microsoft making everyone learn something that wasn't really better, just different. It sounds though, that .NET can be somewhat better for some folks and some things. But it general, it's probably more change for the sake of change, or six of one, a half dozen of the other.

            Thats not true, its wasn't a change for the sake of change! The CLR provide tremendous advantages to programmers who choose to use it. What are these advantages you ask? The answers can be found here, here, and here.

            █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

            S Offline
            S Offline
            Shog9 0
            wrote on last edited by
            #60

            Captain See Sharp wrote:

            The CLR provide tremendous advantages to programmers who choose to use it.

            Dammit, Cap'n! I don't have time for all that! I need a library that'll provide tremendous advantages even when i don't use it! ;)

            ----

            i hope you are feeling sleepy for people not calling you by the same.

            --BarnaKol on abusive words

            1 Reply Last reply
            0
            • R Rama Krishna Vavilala

              The Grand Negus wrote:

              Well, does it?

              Yes! For certain types of applications it does e.g. database apps, simple forms app, web apps. This compared to the same development work in C++/MFC/ISAPI.

              The Grand Negus wrote:

              If so, how much faster?

              Anywhere between 0-300%. Why? IDE support, care free programming for memory allocations (no need to worry about memory allocations and allocating responsibility to classes for managing memory), Reflection and dynamic code generation. These 4 immediately come to mind.

              T Offline
              T Offline
              Tom Delany
              wrote on last edited by
              #61

              Rama Krishna Vavilala wrote:

              care free programming for memory allocations (no need to worry about memory allocations and allocating responsibility to classes for managing memory)

              I love .NET and find it a great help, but alas, your statement is not 100% true. :sigh: http://msdn.microsoft.com/msdnmag/issues/07/01/ManagedLeaks/default.aspx also: http://www.agilekiwi.com/memory_leaks.htm http://blogs.msdn.com/larryosterman/archive/2004/05/19/135211.aspx http://blogs.msdn.com/brada/archive/2003/04/26/50013.aspx

              WE ARE DYSLEXIC OF BORG. Refutance is systile. Your a$$ will be laminated.

              1 Reply Last reply
              0
              • 1 123 0

                [Message Deleted]

                C Offline
                C Offline
                Chris Maunder
                wrote on last edited by
                #62

                Personally it's not just the speed increase due to not having to worry about memory management, Unicode issues, cross-laguage issues or a library that isn't broad enough - it's things like reflection that allows improved debugging, error reporting, and development tools; A better base class library so you're not spending as much time reinventing things; cleaner language syntax and the no-memory management and inherent security that mean maintenance, debugging, extensions and getting new developers up to speed on old code that are all faster and easier.

                cheers, Chris Maunder

                CodeProject.com : C++ MVP

                R 1 Reply Last reply
                0
                • 1 123 0

                  [Message Deleted]

                  J Offline
                  J Offline
                  Jerry Hammond
                  wrote on last edited by
                  #63

                  If(Negus.Question==Question.Rhetorically.Ignorant) { Net.Develop.Compile>EnglishOnly.Develop.Compile )

                  "We are all repositories for genetically-encoded information that we're all spreading back and forth amongst each other, all the time. We're just lousy with information." - Neal Stephenson

                  1 1 Reply Last reply
                  0
                  • J Jerry Hammond

                    If(Negus.Question==Question.Rhetorically.Ignorant) { Net.Develop.Compile>EnglishOnly.Develop.Compile )

                    "We are all repositories for genetically-encoded information that we're all spreading back and forth amongst each other, all the time. We're just lousy with information." - Neal Stephenson

                    1 Offline
                    1 Offline
                    123 0
                    wrote on last edited by
                    #64

                    [Message Deleted]

                    R J 2 Replies Last reply
                    0
                    • 1 123 0

                      [Message Deleted]

                      R Offline
                      R Offline
                      Raj Lal
                      wrote on last edited by
                      #65

                      Although i came late on this discussion, but i do agree with your point , ofcourse we programmer, only see things in the surface and instantly take our manager as complete morons, but most of the time they have a practical point of view, though not technical but that does NOT make them less experienced or stupid. I myself am a big fan of my supervisor who became VP last month. His questions also looked silly a number of times but eventually i am able to see the point. It was a such a lovely discussion, i hope to see you more in the lounge. there are so many things to learn

                      Omit Needless Words - Strunk, William, Jr.


                      Vista? Cryptography Next Generation (CNG) here

                      1 Reply Last reply
                      0
                      • 1 123 0

                        [Message Deleted]

                        R Offline
                        R Offline
                        Raj Lal
                        wrote on last edited by
                        #66

                        hahaha , that was the best reply i have ever heard , reminds me of Mr. Feynman

                        Omit Needless Words - Strunk, William, Jr.


                        Vista? Cryptography Next Generation (CNG) here

                        1 1 Reply Last reply
                        0
                        • R Raj Lal

                          hahaha , that was the best reply i have ever heard , reminds me of Mr. Feynman

                          Omit Needless Words - Strunk, William, Jr.


                          Vista? Cryptography Next Generation (CNG) here

                          1 Offline
                          1 Offline
                          123 0
                          wrote on last edited by
                          #67

                          [Message Deleted]

                          R J 2 Replies Last reply
                          0
                          • 1 123 0

                            [Message Deleted]

                            R Offline
                            R Offline
                            Raj Lal
                            wrote on last edited by
                            #68

                            Well about your question

                            The Grand Negus wrote:

                            Well, does it? If so, how much faster? If not, what good is it?

                            I would say NO !

                            The Grand Negus wrote:

                            If not, what good is it?

                            Still its good at two fronts Desktop application (windows) and Web 1. Due to the monopoly of MS , .Net comes with set of classes to use the features of Windows directly. Some of the benefits for web (also applies to windows) i can think of are 1. Creating a robust application compared to old technologies 2. Implementation of advanced technologies like security etc is easier 3. Integrated Development Environment (IDE) helps a lot during designing and development 4. Helps you to implement a complete object oriented approach, which again helps in maintenance and extensibilty of the application

                            Omit Needless Words - Strunk, William, Jr.


                            Vista? Cryptography Next Generation (CNG) here

                            1 Reply Last reply
                            0
                            • 1 123 0

                              [Message Deleted]

                              R Offline
                              R Offline
                              Raj Lal
                              wrote on last edited by
                              #69

                              The Grand Negus wrote:

                              Did you know or study under Feynman?

                              I have read a number of his books, and i think whoever will read his books, will know him :) I only wished i could have been that lucky to have studied under him. Have you ? By any chance came across him or have met him in person ? Ahh ! Do tell, if you did, that would have been such a wonderful experience, something to cherish forever.

                              Omit Needless Words - Strunk, William, Jr.


                              Vista? Cryptography Next Generation (CNG) here

                              1 Reply Last reply
                              0
                              • M Marc Clifton

                                The Grand Negus wrote:

                                Well, does it? If so, how much faster? If not, what good is it?

                                No, IMO, it does not. I've had to implement, override or re-implement just about every critical element that .NET supposedly handles for me in order to get a stable and/or usable application. Communications, remoting, UI, USB, database (except for primitives like connection and DataTable classes), etc. The only thing I like about .NET is reflection, and that's not actually a .NET thing, but a language feature. Conversely, it doesn't take more time, IMO, than, say a C++ app. And I refuse to touch MFC anymore. In many ways, it was worse than .NET. So what good is it? It's a tool, but if I'd known then what I know now, I probably wouldn't have switched from C++ and I would have figured out a way (of which there are a variety of options) to implement reflection-like features in C++. Marc

                                Thyme In The Country
                                Interacx

                                People are just notoriously impossible. --DavidCrow
                                There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
                                People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

                                R Offline
                                R Offline
                                Raj Lal
                                wrote on last edited by
                                #70

                                well said marc :)

                                Omit Needless Words - Strunk, William, Jr.


                                Vista? Cryptography Next Generation (CNG) here

                                1 Reply Last reply
                                0
                                • C Chris Maunder

                                  Personally it's not just the speed increase due to not having to worry about memory management, Unicode issues, cross-laguage issues or a library that isn't broad enough - it's things like reflection that allows improved debugging, error reporting, and development tools; A better base class library so you're not spending as much time reinventing things; cleaner language syntax and the no-memory management and inherent security that mean maintenance, debugging, extensions and getting new developers up to speed on old code that are all faster and easier.

                                  cheers, Chris Maunder

                                  CodeProject.com : C++ MVP

                                  R Offline
                                  R Offline
                                  Raj Lal
                                  wrote on last edited by
                                  #71

                                  wow ! you have included almost everything in three lines.

                                  Chris Maunder wrote:

                                  maintenance, debugging, extensions and getting new developers up to speed on old code that are all faster and easier.

                                  you can say that again

                                  Omit Needless Words - Strunk, William, Jr.


                                  Vista? Cryptography Next Generation (CNG) here

                                  1 Reply Last reply
                                  0
                                  • T Tarakeshwar Reddy

                                    The Grand Negus wrote:

                                    Well, does it?

                                    Yes it does.

                                    The Grand Negus wrote:

                                    If so, how much faster?

                                    2-5 times faster than developing in c++, vb 6.0, foxpro, dbase, pascal, classic asp, java. Its relative to the software you want to compare with. Just drag and drop couple of buttons, textboxes, labels, listview and write some events and you have a form ready, imagine this same thing in c++ or java. You will have to write at least 5-6 times the code to draw these forms, buttons, listview and other stuff.

                                    The Grand Negus wrote:

                                    If not, what good is it?

                                    (4 million members - you) think its good :).

                                    A Offline
                                    A Offline
                                    Anna Jayne Metcalfe
                                    wrote on last edited by
                                    #72

                                    Tarakeshwar Reddy wrote:

                                    Just drag and drop couple of buttons, textboxes, labels, listview and write some events and you have a form ready, imagine this same thing in c++ or java. You will have to write at least 5-6 times the code to draw these forms, buttons, listview and other stuff.

                                    Erm...ever heard of the dialog editor? Seriously, form or dialog design is pretty much the same regardless of whether you write in C#, VB, C++/CLI, C++/MFC or C++/WTL. I'd suggest that the Windows resource file format (.rc) is far more maintainable and less fragile than the .NET .resx format, too. Now if you want your UI to be testable (we've seen the light and now use Test Driven Development[^]), that requires forethought and design regardless of which framework you use - and that of course takes time. :rose:

                                    Anna :rose: Linting the day away :cool: Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                                    1 Reply Last reply
                                    0
                                    • 1 123 0

                                      [Message Deleted]

                                      M Offline
                                      M Offline
                                      Mark II
                                      wrote on last edited by
                                      #73

                                      The Grand Negus wrote:

                                      Well, does it? If so, how much faster? If not, what good is it?

                                      I do think that .Net helps me write applications faster. As for "how much", I really have no idea. I really don't care. Why? Because speed of development isn't everything - not even the main thing. As long as I don't write applications significantly slower using .Net than using 'traditional' methods, then I don't have a problem with .Net. So, what .Net does do for me, then? "What good is it?" The benefits of .Net are that it helps me maintain my applications more efficiently, it helps me debug my applications more quickly, it helps me write better applications, it enables me to write applications I couldn't write before, and (most imporantly) significantly adds to my enjoyment of writing applications. The truth is that speed of development is marketing hype. Most marketing hype is about the things that matter to people who buy products, not about the things that matter to people who use them. A lot of products have 'features' that are there to sell them, not for people to use. For example: How many people buy mobile phones with all the latest features and just use them to make calls? How many people buy a video recorder because of all the clever things they can do (like make the tea, clean the toilet etc.), then just use them to watch pre-recorded movies? My Blog: http://allwrong.wordpress.com[^]

                                      1 Reply Last reply
                                      0
                                      • N Not Active

                                        Where do they come from?:rolleyes: I gave a briefing to my new boss and some staff about what .NET is all about. His response was "I don't understand. I thought .NET would allow you to write applications faster. How can it take six months to write something? Did we make a mistake going this route?" His view of .NET prior to my presentation was that .NET was just another reusable library, plug it in and you have an application.


                                        only two letters away from being an asset

                                        T Offline
                                        T Offline
                                        TonyS 0
                                        wrote on last edited by
                                        #74

                                        A competent IT professional should realize that there is a vast majority of people out there who do not know or care what .NET is. They are interested in the end product. The nuts and bolts that make up the product is not of most peoples concern or should be. The platform .NET is nothing without a decent understanding of the required objectives. This needs to be effectively communicated to lay people at whichever level this may be. I would not be surprised by your bosses words. It is pure .NET marketing speak that made him think that.

                                        J 1 Reply Last reply
                                        0
                                        • 1 123 0

                                          [Message Deleted]

                                          G Offline
                                          G Offline
                                          GregScott
                                          wrote on last edited by
                                          #75

                                          You really know your school yard politics

                                          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