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

    I'd say it's significant. I've spent the last three days doing something in C++ that would have taken me minutes or hours in C# (unfortunately, this is meant to run on Linux so .NET is a non-starter).


    Cheers, Patrick

    D Offline
    D Offline
    Dan Neely
    wrote on last edited by
    #19

    MONO (and GTK.net if you need a not web UI).

    -- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer

    P A 2 Replies Last reply
    0
    • 1 123 0

      [Message Deleted]

      R Offline
      R Offline
      Rama Krishna Vavilala
      wrote on last edited by
      #20

      The Grand Negus wrote:

      Shouldn't Mark have been able to say to his boss that the six months in question would have been twelve without .NET?

      That's a good question. That will be true if the time spent in the project is only for coding. Unfortunately there are other things which consume majority of the time in a project.

      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.

        C Offline
        C Offline
        Chris Austin
        wrote on last edited by
        #21

        I 110% agree with everything you said except for this:

        Rama Krishna Vavilala wrote:

        no need to worry about memory allocations and allocating responsibility to classes for managing memory)

        Memory and resource allocation isn't that difficult after some real experience writing code :) Heck, I've used tons of macros and other simple tools that became part of the build process to check my work. Don't want to argue or anything like that, but it just seems that resource allocation is often the excuse for moving to a managed platform with out any real data showing why.

        My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

        R 1 Reply Last reply
        0
        • 1 123 0

          [Message Deleted]

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

          The Grand Negus wrote:

          Compared to however they were doing things before the .NET era.

          And how are they going to compare it? Are they going to develop exactly the same software they developed before .NET? If they are, do they have exactly the same people, with exactly same skill levels and motivation?

          The Grand Negus wrote:

          And measured in various ways - training costs (time and materials), development costs (time and materials), number of bugs, failures, etc.

          Yep, these "various ways" are called software metrics[^] and reliable software metrics simply don't exist today.

          The Grand Negus wrote:

          Is your new car...

          Sorry, no parallels between cars and software development make any meaning in real life.


          Programming Blog utf8-cpp

          1 1 Reply Last reply
          0
          • D Dan Neely

            MONO (and GTK.net if you need a not web UI).

            -- You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer

            P Offline
            P Offline
            Patrick Etc
            wrote on last edited by
            #23

            I thought about that, but I don't have any experience with Mono, so that for the moment would add time I don't have on a budget that is already too small.


            Cheers, Patrick

            J 1 Reply Last reply
            0
            • C Chris Austin

              I 110% agree with everything you said except for this:

              Rama Krishna Vavilala wrote:

              no need to worry about memory allocations and allocating responsibility to classes for managing memory)

              Memory and resource allocation isn't that difficult after some real experience writing code :) Heck, I've used tons of macros and other simple tools that became part of the build process to check my work. Don't want to argue or anything like that, but it just seems that resource allocation is often the excuse for moving to a managed platform with out any real data showing why.

              My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

              R Offline
              R Offline
              Rama Krishna Vavilala
              wrote on last edited by
              #24

              Chris Austin wrote:

              Memory and resource allocation isn't that difficult after some real experience writing code

              Well it certainly ain't as easy as in .NET. The most important thing is circular references. Ensuring object lifetimes are properly maintained in such situations is generally quite tricky. Strings are another pain memory management wise (esp. if you cannot use the string wrapper classes).

              N C 2 Replies Last reply
              0
              • 1 123 0

                [Message Deleted]

                P Offline
                P Offline
                Patrick Etc
                wrote on last edited by
                #25

                Oh no, the dreaded car analogy! Not here too! :doh:


                Cheers, Patrick

                1 Reply Last reply
                0
                • 1 123 0

                  [Message Deleted]

                  T Offline
                  T Offline
                  Tarakeshwar Reddy
                  wrote on last edited by
                  #26

                  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 :).

                  C L A 3 Replies 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

                    C Offline
                    C Offline
                    Chris Austin
                    wrote on last edited by
                    #27

                    Mark Nischalke wrote:

                    "I don't understand. I thought .NET would allow you to write applications faster.

                    Thats pretty much how it's being marketed. I understand why your boss is worried about moving to a new platform, esp if you are looking at a rewrite of an existing code base. If thats the case, you can consider building new features with the managed code and making them available to your current platform via COM. I've had wonderful success doing just that, as it seemed like it would take way too many hours to do a feature complete rewrite of the product.

                    My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

                    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

                      J Offline
                      J Offline
                      JimmyRopes
                      wrote on last edited by
                      #28

                      Mark Nischalke wrote:

                      His view of .NET prior to my presentation was that .NET was just another reusable library, plug it in and you have an application.

                      Isn't that the marketing pitch? :~

                      Simply Elegant Designs JimmyRopes Designs
                      Think inside the box! ProActive Secure Systems
                      I'm on-line therefore I am. JimmyRopes

                      N 1 Reply Last reply
                      0
                      • P Patrick Etc

                        I thought about that, but I don't have any experience with Mono, so that for the moment would add time I don't have on a budget that is already too small.


                        Cheers, Patrick

                        J Offline
                        J Offline
                        J Dunlap
                        wrote on last edited by
                        #29

                        Depending on what you're doing, you may be able to simply run the compiled .NET assemblies as-is on Mono. I was surprised at how many things ran on Mono under Linux.

                        --Justin Microsoft MVP, C#

                        C# / Web / VG.net / MyXaml expert currently looking for (telecommute) contract work![^]

                        1 Reply Last reply
                        0
                        • N Nemanja Trifunovic

                          The Grand Negus wrote:

                          Compared to however they were doing things before the .NET era.

                          And how are they going to compare it? Are they going to develop exactly the same software they developed before .NET? If they are, do they have exactly the same people, with exactly same skill levels and motivation?

                          The Grand Negus wrote:

                          And measured in various ways - training costs (time and materials), development costs (time and materials), number of bugs, failures, etc.

                          Yep, these "various ways" are called software metrics[^] and reliable software metrics simply don't exist today.

                          The Grand Negus wrote:

                          Is your new car...

                          Sorry, no parallels between cars and software development make any meaning in real life.


                          Programming Blog utf8-cpp

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

                          [Message Deleted]

                          N L N 3 Replies Last reply
                          0
                          • R Rama Krishna Vavilala

                            Chris Austin wrote:

                            Memory and resource allocation isn't that difficult after some real experience writing code

                            Well it certainly ain't as easy as in .NET. The most important thing is circular references. Ensuring object lifetimes are properly maintained in such situations is generally quite tricky. Strings are another pain memory management wise (esp. if you cannot use the string wrapper classes).

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

                            Rama Krishna Vavilala wrote:

                            Well it certainly ain't as easy as in .NET. The most important thing is circular references. Ensuring object lifetimes are properly maintained in such situations is generally quite tricky.

                            If you know the scope in which your object lives it is really trivial, and in most cases you know it. Actually, I find non-memory resource management in C# or Java much trickier than memory management with C++.


                            Programming Blog utf8-cpp

                            1 Reply Last reply
                            0
                            • 1 123 0

                              [Message Deleted]

                              N Offline
                              N Offline
                              Not Active
                              wrote on last edited by
                              #32

                              The Grand Negus wrote:

                              Shouldn't Mark have been able to say to his boss that the six months in question would have been twelve without .NET?

                              You are missing the point, as usual. It's not that the boss felt it was reasonable to expect using .NET to cut development time in relation to previous tools. His expectation was that regardless of the project or its complexity, .NET was a magic bullet and no project should take longer than six months to complete.


                              only two letters away from being an asset

                              1 Reply Last reply
                              0
                              • R Rama Krishna Vavilala

                                Chris Austin wrote:

                                Memory and resource allocation isn't that difficult after some real experience writing code

                                Well it certainly ain't as easy as in .NET. The most important thing is circular references. Ensuring object lifetimes are properly maintained in such situations is generally quite tricky. Strings are another pain memory management wise (esp. if you cannot use the string wrapper classes).

                                C Offline
                                C Offline
                                Chris Austin
                                wrote on last edited by
                                #33

                                Rama Krishna Vavilala wrote:

                                Well it certainly ain't as easy as in .NET.

                                No arguments from me there.

                                Rama Krishna Vavilala wrote:

                                The most important thing is circular references. Ensuring object lifetimes are properly maintained in such situations is generally quite tricky.

                                Yeah, thats why I try to avoid circular references in my code.

                                My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

                                1 Reply Last reply
                                0
                                • 1 123 0

                                  [Message Deleted]

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

                                  The Grand Negus wrote:

                                  Patrick, above, says he developed something using C# in three hours that would have taken three days using C++. If that happens to him often enough, he'll be able to state, categorically, that C# is faster than C++ by a factor of at least four.

                                  Patrick says he developed something in C# that would take him days with C++. Now, I have developed "something" with C++ that simply cannot be developed with C# today (real-time and memory constraints) - does it mean that C++ is infinitely faster than C#?


                                  Programming Blog utf8-cpp

                                  1 Reply Last reply
                                  0
                                  • J JimmyRopes

                                    Mark Nischalke wrote:

                                    His view of .NET prior to my presentation was that .NET was just another reusable library, plug it in and you have an application.

                                    Isn't that the marketing pitch? :~

                                    Simply Elegant Designs JimmyRopes Designs
                                    Think inside the box! ProActive Secure Systems
                                    I'm on-line therefore I am. JimmyRopes

                                    N Offline
                                    N Offline
                                    Not Active
                                    wrote on last edited by
                                    #35

                                    As a matter of fact yes, from IBM.


                                    only two letters away from being an asset

                                    1 Reply Last reply
                                    0
                                    • 1 123 0

                                      [Message Deleted]

                                      D Offline
                                      D Offline
                                      Dave Kreskowiak
                                      wrote on last edited by
                                      #36

                                      The Grand Negus wrote:

                                      I hope you can see why I refer to some of the people here as "schoolgirls".

                                      I couldn't care less about what you think of me. :| You're reasonably intelligent. Why couldn't you Google your own question? Something so simple...

                                      A guide to posting questions on CodeProject[^]
                                      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                                           2006, 2007

                                      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 :).

                                        C Offline
                                        C Offline
                                        Chris Austin
                                        wrote on last edited by
                                        #37

                                        Tarakeshwar Reddy wrote:

                                        eady, 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 fundamental flaw in your assumption is that the developer in the non .net language has never done it before. Most have and in most cases rather than start from scratch they will reuse what they have already built.

                                        My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

                                        1 Reply Last reply
                                        0
                                        • 1 123 0

                                          [Message Deleted]

                                          L Offline
                                          L Offline
                                          led mike
                                          wrote on last edited by
                                          #38

                                          The Grand Negus wrote:

                                          I want to know, like his boss, why "common sense" estimates don't work with software projects.

                                          Are you kidding me!? Try this: SHIT HAPPENS nuf said

                                          led mike

                                          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