Jump to content

  • Log In with Google      Sign In   
  • Create Account


Thanks Game Dev


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
12 replies to this topic

#1 makronik18   Members   -  Reputation: 154

Like
13Likes
Like

Posted 09 August 2012 - 12:40 PM

Hello, first of all I would like to say, THANK YOU gamedev.net forum, because I was using this forum in order to learn about different kind of programming languages and understand them in basic knowledge. In books, you get technical meanings of functions and how do they work in a programming language, though I did consume some time in order to research every detail that I needed to understanding programming.

So I am thanking the forum, because I got myself a job in a apprenticeship for software programming, on the interview I was talking about the theory programming etc which I learnt here and it was a benefit as I got the job Posted Image

The question I got is what are main things I need to learn in C# in order to understand the basic concepts and the theory behind it, what is mean is like list of things such as loops obv etc Posted Image thanks!

oh and can you mention what is c# . a combination of java and c++ or am i wrong?

Edited by makronik18, 09 August 2012 - 12:43 PM.


Sponsor:

#2 Memories are Better   Prime Members   -  Reputation: 769

Like
3Likes
Like

Posted 09 August 2012 - 05:01 PM

I would describe C# as a managed programming language that has C like syntax and the only thing in common with Java or C++ is the syntax and even then things arent 100% the same. Same family different personality I guess, although I would say C# is a lot more like Java than C++

#3 yadango   Members   -  Reputation: 559

Like
2Likes
Like

Posted 10 August 2012 - 01:41 AM

C# is it's own language... I wouldn't say it's an exact combination of anything because the libraries and many components such as generics are quite different. It came about out of the Sun-Microsoft fiasco many years back over the language known as J++ or something like that. They hired the guy from Borland/Inprise who created Delphi to construct a new language similar to Java with the benefits of Delphi (some people consider the VCL a precursor to the FCL). So C# is really, if anything, a Java/Delphi hybrid he he he. C# was dubbed the Java-Killer for a long time but it didn't really kill Java; you could say it killed Delphi though.

Edited by yadango, 10 August 2012 - 01:51 AM.


#4 3Ddreamer   Crossbones+   -  Reputation: 2960

Like
0Likes
Like

Posted 10 August 2012 - 02:34 AM

Hi,

If I may ask: Isn't C# particulary good for making tools, even object oriented tools? I have read this several times in different websites over the last couple years or so. Is this a myth or a reality?


3Ddreamer

Edited by 3Ddreamer, 10 August 2012 - 02:35 AM.

Personal life and your private thoughts always effect your career. Research is the intellectual backbone of game development and the first order. Version Control is crucial for full management of applications and software.  The better the workflow pipeline, then the greater the potential output for a quality game.  Completing projects is the last but finest order.

 

by Clinton, 3Ddreamer


#5 FredOrJoeBloggs   Members   -  Reputation: 117

Like
0Likes
Like

Posted 10 August 2012 - 02:58 AM

If I may ask: Isn't C# particulary good for making tools, even object oriented tools? I have read this several times in different websites over the last couple years or so. Is this a myth or a reality?


IMO its a myth.
C# can be used to make tools, but so can other languages. Is C# better, depends on lots of things, but the answer is probably no, its just different.
C# and VB both have full access to the .NET libraries so they should be fairly interchangable. C++ can also access all of .NET just using a different mechanisum.
C# is probably easier to learn, but once you have learnt it the other languages will be easy to pick up.

#6 Hodgman   Moderators   -  Reputation: 27702

Like
3Likes
Like

Posted 10 August 2012 - 03:20 AM

If I may ask: Isn't C# particulary good for making tools? I have read this several times in different websites over the last couple years or so. Is this a myth or a reality?

Yes, C# has a reputation for being good for tools-dev within the games industry.

If you wanted to make Windows GUIs, the Microsoft solution used to be to use C++ with MFC, but C#.NET has since blown C++/MFC away for productivity. Visual studio comes with a good WYSIWYG GUI editor, and C#.NET has a huge standard library of tools, and it's popular enough that searching for "how do I x in C#" almost always brings up a StackExchange thread telling you how.

N.B. it's not the only choice for tools-dev, e.g. you can still use C++ and MFC, or C++ and Qt, or Python and WxWidgets (the list of options is endless...), but I'd personally recommend C# for this task over C++.
On my personal project, and at my last two jobs, we've used C# to make the game's tool-chain, and C++ to make the game-engine runtimes.

Edited by Hodgman, 10 August 2012 - 03:22 AM.


#7 Malabyte   Members   -  Reputation: 583

Like
-3Likes
Like

Posted 10 August 2012 - 05:30 AM

I've gotten the impression that C is non-object-oriented, C++ is object-oriented and C# is object-managing (even more top-down than OOPs), whereas Java is merely inspired from C and C++ to create an easier to learn and use language that uses basic programming with simplified object-orientation. Is this true?

In either case, afaik most great programmers won't learn just a single language. A great programmer is fluid in several languages.


(Edited for clarity)

