Original Post
What is C# (C sharp) all about, does it have anything to do with C++ and should it be used for programming games?
Quote:
C# is a proprietary language created by Microsoft.
Quote:
It derives from C/C++ and other languages like Java and Delphi
Quote:
should it be used for programming games?
Quote:
Original post by Idopik
What is C# (C sharp) all about, does it have anything to do with C++
Quote:
Original post by Kaze
c++ is a minimalistic low level language that compiles to machine code, is unsafe and based around privative types and pointers
Quote:
Original post by Scorp07
I'm not sure how anybody that has worked with C++ for any period of time at all would consider the language minimalistic in any way.
Quote:
Original post by Scorp07
If C++ were unsafe, it wouldn't have become the most commonly used language for professional game development.
Quote:
Original post by Scorp07
As far as being based on primative types and pointers, I don't get that at all.
Quote:
Original post by Scorp07 Quote:
Original post by Kaze
c++ is a minimalistic low level language that compiles to machine code, is unsafe and based around privative types and pointers
I'm certainly no elite professional with C++, but IMHO, this statement couldn't be farther from the truth, with the exception of how each is compiled. I'm not sure how anybody that has worked with C++ for any period of time at all would consider the language minimalistic in any way.
Quote:
If C++ were unsafe, it wouldn't have become the most commonly used language for professional game development.
Quote:
As far as being based on primative types and pointers, I don't get that at all.
Quote:
And think about all the time spent fixing bugs caused by unsafe operations.
Quote:
Original post by RyanZec Quote:
And think about all the time spent fixing bugs caused by unsafe operations.
And did C++ create these errors or did you?
Like stated before, With C++ you have more control becuase the C++ expects the programmer to not make these mistakes and C# does not give the programmer the chance to makes these mistake but you lose so control that you had in C++, its a tradeoff.
Quote:
Original post by RyanZec Quote:
And think about all the time spent fixing bugs caused by unsafe operations.
And did C++ create these errors or did you?
Quote:
Like stated before, With C++ you have more control becuase the C++ expects the programmer to not make these mistakes and C# does not give the programmer the chance to makes these mistake but you lose so control that you had in C++, its a tradeoff.
Quote:
Original post by Idopik
tell me which compiler to use (either free or bought) It would be greatly appreciated.
Quote:
Original post by RyanZec Quote:
And think about all the time spent fixing bugs caused by unsafe operations.
And did C++ create these errors or did you?
Quote:
Original post by skittleo Quote:
Original post by RyanZec Quote:
And think about all the time spent fixing bugs caused by unsafe operations.
And did C++ create these errors or did you?
Does it matter? They still occur and they're expensive to fix.Quote:
Like stated before, With C++ you have more control becuase the C++ expects the programmer to not make these mistakes and C# does not give the programmer the chance to makes these mistake but you lose so control that you had in C++, its a tradeoff.
The "control" C++ gives you has some benefits, but the number of projects that require that level of control certainly does not reflect the number of projects using C++.
Quote:
Original post by skittleo
I would call C++ minimalistic. There's nothing built into the syntax of the language for strings, lists, dictionaries, etc. You can access most of the missing features through STL and boost but the code is almost always lengthier than other langauges and the fact still remains that these features exist outside the basic syntax of the language.
Quote:
Original post by skittleo
And think about all the time spent fixing bugs caused by unsafe operations.
Quote:
Original post by skittleo
How much experience have you had with other languages? For example, have you tried python?
Quote:
Original post by skittleo
The "control" C++ gives you has some benefits, but the number of projects that require that level of control certainly does not reflect the number of projects using C++.
Quote:
Original post by skittleo
I would call C++ minimalistic. There's nothing built into the syntax of the language for strings, lists, dictionaries, etc. You can access most of the missing features through STL and boost [...] these features exist outside the basic syntax of the language.
This topic has been locked by a moderator. New replies are not allowed.
GameDev.net uses cookies to ensure you have the best experience on our platform. Learn more