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. Is C# Making Devs Dumber (part two)

Is C# Making Devs Dumber (part two)

Scheduled Pinned Locked Moved The Lounge
csharpc++com
84 Posts 44 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.
  • J Josh Smith

    Roger J wrote:

    but maybe its hard to notice such features when you are blinded by such an amazing aura of light

    Exactly! When I was learning C#, I knew a really hardcore C++er. I'd show him some slick feature in C#/.NET and he would come back to me a few days later with 500 lines of code. "Look, you don't need C# to do that, you can just use this code instead." Yeah buddy, 1 line vs. 500 lines...hmmm....right. :-D Josh

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

    Josh Smith wrote:

    Yeah buddy, 1 line vs. 500 lines...hmmm....right.

    Yeah that's what happens when you compare PInvoke in C# to C++ code calling the same API, only in reverse of course. What is your point?

    J 1 Reply Last reply
    0
    • J Judah Gabriel Himango

      Really? I've read a lot of Linux devs saying they ought to build the kernel in C++ in order to make life easier for developers (with OO, exceptions, etc.) Linus has refused several times, citing the poor performance and overhead associated with exceptions.

      Tech, life, family, faith: Give me a visit. I'm currently blogging about: Goof around music jam with my brothers (with video) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

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

      Judah Himango wrote:

      I've read a lot of Linux devs saying they ought to build the kernel in C++ in order to make life easier for developers (with OO, exceptions, etc.)

      I've read some nutcases asking for Linux rewritten in C++ so that they can draw UML diagrams :) Seriously, C++ does make your life easier once you learn it well. However, the learning curve is pretty steep compared to either C or C#.

      Judah Himango wrote:

      Linus has refused several times, citing the poor performance and overhead associated with exceptions.

      Other reasons he cited were the complexity of C++ (compilers "inserting code behind your back") and the fact that all Unix system programmers know C, but few of them know C++.


      My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.

      1 Reply Last reply
      0
      • J Judah Gabriel Himango

        By that measure, things in the future will be like it is today, with some good people getting hired and some bad people geting hired, given that managers don't always know the difference. What's more, when the poor developers fail and can't get anything done, or write really poor code, the project isn't going to look right to any manager. That's when they call in us good devs (maybe hired onboard or as consultants), charging exorbitant amounts of money for fixing that crap. :)

        Tech, life, family, faith: Give me a visit. I'm currently blogging about: Goof around music jam with my brothers (with video) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

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

        Judah Himango wrote:

        charging exorbitant amounts of money for fixing that crap.

        Enough to buy another box of cereal? :laugh: Jeremy Falcon

        J 1 Reply Last reply
        0
        • A Anders Molin

          Some days ago I wrote about a new client I got, where I currently spend full-time developing in C++. I also made the statement that C# makes developers dumber. That made quite a few people upset ;) Unfortunately I did not have time to address all the replies, so I thought I would do it here, in a new post. One of the things I really love about C++ is pointers, and the way you can work with them. There are a lot of possible errors, but if you know what you are doing, C++ is seriously cool. C++ keeps me sharp (no pun intended) whereas C# wrap me in some sort of "secure wold" where I can relax in a way not possible in C++... Thats what I mean by "C# makes developers dumber"... - Anders My new photo website[^]

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

          Anders Molin wrote:

          C# makes developers dumber

          It appears that way but of course is not true. The developers make themselves dumber. If a developer does not do the work to learn about things like stack and heap, resources etc., then they don't know and are then "dumber". Go to the C++ forums and see how many people have not learned these same things! The language does not provide "knowledge". As a developer the responsibility is yours. "To learn or not to learn, that is the question." led mike - right here right now :)

          1 Reply Last reply
          0
          • A Anders Molin

            Some days ago I wrote about a new client I got, where I currently spend full-time developing in C++. I also made the statement that C# makes developers dumber. That made quite a few people upset ;) Unfortunately I did not have time to address all the replies, so I thought I would do it here, in a new post. One of the things I really love about C++ is pointers, and the way you can work with them. There are a lot of possible errors, but if you know what you are doing, C++ is seriously cool. C++ keeps me sharp (no pun intended) whereas C# wrap me in some sort of "secure wold" where I can relax in a way not possible in C++... Thats what I mean by "C# makes developers dumber"... - Anders My new photo website[^]

            R Offline
            R Offline
            rkleinen
            wrote on last edited by
            #57

            The fact that people (in this case a c++ programmer) constantly feel the need to tear others down (in this case c# programmers) continues to amaze me. Those who ARE smart (anyone who uses a tool to accomplish a given task well) don't need to bring others down. Those who CLAIM to be smart (c++ programmer) by showing that others are dumb is the one who in reality is _ _ _ _. A smart thing to do would be to come up with something more creative, original and useful to write about and discuss. How about writing an example of where and how using pointers in c++ is a better tool for a given situation. Then we can use our brains to discuss something that may actually be helpful. Sincerely, Programmer (period)

            M R 2 Replies Last reply
            0
            • M martin_hughes

              Having come from a Visual Basic / VBA background, I'd say Java/C# has made me a lot smarter :D

              E Offline
              E Offline
              Ed Poore
              wrote on last edited by
              #58

              Just the move has shown you're smarter than the average.


              Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9

              1 Reply Last reply
              0
              • A Anders Molin

                Some days ago I wrote about a new client I got, where I currently spend full-time developing in C++. I also made the statement that C# makes developers dumber. That made quite a few people upset ;) Unfortunately I did not have time to address all the replies, so I thought I would do it here, in a new post. One of the things I really love about C++ is pointers, and the way you can work with them. There are a lot of possible errors, but if you know what you are doing, C++ is seriously cool. C++ keeps me sharp (no pun intended) whereas C# wrap me in some sort of "secure wold" where I can relax in a way not possible in C++... Thats what I mean by "C# makes developers dumber"... - Anders My new photo website[^]

                M Offline
                M Offline
                Member 96
                wrote on last edited by
                #59

                This discussion is as silly as the "vbers must be dumb" threads. A professional programmer uses the correct tool for the job at hand and doesn't limit their tool box to a single tool only.

                1 Reply Last reply
                0
                • J Jeremy Falcon

                  Judah Himango wrote:

                  charging exorbitant amounts of money for fixing that crap.

                  Enough to buy another box of cereal? :laugh: Jeremy Falcon

                  J Offline
                  J Offline
                  Judah Gabriel Himango
                  wrote on last edited by
                  #60

                  :)

                  Tech, life, family, faith: Give me a visit. I'm currently blogging about: Goof around music jam with my brothers (with video) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                  1 Reply Last reply
                  0
                  • R rkleinen

                    The fact that people (in this case a c++ programmer) constantly feel the need to tear others down (in this case c# programmers) continues to amaze me. Those who ARE smart (anyone who uses a tool to accomplish a given task well) don't need to bring others down. Those who CLAIM to be smart (c++ programmer) by showing that others are dumb is the one who in reality is _ _ _ _. A smart thing to do would be to come up with something more creative, original and useful to write about and discuss. How about writing an example of where and how using pointers in c++ is a better tool for a given situation. Then we can use our brains to discuss something that may actually be helpful. Sincerely, Programmer (period)

                    M Offline
                    M Offline
                    Member 96
                    wrote on last edited by
                    #61

                    Sometimes this board reminds me of a road construction crew, a few guys down in the trench doing the digging and 10 guys standing around discussing shovel technology.

                    R 1 Reply Last reply
                    0
                    • A Anders Molin

                      Some days ago I wrote about a new client I got, where I currently spend full-time developing in C++. I also made the statement that C# makes developers dumber. That made quite a few people upset ;) Unfortunately I did not have time to address all the replies, so I thought I would do it here, in a new post. One of the things I really love about C++ is pointers, and the way you can work with them. There are a lot of possible errors, but if you know what you are doing, C++ is seriously cool. C++ keeps me sharp (no pun intended) whereas C# wrap me in some sort of "secure wold" where I can relax in a way not possible in C++... Thats what I mean by "C# makes developers dumber"... - Anders My new photo website[^]

                      F Offline
                      F Offline
                      feline_dracoform
                      wrote on last edited by
                      #62

                      first let me put this in perspective, i work full time as a C++ and C programmer, about 70 / 30 split. i found time to read a book on C# 1 a while ago, and even wrote a couple of small programs in C#, so i have some limited experience of it. most of the time i find working in C *REALLY* frustrating, since i have to spend far to much of my time manipulating char * variables, building strings, checking buffer sizes, etc. oh i have all sorts of useful functions on hand, but it still takes extra effort and work to make sure you are doing it right. move to C++ and a proper string class (i get to use Qt) and suddenly i am free'd from all of this low level work! however there are times when it takes a LOT more code in C++ to do the string manipulation i want to do. these times are rare, and i can happily go for weeks without hitting one, but when i do, i have been known to take my lovely string class, turn it back into a char * and just use pointers to get the job done. which brings me, in a round about manor, to pointers. i have come to view pointers as the char * of the C++ world, in the sense that i seem to spend far more time than i should handling, checking, and double checking them. the Qt GUI framework seems (i have never done MFC programming, so cannot make an informed comparison) incredibly well designed and easy to use. it reminds me, in a general manor, of the forms classes in C# i briefly encountered. it is all build out of pointers to base classes, as you would imagine for C++. 99.9% of the time this is wonderful, easy, and stress free. but just now and then something goes horribly wrong with the pointers, due to someone not paying attention. due to years of practice, and quite a few hard lessons, i am VERY careful with my pointers, but not everyone is. so i see a lot of appeal to moving to a framework that makes as much of the "low level" work automatic as possible. when i am writing a program to decode EDIFACT, or to transform a set of databases from one form to a totally different form (they may overlap, if i am lucky, now and them *eeek*) then do i want to focus on allocating storage for my data, or on manipulating my data? if i use the power of Qt, or C++, or C#, or any other tool, to write basic programs with no depth, no complexity, and am not breaking new ground then i am not learning and growing. given enough time i may even become "dummer". but i could do exactly the same in C. i am clever, i can be stupid in any programming language if i feel the need! when

                      1 Reply Last reply
                      0
                      • M Member 96

                        Sometimes this board reminds me of a road construction crew, a few guys down in the trench doing the digging and 10 guys standing around discussing shovel technology.

                        R Offline
                        R Offline
                        rkleinen
                        wrote on last edited by
                        #63

                        Well said.

                        1 Reply Last reply
                        0
                        • L led mike

                          Josh Smith wrote:

                          Yeah buddy, 1 line vs. 500 lines...hmmm....right.

                          Yeah that's what happens when you compare PInvoke in C# to C++ code calling the same API, only in reverse of course. What is your point?

                          J Offline
                          J Offline
                          Josh Smith
                          wrote on last edited by
                          #64

                          I wasn't referring to calling native APIs. I meant having things like delegates & events, automatic memory management, etc. Language/platform features. Josh -- modified at 13:27 Monday 19th June, 2006

                          L 1 Reply Last reply
                          0
                          • J Judah Gabriel Himango

                            John Simmons / outlaw programmer wrote:

                            It's not about making it easy for programmers or convenient for users - it's about money for Microsoft.

                            Actually, the two are mutual: Microsoft wants it to be easy for programmers to develop apps for Windows, which in turn keeps more end users on Windows, which makes Microsoft more money. To say .NET shackles developers to Windows is nonsense; .NET is very portable (case in point, the Mono Project[^], far more so than, say, MFC.

                            Tech, life, family, faith: Give me a visit. I'm currently blogging about: Goof around music jam with my brothers (with video) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                            R Offline
                            R Offline
                            realJSOP
                            wrote on last edited by
                            #65

                            Judah Himango wrote:

                            .NET is very portable (case in point, the Mono Project[^],

                            You should read the soapbox...

                            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                            -----
                            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                            J 1 Reply Last reply
                            0
                            • A Anders Molin

                              Some days ago I wrote about a new client I got, where I currently spend full-time developing in C++. I also made the statement that C# makes developers dumber. That made quite a few people upset ;) Unfortunately I did not have time to address all the replies, so I thought I would do it here, in a new post. One of the things I really love about C++ is pointers, and the way you can work with them. There are a lot of possible errors, but if you know what you are doing, C++ is seriously cool. C++ keeps me sharp (no pun intended) whereas C# wrap me in some sort of "secure wold" where I can relax in a way not possible in C++... Thats what I mean by "C# makes developers dumber"... - Anders My new photo website[^]

                              R Offline
                              R Offline
                              Ravi Bhavnani
                              wrote on last edited by
                              #66

                              Imho, not having to worry about pointers (which isn't the same as "not having to know what pointers are and how memory management works") makes me a lot more productive, as do several other facets of C# (and Java). So much so that I've moved exclusively to C#/.NET, except when I have to maintain my C++/MFC freeware apps. Note, I'm not bashing C++/MFC (or non-.NET technologies). /ravi My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

                              1 Reply Last reply
                              0
                              • R Richard Parsons

                                No problem. Life might be somewhat harder but it would be a lot less stressful then a day at the office I'm sure. Plus what you would do in the wild would actually be productive in the sense that what you were doing would actually benefit you and your family... On the other side, I do like my A/C and I don't like being hot so I'll stick with comfort for now and rely on primitive living for when it just must be done. @the original author: C# isn't bad and neither is C++ but why use unsafe code if you can do the same thing in C# safely? If a problem arises that can't be handled in C# then by all means have fun and write some C++ or unsafe C# code. -Richard

                                R Offline
                                R Offline
                                runelancer
                                wrote on last edited by
                                #67

                                Richard Parsons wrote:

                                C# isn't bad and neither is C++ but why use unsafe code if you can do the same thing in C# safely? If a problem arises that can't be handled in C# then by all means have fun and write some C++ or unsafe C# code.

                                Though, suppose they made cars that automatically steer away from hazards. Ie, you could drive this thing into a signpost and it would safely steer you back on the road instead of letting itself crash. After a few years of this, you're probably not going to worry as much about driving safely as if you did have these considerations to keep in mind - and frankly, dodging a signpost isn't something you need to put too much effort into doing if you're a decent driver.

                                1 Reply Last reply
                                0
                                • P Paul Watson

                                  I'm thinking of more than just office days. How about the pursuit of science, expansion into space, time for spiritual matters and time to write a great book. Time to spend flying a kite with your kids because you don't have to spend 18 hours a day picking berries. I don't think hunter gatherer families were at all healthy. It was a crude, mean way of life. If a child got sick, she was left behind and died. We often romanticise past days thinking much of it was spent without the pressure of modern day life. We forget the pressures of basic living. As someone said; life back then was short and brutal. regards, Paul Watson Ireland FeedHenry needs you

                                  Shog9 wrote:

                                  eh, stop bugging me about it, give it a couple of days, see what happens.

                                  -- modified at 10:12 Monday 19th June, 2006

                                  S Offline
                                  S Offline
                                  SlowFatRunner
                                  wrote on last edited by
                                  #68

                                  Paul Watson wrote:

                                  As someone said; life back then was short and brutal.

                                  FWIW, Thomas Hobbes, in Leviathan http://en.wikipedia.org/wiki/Hobbes[^] : Life in the state of nature is "solitary, poor, nasty, brutish, and short"

                                  1 Reply Last reply
                                  0
                                  • J Josh Smith

                                    I wasn't referring to calling native APIs. I meant having things like delegates & events, automatic memory management, etc. Language/platform features. Josh -- modified at 13:27 Monday 19th June, 2006

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

                                    Josh Smith wrote:

                                    I wasn't referring to calling native APIs.

                                    There you have it then, some things are simplified while others are more complex. In the new thread the OPs point is different tools for different jobs. Therefore a comparison without context is, as he put it, "silly".

                                    1 Reply Last reply
                                    0
                                    • A Anders Molin

                                      Some days ago I wrote about a new client I got, where I currently spend full-time developing in C++. I also made the statement that C# makes developers dumber. That made quite a few people upset ;) Unfortunately I did not have time to address all the replies, so I thought I would do it here, in a new post. One of the things I really love about C++ is pointers, and the way you can work with them. There are a lot of possible errors, but if you know what you are doing, C++ is seriously cool. C++ keeps me sharp (no pun intended) whereas C# wrap me in some sort of "secure wold" where I can relax in a way not possible in C++... Thats what I mean by "C# makes developers dumber"... - Anders My new photo website[^]

                                      T Offline
                                      T Offline
                                      Todd Smith
                                      wrote on last edited by
                                      #70

                                      So does using a calculator. But whoever proposes to use their brain to compute my taxes is getting a swift kick to the %^&*. Todd Smith

                                      1 Reply Last reply
                                      0
                                      • J Josh Smith

                                        I don't see how a choice of language could make someone "dumb." A dumb person is slow to learn or understand. I disagree that a person's innate intellectual capacity is directly affected by the programming language they use. Perhaps you meant to say that "C# keeps people ignorant" instead? The abstractions afforded by the .NET framework (not C# in particular) do allow the developer to ignore what many C++ers enjoy most; the nitty grittiness of the underlying details (memory addresses, etc.) By shielding a developer from the ones and zeros, a higher level language does, indeed, keep him/her happily removed from the underlying reality. But as Andrew Koenig mentioned in "Ruminations on C++"...Abstraction is selective ignorance. Cheers, Josh

                                        C Offline
                                        C Offline
                                        Chris S Kaiser
                                        wrote on last edited by
                                        #71

                                        I think the original statement is that working in a language that manages elements for you that other languages don't contribute to a complacency that is realized when you return to the environment where you need those skills and haven't been excercising them. If you go on a survival mission in the woods, you might find that civilazation has made you complacent with regard to survival in the wild. This statement is false.

                                        J 1 Reply Last reply
                                        0
                                        • C Chris S Kaiser

                                          I think the original statement is that working in a language that manages elements for you that other languages don't contribute to a complacency that is realized when you return to the environment where you need those skills and haven't been excercising them. If you go on a survival mission in the woods, you might find that civilazation has made you complacent with regard to survival in the wild. This statement is false.

                                          J Offline
                                          J Offline
                                          Josh Smith
                                          wrote on last edited by
                                          #72

                                          I see what you mean. I started off with C++ and then got into C#. Whenever I return to dabble in C++, I find myself forgetting to do the manual labor which the CLR takes care of for me. I don't find that labor to be particularly rewarding or interesting. Deleting objects on the heap, closing file handles, not my idea of a good time. :)

                                          Chris S Kaiser wrote:

                                          If you go on a survival mission in the woods, you might find that civilazation has made you complacent with regard to survival in the wild.

                                          I suppose it's possible that terrorist nukes might destroy our civilization, leaving us to fend for ourselves like cavemen. But I'm not afraid of .NET programming suddenly going away, leaving us all to code in the unforgiving lands of C++. I like my air conditioning, damn it! You can use a palm leaf if you want to. :) Josh

                                          C 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