Jump to content

Welcome to Rune Tips, the first ever RuneScape help site. We aim to offer skill guides, quest guides, maps, calculators, informative databases, tips, and much more to help you get the most from the Massive Online Adventure Game, RuneScape, by Jagex Ltd © 2009.

Report Ad

Welcome to Forum.Tip.It
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

What do you write your programs in?


  • Please log in to reply
19 replies to this topic

#1
Skill_Caster
[ Display Name History ]

Skill_Caster

    Dark Wizard Robe

  • Members
  • 927 posts
Hey fellow coders... over the years I've self-taught myself many languages of code, and I'd like to consider myself very skilled. However, my problem is, I only know web and engine-based languages - ex. php, Javascript, and random engine-specific codes. That's great if I want to build a sweet website, or mod a custom gun into a game - but I want to do more.

What I'd like to do is learn a 'program' programming code (C++/Python/Java) so that I can design and develop personal projects that run on systems... not web browsers or with-in other programs. I want to be able to make personal chat clients, widgets, games, and so on. I'm assuming most of you have already grasped what I'm asking, because I've read up on the 'What are your current projects?' thread in this subforum.

So, what do I do? I know a bit about the aforementioned codes but I don't know which one(s) I should learn... my friend recommends Python, but that has to run through an interpreter all the time, doesn't it? - So I wouldn't be able to compile my projects and distrubte them to friends (or so I think).

Thanks for your help and time in advance,
- Skilly
Posted Image

#2
Mastermosley
[ Display Name History ]

Mastermosley

    Chicken Feather

  • Members
  • 17 posts
  • Gender:Male
  • Location:Nanaimo, BC Canada
  • Joined:10 May 2010
  • RuneScape Status:P2P
  • RSN:xblackslashx

Hey fellow coders... over the years I've self-taught myself many languages of code, and I'd like to consider myself very skilled. However, my problem is, I only know web and engine-based languages - ex. php, Javascript, and random engine-specific codes. That's great if I want to build a sweet website, or mod a custom gun into a game - but I want to do more.

What I'd like to do is learn a 'program' programming code (C++/Python/Java) so that I can design and develop personal projects that run on systems... not web browsers or with-in other programs. I want to be able to make personal chat clients, widgets, games, and so on. I'm assuming most of you have already grasped what I'm asking, because I've read up on the 'What are your current projects?' thread in this subforum.

So, what do I do? I know a bit about the aforementioned codes but I don't know which one(s) I should learn... my friend recommends Python, but that has to run through an interpreter all the time, doesn't it? - So I wouldn't be able to compile my projects and distrubte them to friends (or so I think).

Thanks for your help and time in advance,
- Skilly


If you want to learn a programming language that can be utilized on multiple platforms I would suggest C++ because it seems it will never go away and every platform supports it. There is tons of documentations and ebooks avaialble to teach you how and with you knowledge of php and javascript the syntax's are very similiar. Microsoft Visual Studio is by far the best IDE to work with in my opinion. C++ is very complex and will require modivations. Now my personal favorite C# is an awesome language if you want to program for Windows. (Also MONO is available which allows you to run C# programs on other platforms). Its similiar to c++ but much easier to understand. C# is a very powerfull language and you can do just about anything in it as well. Visual Studio Website

#3
The Runar
[ Display Name History ]

The Runar

    Varrock Guard

  • Members
  • 1,343 posts
  • Gender:Not Telling
  • Location:Tampere, Finland
  • Joined:3 June 2006
  • RuneScape Status:P2P
  • RSN:The Runar
  • RSN '07:Old Runar
C++ is what I use. It's quite hard, and I'm not very good yet, but I can do basic stuff and some more complex things too. The only drawback is that I use Linux, and if I want to share anything with my friends, I need to recompile the programs on Windows.

Java is good if you want your programs to work on all operating systems easily. I don't know much about Java, but I've heard that it's easier than C++. Someone else can probably tell you about it :)

Python isn't good for "real" programming in my opinion, but I sometimes use it for scripts. It can be used for larger programs, but as it requires the interpreter, Python programs are harder to share. Python is very easy to learn though.

#4
Smapla
[ Display Name History ]

Smapla

    Demon Vanquisher

  • Members
  • 2,498 posts
  • Joined:12 July 2005
I was in a similar situation to you, and started taking cs classes in java, and found it pretty easy to pick up. Now I'm trying to learn c++. It's quite a bit harder and I think it'd be even more so if I hadn't learned some java already. So ideally i think that java would be a good place to start at, especially since you can integrate java applets into web pages which sort of enhances your web based programming arsenal, and it'd prepare you for harder programming languages such as c++.
Posted Image

#5
sees_all1
[ Display Name History ]

sees_all1

    Ice Giant Melter

  • Members
  • 4,961 posts
  • Gender:Not Telling
  • Joined:26 June 2007
  • RuneScape Status:None
Java is a pretty good language. If you decide to use it, I'd suggest you stick with notepad or gedit and the command line until you get the hang of it. When you get done with the easy, basic stuff, and want to move on to GUIs I recommend you download netbeans (not before then, banging your head against the wall makes the experience stick).

99 dungeoneering achieved, thanks to everyone that celebrated with me!

 

♪♪ Don't interrupt me as I struggle to complete this thought
Have some respect for someone more forgetful than yourself ♪♪

♪♪ And I'm not done
And I won't be till my head falls off ♪♪


#6
ssjim826
[ Display Name History ]

ssjim826

    Spider Egg

  • Members
  • 56 posts
  • Gender:Male
  • Location:Toms River, New Jersey
  • Joined:7 June 2006
  • RuneScape Status:P2P
  • RSN:13th_priest6

Java is a pretty good language. If you decide to use it, I'd suggest you stick with notepad or gedit and the command line until you get the hang of it. When you get done with the easy, basic stuff, and want to move on to GUIs I recommend you download netbeans (not before then, banging your head against the wall makes the experience stick).

java is a good language. But i agree with sees_all1 . dont download the GUI till you understand it. Ive learned that the hard way :( lmao. I program with C++, and java. I looked into python but i was like ...ehh nah.
"I will never falter, ill stand my ground"

#7
Vulxai
[ Display Name History ]

Vulxai

    Mitákuye Oyás’iŋ

  • Members
  • 5,959 posts
  • Gender:Male
  • Location:Help and Advice boards
  • Joined:11 September 2006
  • RuneScape Status:Semi-Retired
  • RSN:Wise Pond
  • RSN '07:Vulxai
I started learning C++ on my own mostly my junior year of high school, and with the help of my computer teacher, I ended up getting second at a statewide programming competition, and helped organize an actual C++ class at the school, but now in College, we're taught C. I think with your coding background, C++ won't be too difficult, as most of the basic principles are still there, and it's mostly syntax you have to learn. You can try using DevC++. I think Microsoft Visual C++ 2010 Express is free (at least it was when I got it), and pretty good to get the basics down. I started off with www.cplusplus.com, decent tutorials to help get you started.

~ Proud Father ~ Proud (Currently Deployed) Army National Guardsmen ~ Proud Lakota ~ Retired Tip.It Crew ~
 


#8
GottaGetDownOnfriday
[ Display Name History ]

GottaGetDownOnfriday

    Bear Fur

  • Members
  • 264 posts
  • Joined:16 June 2010
I use code::blocks as a c++ ide. I need to build my own IDE.
Posted Image

65,280 to 99 fletching on 3-14-09
40,405 to 99 woodcutting on 10-17-2009

#9
Crossed_Body
[ Display Name History ]

Crossed_Body

    Skeleton Shield

  • Members
  • 1,245 posts
  • Gender:Male
  • Joined:6 December 2010
  • RuneScape Status:P2P
  • RSN:Crossed Body
Java/C++
Posted Image

#10
Markup
[ Display Name History ]

Markup

    Scorpion Pit

  • Members
  • 639 posts
  • Gender:Not Telling
  • Joined:9 April 2006
  • RuneScape Status:None
C/C++ , Python, assembly, Java

#11
Crossed_Body
[ Display Name History ]

Crossed_Body

    Skeleton Shield

  • Members
  • 1,245 posts
  • Gender:Male
  • Joined:6 December 2010
  • RuneScape Status:P2P
  • RSN:Crossed Body

C/C++ , Python, assembly, Java



Assembly :thumbdown:
Posted Image

#12
knight10071
[ Display Name History ]

knight10071

    Bear Fur

  • Members
  • 410 posts
  • Gender:Male
  • Location:Location doesn't matter, destination does!
  • Joined:8 January 2006
  • RuneScape Status:P2P
  • RSN:Aurei Animus
I'd like to share some of my experiences.

I started with Visual Basic, which was pretty good for me. Made a lot of small projects with it and making buttons etc. is really easy with it.

Then I learned Python though this: (http://ocw.mit.edu/c...-2008/index.htm Video lectures + exercises)
Python has a ton of libraries for practically anything you can think of, from writing excels to reading xml files. If the friends you want to give the programs to have knowledge of programming, you'll prolly want to give them the source code anyway, so they can just download Python, it's not like it's big or anything. If you just want to show them stuff, http://www.portablepython.com/ .

I have a little experience with C++ and the main difference between C++/Java and Python is development time vs time/resources used for running. If you have finally finished a C++/Java project, you compile and you can just run it whenever you want to. If you want to do projects in Python, you can easiliy write a bit of code, but it needs to be interpreted when you run it, which can cause slow down.
Posted Image

#13
Sbrideau
[ Display Name History ]

Sbrideau

    Ice Giant Melter

  • Members
  • 4,387 posts
  • Gender:Male
  • Location:Saint-Georges, Québec, Canada (very close to the Maine border)
  • Joined:3 September 2006
  • RuneScape Status:P2P
  • RSN:Sbr
I've written programs in quite a few languages, but currently I'm going for my Java Cert.

#14
Markup
[ Display Name History ]

Markup

    Scorpion Pit

  • Members
  • 639 posts
  • Gender:Not Telling
  • Joined:9 April 2006
  • RuneScape Status:None


C/C++ , Python, assembly, Java



Assembly :thumbdown:


Required for reversing and similar and is actually really interesting

#15
Veiva
[ Display Name History ]

Veiva

    Demon Vanquisher

  • Members
  • 2,345 posts
  • Gender:Not Telling
  • Joined:18 November 2004


C/C++ , Python, assembly, Java



Assembly :thumbdown:


Is there something wrong with assembly? I've dabbled in 6502, x86, PPC, and ARM assembly at some points. On top of that I had at one pointed created my own assembly language for a virtual processor.

Unless you mean it's not the nicest thing to program in, then I concur. At least it's better than Visual Basic (not Visual Basic .NET) haha :P

ozXHe7P.png


#16
punk_
[ Display Name History ]

punk_

    Chicken Feather

  • Members
  • 17 posts
  • Gender:Male
  • Location:United Kingdom
  • Joined:8 February 2011
  • RuneScape Status:P2P
  • RSN:Fluxbox
Perl and Bash are my ideal languages.

#17
PaoZ
[ Display Name History ]

PaoZ

    Chicken Feather

  • Members
  • 22 posts
  • Gender:Male
  • Location:BKK,Thailand
  • Joined:26 June 2010
  • RuneScape Status:Retired
  • RSN:PaoZ
  • Clan:RSW
I recommend Java coz It can be use for web development and program on client.

#18
Orpheus
[ Display Name History ]

Orpheus

    Ice Giant Melter

  • Members
  • 4,783 posts
  • Gender:Male
  • Location:United Stat -TROMBE!
  • Joined:24 August 2006
  • RuneScape Status:None
Notably, C++ is apparently really freaking hard to learn. Once you do learn it though, other languages almost become trivial by comparison.

Java is also a good starter language if nothing else. I personally started with C++. And for the sake of answering a minor question, would I be right in assuming that C++ is basically C with more functions?


I was going to eat hot dogs for dinner tonight. I think I will settle for cereal.


OPEN WIDE HERE COMES THE HELICOPTER.


#19
dsavi
[ Display Name History ]

dsavi

    Dragon Slayer

  • Members
  • 6,868 posts
  • Joined:30 July 2006
C++ is a superset of C, personally I think that the added OOP functionality that C++ has really doesn't add so much to the language. Therefore I prefer C, it's minimalistic and it's still possible to apply the concepts of OOP to it (To some extent) with structs and function pointers.

So while C++ does have more features, it's really a matter of opinion as to whether or not they're worth it. I know that Linus Torvalds isn't a big fan. [Crude language warning]

C2b6gs7.png


#20
Orpheus
[ Display Name History ]

Orpheus

    Ice Giant Melter

  • Members
  • 4,783 posts
  • Gender:Male
  • Location:United Stat -TROMBE!
  • Joined:24 August 2006
  • RuneScape Status:None

C++ is a superset of C, personally I think that the added OOP functionality that C++ has really doesn't add so much to the language. Therefore I prefer C, it's minimalistic and it's still possible to apply the concepts of OOP to it (To some extent) with structs and function pointers.

So while C++ does have more features, it's really a matter of opinion as to whether or not they're worth it. I know that Linus Torvalds isn't a big fan. [Crude language warning]

Ah. Fair enough.


I was going to eat hot dogs for dinner tonight. I think I will settle for cereal.


OPEN WIDE HERE COMES THE HELICOPTER.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users