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. I am dumping C#

I am dumping C#

Scheduled Pinned Locked Moved The Lounge
csharpc++comjsoncareer
25 Posts 12 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 PIEBALDconsult

    Certainly use the tool that's right for you to do the job.

    Mr.Prakash wrote:

    calling windows api, then there was this p/invoke stuff that makes the C# code file very ugly.

    I put that stuff in a library routine, in its own file so I never have to look at it again.

    C Offline
    C Offline
    Colin Angus Mackay
    wrote on last edited by
    #21

    PIEBALDconsult wrote:

    I put that stuff in a library routine, in its own file so I never have to look at it again

    Precicely my thoughts. No point throwing out C# as a whole just over one minor issue that is easily resolved.


    Upcoming Scottish Developers events: * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos

    1 Reply Last reply
    0
    • P Prakash Nadar

      In one of the article of Nishant, he has demonstrated the performance difference between C++/CLI and C#, so i guess for a complex or a big C# project, the performance will be terribly hit.


      -Prakash

      R Offline
      R Offline
      Robert Rohde
      wrote on last edited by
      #22

      Why does everybody think that the performance reduces with the size of a project? Think about it - it doesn't make any sense at all.

      1 Reply Last reply
      0
      • P Prakash Nadar

        I know I will be flamed for this post. C++ is what earns me my bread. But I take programming as a hobby and not as a job, so most of the time I have fun programming and debugging :) Since I am in France and alone, I got lot of time during the weekends to do something new, so I took C# the much talked about language to learn and also to learn new things about .NET 2 Framework. Yeah it is really good and of cource it makes programming very easy. What would take me 2 weeks or more to do took me a weekend in C#, it reminded me of VB when i was doing COM programming, using a COM in VB is way to easy to do than VC++ But when i wanted to something out of the way, i.e. calling windows api, then there was this p/invoke stuff that makes the C# code file very ugly. Then i read couple of Nishant's article on C++/CLI. And now I am convinced that I have to dump C#. If you are programming in C++/CLI, then .NET libs are just like any other library used in C++ (plus other mambo jumbo). Then I thought for a while why C# has become very popular. I know one guy in CP, he is very good in C++, he once said that when VB programmers comes to his house, they ask him the way to the toilet to clean. And now i belive he lurks a lot in C# forum and posted many articles in C#. The point is C# is close to easiness of VB but syntactically it is like C++. So all the C++ programmers who didn't want to have the VB tag on them because it is so uncool to be programming in VB (even if sometimes it is the right tool for the job) went straight for C# because it is not VB. But a person who likes to flex his C++ muscle every now and then, will find C# very restrictive just like VB. So now I move on to C++/CLI. Good luck to me.


        -Prakash

        R Offline
        R Offline
        Rocky Moore
        wrote on last edited by
        #23

        Mr.Prakash wrote:

        Since I am in France and alone, I got lot of time during the weekends to do something new, so I took C# the much talked about language to learn and also to learn new things about .NET 2 Framework.

        I have to wonder if you gave enough time to try C# (should use as main development for a few months to really sink your teeth into it and get use to letting it work for you and not against you). Or maybe that your approached it with a bais against it from the start (based your tone against it as comparing it to VB.NET which has a completely different syntax). Some people however, do not like change, and maybe that applies a bit. I know when I first started looking at C#/.NET I was ready for a change after working with C/C++ since 1985. Now, I would never go back nor would I take a job that required it, but like I felt about Assembler after moving to C/C++. You want to talk about taking time and having great performance, move to Assembler.. Speaking of performance, while in a CAD program or some games (even that is moving over), I see little to be concerned about performance. Quad processors are out and things are only moving faster and faster, seems silly wasting time on things that are of little importance or will fade away within the next year or so.

        Mr.Prakash wrote:

        Yeah it is really good and of cource it makes programming very easy. What would take me 2 weeks or more to do took me a weekend in C#,

        Hmm.. Your words that it makes programming eaiser and takes far less time to create software. I cannot see why you would want to spend "more" time doing these things just for the fun of it. I have a lot better things I could "throw away" time on :)

        Rocky <>< Latest Code Blog Post: Vista for Web Development, Read this first! Latest Tech Blog Post: USA City Burnt To Death...

        1 Reply Last reply
        0
        • P Prakash Nadar

          I know I will be flamed for this post. C++ is what earns me my bread. But I take programming as a hobby and not as a job, so most of the time I have fun programming and debugging :) Since I am in France and alone, I got lot of time during the weekends to do something new, so I took C# the much talked about language to learn and also to learn new things about .NET 2 Framework. Yeah it is really good and of cource it makes programming very easy. What would take me 2 weeks or more to do took me a weekend in C#, it reminded me of VB when i was doing COM programming, using a COM in VB is way to easy to do than VC++ But when i wanted to something out of the way, i.e. calling windows api, then there was this p/invoke stuff that makes the C# code file very ugly. Then i read couple of Nishant's article on C++/CLI. And now I am convinced that I have to dump C#. If you are programming in C++/CLI, then .NET libs are just like any other library used in C++ (plus other mambo jumbo). Then I thought for a while why C# has become very popular. I know one guy in CP, he is very good in C++, he once said that when VB programmers comes to his house, they ask him the way to the toilet to clean. And now i belive he lurks a lot in C# forum and posted many articles in C#. The point is C# is close to easiness of VB but syntactically it is like C++. So all the C++ programmers who didn't want to have the VB tag on them because it is so uncool to be programming in VB (even if sometimes it is the right tool for the job) went straight for C# because it is not VB. But a person who likes to flex his C++ muscle every now and then, will find C# very restrictive just like VB. So now I move on to C++/CLI. Good luck to me.


          -Prakash

          E Offline
          E Offline
          ednrgc
          wrote on last edited by
          #24

          For web programming, I have found C# is a natural progression from C++. Version 3 of C# is a major step in making it the most powerful language. For Windows programming, I'm still using Delphi (no runtime DLLs at all).

          P 1 Reply Last reply
          0
          • E ednrgc

            For web programming, I have found C# is a natural progression from C++. Version 3 of C# is a major step in making it the most powerful language. For Windows programming, I'm still using Delphi (no runtime DLLs at all).

            P Offline
            P Offline
            Prakash Nadar
            wrote on last edited by
            #25

            ednrgc wrote:

            For web programming, I have found C# is a natural progression from C++. Version 3 of C# is a major step in making it the most powerful language.

            I dont know web programming, so C# loose points points for me.

            ednrgc wrote:

            For Windows programming, I'm still using Delphi (no runtime DLLs at all).

            :) Never tried Delphi. My most of my development is in pure C++ for the mobile phones. I just dab around in VC++ for personal fun. :-D


            -Prakash

            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