• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Archived

This topic is now archived and is closed to further replies.

Maega

Is C# worth learning?

16 posts in this topic

I am wondering because Im thinking about it but I don''t want to spend the time if it''s really not worth it. Maybe some pros and cons from those who have used it would help me. It doesn''t matter what you used it for, just what you liked about it/disliked about it. Thanks in advance
0

Share this post


Link to post
Share on other sites
You know you''re asking for a flamming, right? :-p.

Since flamers will probably be in here anyways, I might as well post some questions that are less flamable in the context

I''ll tack on a couple questions I''d like to know myself...

1) Are there free compilers for C# that I could download?
2) Are there free linux compilers for C# that I could download?

If "no" is the answer to either of the above questions, ignore the rest of my post :-p. (I''m broke and run linux)

I''ve noted/read that they (the implementors of the C# language) try and shy away from pointers, so that you can ''verify the safety of'' downloaded code (which pointers inheritly ''desafeify'', and require an explicit ''unsafe'' decleration to work) among other things.

3) How else does C# differ from C++ in it''s language?
4) I am not interested in the fact that you get to use different libraries. I am talking about basic syntax and use.
5) Garbage collection?!?
0

Share this post


Link to post
Share on other sites
People who flame over a simple question like this need help. Im personally going to disregard any flames that may arise
0

Share this post


Link to post
Share on other sites
Short version: C# is a souped up Java. Lots of (extremely useful) syntactical sugar. Not as fast as C++, so don''t use it in uber-speed critical stuff. Portability stinks right now. (it''s there, but mono doesn''t do everything MS''s implementation does)

Worth learning, says me.
0

Share this post


Link to post
Share on other sites
Learning new languages can never hurt (unless you learn BASIC). I want to learn it, but I can''t afford it yet.
0

Share this post


Link to post
Share on other sites
quote:
Original post by MaulingMonkey
1) Are there free compilers for C# that I could download?


Yes.
quote:

2) Are there free linux compilers for C# that I could download?


Yes.
quote:

3) How else does C# differ from C++ in it''s language?


(Almost) everything is allocated on the heap - stack allocation is possible(with the struct keyword), but useful mostly in specialized scenarios. Heap allocation is orders of magnitude faster than in C/C++ though, due to the garbage collector.
quote:

5) Garbage collection?!?

Yup, like any other civilized language.



AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.
0

Share this post


Link to post
Share on other sites
quote:
Original post by Maega
People who flame over a simple question like this need help. Im personally going to disregard any flames that may arise

They won''t be directed at you, but at some of the replies.
0

Share this post


Link to post
Share on other sites
No.

EDIT - that's just my opinion, but if you want to learn there are these C# course thingies at www.programmersheaven.com



[edited by - jmg5 on July 19, 2003 5:42:27 PM]
0

Share this post


Link to post
Share on other sites
I thought C# was strictly a microsoft language. Sort of like Microsoft''s version of java vs the standard Sun''s java.
0

Share this post


Link to post
Share on other sites
I don''t think even Microsoft could win a case ''they stole our language!''

Or could they?
0

Share this post


Link to post
Share on other sites
Maega: The world is full of people who need help. Disregarding them, although not very effective in making them quit, does seem to be the best option, though .

Edward Ropple: Basic is good for teaching people the basics of programming, and thus, learning it in order to teach people might be helpfull .

Arild Fines:
"Are there free linux compilers for C# that I could download?"
"Yes"
Don''t supposed you could spare a link?

"Garbage collection?!?"
"Yup, like any other civilized language" (and GC related comments)
Let me interpret correctly:

1) returning items such as classes would be easier legally than in C++, as things are done from the heap.
2) Heap allocation is faster because it does memory allocation for you, in effect.
3) That is useful in cases where I am not writing my own memory manager for a specific task (aka, projects which need speed, but also need to stay fairly general to speed improvements).

Given the scenario where I am writing a game, with it''s own fast memory manager (with pre-allocated memory), this would not be of help to me. Also, in the given scenario, would I be able to overload new/delete or the like to achieve the desired result?

This would be the primary background that I am comming from. I understand, however, that GC would/will be usefull to lower end games/projects.

GoofProg: Me too .

JuNC: Don''t give them any ideas.
0

Share this post


Link to post
Share on other sites
Hi,

My answer to the first question is yes.
I''m a C++ programmer, but i''ve started to learn C#,
and i find it very enjoyable and easy to work with.

From what i understand, C# was, primarly made to be used as the
primary language to develop for the .NET framework ( someone correct me if im wrong here)

And yes, you get a free compiler with .NET framework, which
you can download from MS site.

As to the differences between C# and C++, i dont know a heck of alot about it, but
one of the larger ones, is that C# is a PURE OO languages,
whereas, C++ is a PROCEDURAL language, with OO extensions.

In short, you should definatly learn it. C# , in my oppionion,
is here to stay. That means that if you want to work professionaly as a programmer,
you will most likely end up in a situation where it''s required of you to know it.

Well, thats all from me at the moment
I hope this was of some help to you.

Good luck my friend!
0

Share this post


Link to post
Share on other sites
I''ll throw in my 2 cents..

If you already know C++ or Java, then C# takes about an hour to learn (5 minutes for syntax, 55 minutes to browse through the framework and get a general understanding of what''s in it).

So.. IMO, why not learn it? It certainly doesn''t hurt.

Linux compiler can be found here;
www.go-mono.org

Windows compiler can be found here;
www.microsoft.com/net/

There''s also a free IDE for Windows called SharpDevelop (or something like that). I don''t have a link on hand, so search google.
0

Share this post


Link to post
Share on other sites
As I see it, C# is something between C++ and Java. Now, why learn a language that looks like Java but lacks most of the benefits of Java and is less advanced then C++?
0

Share this post


Link to post
Share on other sites
I don''t think it''s been ported to linux (yet) but Sharp Develop is a pretty nice C# IDE and can be found here: http://www.icsharpcode.net -- a couple of other nice beenfits of it, is that it''s written in C# itself, and it''s open source.

The C# compiler itself comes with the .NET framework, which you have to install whether you use Sharp Develop or Visual Studio.NET or whatever. I''d imagine microsoft.com/net/ would be the place to pick that up, as the previous posted mentioned.

If you''re wanting to go the free route and wanting to develop ASP.NET (i.e. web database) applications and services, you should go to www.asp.net and download WebMatrix. It''s pretty nice. SharpDevelop, as nice as it is, isn''t officially supporting asp.net stuff yet.

Hope all this info helps.

-Ascent


0

Share this post


Link to post
Share on other sites