Quote:
Originally Posted by _uj
Mmmhhhh.. It strikes me then, if you stick within C++/CLI then youre using (imho) an awkward and somewhat backward syntax/methodology to write a modern program, avoiding everything about what brought that syntax into being, purely for the sake of using the modern extensions..
I reckon that's a bit like falling out with a friend after he loaned you his lawn mower, but continuing to mow your lawn with his mower because you prefer it to yours..
In programming terms, using pure C++/CLI isnt really going to be any different to C#, just a bit more legwork and some "older fashioned" thinking, on the simplistic level
When I chose C#, C++/CLI didnt exist and I just didnt like MC++ as much; it looked a mess and the ambiguities bave me a headache. C# was much closer to java, and I rather liked java. I can write code without having to track and remember everything on a very micro scale.. This might arise from the rather typical male way of being forgetful and careless, I dont know!Quote:
So I was interested in why people chose C# over C++/CLI. Both are .NET languages and should be equally easy (or hard maybe) to master and use.
When you say both are .NET though, I still dont quite agree with that. C# is all .NET with this unmanaged ability if you really work at linking it up. Compared to that C++/CLI's unmanaged code accessibility is quite a lot more present and uncovered.. I dont feel I'm explaining this particularly well, but suppose you were in front of a class of students, teaching them pure C++/CLI, and one asked "What's the difference between String*and String^?" - your answer would have to be "String* is the one we dont use, String^ is the one we do use" without launching into a huge and long explanation, and like the big red button that says "dont push this button", someone will want to push it.
I guess you could say I use C# because it does everything that I need, cleanly and simply, consistently and easily.. Additionally, when I go looking for examples of things, I happen upon C# more often than all other .NET syntaxes put together. As no fan of reinventing perfectly good wheels, I like having that vastness of pre-existing material as a resource