Edited by DrMadolite, 10 August 2012 - 05:47 PM.

- Awl you're base are belong me! -

- I don't know, I'm just a noob -


#8 Serapth   Crossbones+   -  Reputation: 5181

Like
1Likes
Like

Posted 10 August 2012 - 01:24 PM

If I may ask: Isn't C# particulary good for making tools? I have read this several times in different websites over the last couple years or so. Is this a myth or a reality?

Yes, C# has a reputation for being good for tools-dev within the games industry.

If you wanted to make Windows GUIs, the Microsoft solution used to be to use C++ with MFC, but C#.NET has since blown C++/MFC away for productivity. Visual studio comes with a good WYSIWYG GUI editor, and C#.NET has a huge standard library of tools, and it's popular enough that searching for "how do I x in C#" almost always brings up a StackExchange thread telling you how.

N.B. it's not the only choice for tools-dev, e.g. you can still use C++ and MFC, or C++ and Qt, or Python and WxWidgets (the list of options is endless...), but I'd personally recommend C# for this task over C++.
On my personal project, and at my last two jobs, we've used C# to make the game's tool-chain, and C++ to make the game-engine runtimes.


I dont think it's just a reputation, C# *is* good at making tools, for a number of reasons.

First off, WPF or WinForms is about 1000x easier to use than MFC.
Second, C# is a much better programmer productivity language than C++
Third, supporting libraries in the .NET framework make certain tasks ( database access, xml parsing, etc... ) by far easier

and...

Fourth and perhaps most of all, C# pInvoke abilities make it rather easy to interface C# with native code, making embedding your C++ rendering engine, or otherwise interfacing your code with your C# tooling a ton easier than with many other languages.



All of this is basically true of VB.net too, but VB.net is just C# in a fat suit, so that isn't exactly shocking.

#9 6677   Members   -  Reputation: 1058

Like
0Likes
Like

Posted 10 August 2012 - 04:17 PM

Edit: Seriously, I got -1 for that? *confused*

Possibly because the formatting almost looks as if you've shown C# as being based on C++ which its not.

#10 Malabyte   Members   -  Reputation: 583

Like
0Likes
Like

Posted 10 August 2012 - 05:12 PM

Possibly because the formatting almost looks as if you've shown C# as being based on C++ which its not.


Well, maybe. Whatever the reason, I decided to clarify my previous thread. Posted Image

Edited by DrMadolite, 10 August 2012 - 05:48 PM.

- Awl you're base are belong me! -

- I don't know, I'm just a noob -


#11 Hodgman   Moderators   -  Reputation: 27702

Like
0Likes
Like

Posted 10 August 2012 - 06:43 PM

I've gotten the impression that C is non-object-oriented, C++ is object-oriented and C# is object-managing (even more top-down than OOPs), whereas Java is merely inspired from C and C++ to create an easier to learn and use language that uses basic programming with simplified object-orientation. Is this true?

You can write OO code in C, but yes, it's not designed as an OOP language. C++ is also also a multi-paradigm, designed specifically for OOP, but also allowing for functional, imperative/procedural, meta-programming, etc...
Java was inspired by C++, but was designed to be easier to use (largely by obfuscating pointers, and providing a large standard library), much more focussed on OOP (with the silly demands that everything must be a class and functions are overridable by default) and to be much more portable, paired with a VM and byte-code format that supposedly lets you "write once, run anywhere".
C# was born out of Microsoft's Java implementation - they started modifying Java in breach of their licensing agreement, and thus were sued and barred from distributing Java. So their modified version of Java disappeared, and suddenly C# appeared, which is very much inspired by both Java and C++.
IMHO (i.e. very much personal feelings, not objective facts) C# started out as being a shoddy clone of Java, but the current version has far surpassed it.

#12 3Ddreamer   Crossbones+   -  Reputation: 2960

Like
0Likes
Like

Posted 11 August 2012 - 12:46 AM

Oh, I totally appreciate anyone having a preference for language.

Long term I am likely to settle into a groove of making most if not all tools in C# and implementing game engine in C++, but I might take the time to explore C# and Python if that might work. Limiting the number of languages learned by me to 3 or 4 would be good, I think. Any thoughts on these last two issues?

By the way, now that we have a nice variety of points of view here, is there any language for 3D game development which clearly is the leader if one were to only demand the best performance of the game? ... In other words, one language which is the best for making the highest performing game, all other things being equal if that were possible.


3Ddreamer

Personal life and your private thoughts always effect your career. Research is the intellectual backbone of game development and the first order. Version Control is crucial for full management of applications and software.  The better the workflow pipeline, then the greater the potential output for a quality game.  Completing projects is the last but finest order.

 

by Clinton, 3Ddreamer


#13 wolfscaptain   Members   -  Reputation: 200

Like
0Likes
Like

Posted 12 August 2012 - 07:23 AM

Machine code.

But with more seriousness, if you are going to make a triple-A game, C++ is most likely the way to go.
Until then, you should use other more sane languages.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS