Please Note:
-This is my first informative thread.
-I'm not the best of programmers.
-I'm fairly new to c#
-Please don't flame.
Much of the rsps community is based around Java, it is the main (default?) language for building runescape emulators. The bonus with Java is that it can be used at any platform making it very versatile amongst developers and platform is a major issue within developing applications. Everyone has used a java application before (if you havn't then >.>). Java is a mature language and has been with us for quite a while and has served us well for quite some time. Yet when we are developing we always look towards performance of our applications. We continually make changes to our code to make it smaller and more proficient.
Now C# is a new and modern programming language made by microsoft (duh). Now when I usually see people's reactions to c# on here it's usually, "c# is a shit rip off java", well java is based on C so I wouldn't be talking. You may call it a rip of java because in a way it is. The real issue between the war of languages is the versatility of the language, in other words, what platform it runs on. Java is very versatile whereas c# is stuck with ms based OS's. There are microsoft haters out there, so I won't comment.
What microsoft have done with c# is to create a language that cuts down development time, by reducing the time consuming factors of memory management, type safety, libraries etc. This lets the developer work on the actual program and the logic of it. What they have done is taken Java and "removed this", "added that", "oh, lets make this a bit better". This way they have created a language which could be called "better" than java.
================================================== ==
Like Java, c# is a single rooted hierarcy of classes. in c# they are defined
in Java:
These are the same.
but when we look otherwise, c# just makes your life simpler.
Like in getting and setting
Java:
Code:
public int getTroll() {
return troll;
}
public void setTroll (int face) {
troll = face;
}
whereas in c#
Code:
public int Size {
get {return size;
}
set {size = value;
}
}
in c# it is inherited wheras in java you have to continually maintain this.
Anyways, overall which language you choose is up to you..
This was inspired by mgi125(because i really hate him )