Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Learning C Pound

Sign in to follow this  


(Disclaimer: Yes, I know it is called C Sharp.)

For future job eligibility, I have finally decided to break down and learn C Pound.

My initial impressions:

Its not really all that different from most of the other language I program in.

I *DO NOT* much care for the Equals() thing.

I really like the idea behind "partial".

Using "new" and the way C Pound deals with arrays is fine with me. It isn't all that much different than javascript/ActionScript, which I can deal with.

Properties are a good thing.

A lot reminds me of Java. The whole "put the implentation where you put the interface" thing, and the whole System.DooDads.Thingies.Whatever reminds me of the hugenormous Java packages.

The IDE is a different matter, and is really a separate topic to the language itself. I'm using VS 2005, and some features I find nice, like the global renaming thing.

Other features, such as making "get{return(m_member);}" into "get { return (m_member); }", I could take or leave. I don't really care if an IDE automatically conforms my code to it's own style.

I ordered a notebook computer, and the shipping tracker thingie says it should be here tomorrow, which means I'll be able to do stuff at my apartment. Sweet.
Sign in to follow this  


Recommended Comments

I actually rather like the style conformity. There are options to change some of the behavior (like foo(){ rather than foo()\n{). It helps take some of the burden off of me as the programmer to worry about formatting so I can focus on developing; C# as a whole does quite a lot of that. I also find it convinient when I want (the IDE) to auto-format someone else's code to be conistant with mine.

Share this comment

Link to comment

Other features, such as making "get{return(m_member);}" into "get { return (m_member); }", I could take or leave. I don't really care if an IDE automatically conforms my code to it's own style.

I usually turn that off for most of the time, and then enable it when I'm copying old code into my project, to quickly "reconform" it.

To be honest, I don't think I've used Equals(), ever.

I usually end up using an IComparer object and checking the result versus 0.

The base libraries are great; though there are times when I'm a little bit lost as to where something is. For example, I can't ever remember that serialization is in System.Runtime (it doesn't really make a lot of sense)

C#'s arrays are amazing, especially compared to Java (blech). OH LOOK! BUILT-IN-MULTI-DIMENSIONAL-ARRAYS!!! Whodathunkit?

Properties are a godsend. Trust me on this.

Share this comment

Link to comment
I'm all over properties, mainly due to my exposure to function set and function get in ActionScript.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!