Thread: why should anyone go to C#????

  1. #1
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161

    why should anyone go to C#????

    hello,
    first i know that my question may look silly and repeated. and i realize that i may c replies like "look at documents of C# at microsoft.com"..........

    but in fact im looking for answers for my question , which are featured by programmers who tried to use c# actually and therefor they discovered the advantages and disadvantages of it.
    especially compared to c++
    thanks in advance
    Programming is a high logical enjoyable art for both programer and user !!

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    Compared to C++ it features a RAD environment that cuts your GUI envelopment time by half. Compared to VB it has a nicer language in the background. Compared to Java it has a better privilege management ( though that goes for the whole .NET framework).

    This was very short, but C# has many features and the best way of learning about them is to read up on them in a non-biased way. Not Microsoft, not slashdot, not JavaHome. Probably a book might be the best way, it comes with the compiler if it's a good one.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    C# does not exist outside of something called middleware. A more specific term is 'framework'. The framework is a library of classes that form a class hierarchy. The purpose of a framework is to enable reusable design. A framework is a good idea, it is the natural progression knowledge born out of object oriented programming and it is not limited to acting as environments for development tools, but frameworks can be built to support various enterprise applications. I would not be surprised if many office suite applications are frameworks.

    It is true that the .net framework is more productive than Java on the Microsoft operating system, however .net is non existant on a Solaris or Unix or Linux operating system. There are some paid efforts to build a framework for at least Linux, however it may not become accepted by the users.

    C++ is used to write all of these frameworks. There is no need for languages like Java and C#, etc. People want money and since they don't own C++ they create a lesser language. These languages do sell, just like the Microsoft operating system sells. It has to do with advertising, and is the way large business deal with small businesses and everyone in between.

  4. #4
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    It has to do with development speed and the fact that in the business world, time is money. Less time for the same application = less money paid = more money made. Easy calculation. C++ is better than C# in the same way ASM is better than C++.

    There is a tool for each job, and for application development without the need for batch-processing speed, C# is better suited than C++, while for speed critical applications C++ is better.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  5. #5
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161
    I think it depends on the way u c programming for urself, if u c it as a hobby or a nice time, then u may like to make a real hard programming (just like ppl prefer the harder game to the easier one).

    while if u r taking it seriously as a career and job , u shouldnt get away from the demands of the mareket....after all its business
    and as nvoigt said "time is money" in buisness.

    for me , I like C++ very much , ASM too , and Im going to try Linux OS. as i c its good for try.and I like to learn hardcore programming , encryption and decryption,.........etc

    but in the place I live "Egypt" windows is almost the only choice for PC .and none is trying to go beyond . its still under development market. so as I work for money (in-home programming buisness) I have to deal with microsoft as the main source for my actions. VB is great for example to develop many programs especially that high speed isnt a demand for most of ppl
    C# may be the same. as u c I ve to follow the market demands , while Im learning the better for myself and for the future

    thanks for ur patience
    Programming is a high logical enjoyable art for both programer and user !!

  6. #6
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    It has to do with development speed and the fact that in the business world, time is money. Less time for the same application = less money paid = more money made. Easy calculation. C++ is better than C# in the same way ASM is better than C++.
    No it doesn't. It has to do with Microsoft being envious of Java's success. Microsoft wants a piece of that market. It has to do with control over people who don't know any better and advertising new languages that are nothing more than language elements taken from many different sources, but very little new material. The name for it is the assembly line or mass production. The quality goes way down. This is a massive waist of time because in six or seven years you have not gotten anywhere. This is not the road to money. I know about money.

    I like framework development however not Microsofts work in this area. I think that generic libraries are also great areas to invest your time in, however to just work out of a prefabricated framework does nothing for learning how to program, and will not produce efficient software. Don't be fooled, Microsoft is using more C and C++ than ever, but they are not selling that image.
    Last edited by Troll_King; 07-09-2002 at 05:52 AM.

  7. #7
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    >This is not the road to money.

    What ? It's not ? Don't tell my boss, they still pay me
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  8. #8
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Your not studying programming for academic purposes. You had a couple years of training and you went to work. That is the end of your training except for using already made vendor programming environments. It's not the same as research.

  9. #9
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    Yes. But I get paid for it, so I guess it is the road to money. By the way, research isn't exactly crawling in ASM all day either. Who made the calculator you are working with ? Did you produce it yourself or is it a vendor-made calculating environment ? You need tools, and .NET/C# is a tool. From my perspective it has more advantages than disadvanteges, and that's all that counts.

    Oh, and just because formal education stops when you start working doesn't mean you stop learning. You only stop learning when you die. If you start earlier, you are on the road to unemployment. It's just that there is no more set rules when you have to learn and what you have to learn. You have to do it on your own and probably in your spare time.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  10. #10
    bleh
    Guest

    .net framework UNIX.

    Well, this is sort of out of topic, but I have .NET for FreeBSD downloaded ( the framework ). Works good here.

  11. #11
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Originally posted by nvoigt
    Yes. But I get paid for it, so I guess it is the road to money. By the way, research isn't exactly crawling in ASM all day either. Who made the calculator you are working with ? Did you produce it yourself or is it a vendor-made calculating environment ? You need tools, and .NET/C# is a tool. From my perspective it has more advantages than disadvanteges, and that's all that counts.

    Oh, and just because formal education stops when you start working doesn't mean you stop learning. You only stop learning when you die. If you start earlier, you are on the road to unemployment. It's just that there is no more set rules when you have to learn and what you have to learn. You have to do it on your own and probably in your spare time.
    .NET is for creating teepees. You can build a bunch of teepees faster than ever before, but building actual homes or sky scrapers is off limits except for Microsoft. Surely they know better and we should never learn about anything that does not have the Microsoft stamp of approval on it. Forget about the original source, forget about knowledge, it's all magic.

  12. #12
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    >but building actual homes or sky scrapers is off limits

    Well depends on how you see it. You will never be able to write an OS in .NET, but why would you want to ? It's not the right tool for the job. .NET is probably not the second coming, but it is a tool well suited for a job at hand. If you need another tool for another job, no one hinders you to get one. Maybe not from Microsoft, but they aren't a welfare organization, they are selling tools. Ferrari wouldn't give you a blueprint of their cars for research either. You buy a car as is, or you don't.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  13. #13

    Post C#

    I wouldn't use the RAD thing as an important part in your desicion b/c you can easily make a dialog app in C++ with little code the most code you will type are: #define and for things like buttons

    case IDBUTTON1:
    {
    //whatever you want to happen
    }

  14. #14
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    Oh, and can you now make the button have a 12p italic green Lucida text in VC ? There you go... no RAD in VC.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  15. #15
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    C# purpose is not to replace C or C++. Not even MS is claiming that. It is a crisp and nice language to interact with the .NET frame work. I worked 3 days with C# and I can already do as good GUI's as I can do in VC. And how many apps are you runing where speed is of utmost importance?. I can see myself using C# for the front and C++ for the backend if I need speed or low level stuff.

Popular pages Recent additions subscribe to a feed