|
|||||||
This is a discussion on "How can I learn to code?" in the Top Mud Sites MUD Coding forum : I know this is a very general question... but how can I learn to code? I've read about things like C++ and stuff but I have no idea what that is. I know everyone has got to start somewhere, so I am asking where that is. Any info would be really nice! I don't know what else to say, really, except that I want to join the staff of a MUD but I want to get some experience in first, if at least for nothing else than personal knowledge. Still, it couldn't hurt. Thanks. fleshofchaos... |
|
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our MUD community today! If you have any problems with the registration process or your account login, please contact us. If you are a registered member of the old TMS forums, please click here
|
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
New Member
Join Date: Jan 2006
Location: Shallotte, NC
Posts: 1
![]() |
I know this is a very general question...
but how can I learn to code? I've read about things like C++ and stuff but I have no idea what that is. I know everyone has got to start somewhere, so I am asking where that is. Any info would be really nice! I don't know what else to say, really, except that I want to join the staff of a MUD but I want to get some experience in first, if at least for nothing else than personal knowledge. Still, it couldn't hurt. Thanks. fleshofchaos |
|
|
|
|
|
#2 |
|
Member
Join Date: Mar 2005
Location: Lusternia
Posts: 35
![]() |
The best would be taking some college courses, but if that's not possible here are a few suggestions.
1. Realize this isn't a simple thing, it's going to take time(a lot of it) and it's GOING to be stressful. If you can't handle stress, you might want to think twice about it. 2. There are a lot of different languages out there, C++ being one of the more complex ones. I'd suggest starting with something like VB(Visual Basic). 3. Find a good book, O'Rielly books are probably(not probably, they are) the best out there. 4. Read the book, and try to reproduce the examples they talk about. Most books will come with a CD that has the compilers and editors you will need. 5. Once you think you understand the stuff in the books, pick a simple project(a mud is not simple, but I'm sure you knew that) and work your way through it. 6. If you know anyone that codes, bug them when ever you have a question, if not I'm sure people here or on other forums will be more than willing to answer your questions. 7. If at first you don't succeed(and you won't), don't give up, keep trying. It's going to take a lot of time, and the more you put into it, the faster you will learn. You will also want to learn the standards, the books should teach it, but you can also use google and search for "coding practices" or "coding standards" to find some good references on it. Good luck. |
|
|
|
|
|
#3 |
|
Member
Join Date: Mar 2005
Location: Lusternia
Posts: 35
![]() |
Oh, and put a coffee machine next to your computer!
|
|
|
|
|
|
#4 |
|
Member
Join Date: May 2002
Location: DC
Home MUD: Armageddon, Inferno
Posts: 92
![]() |
I have a quick question. Is Lau a good language to start with? I only picked it because it may help with Programming with MUSH Client. I'm debating between that and VB, I guess.
|
|
|
|
|
|
#5 |
|
New Member
Join Date: Sep 2002
Posts: 13
![]() |
Lua is a "scripting" language, which is very different from languages like C/C++. Most MUDs are coded in the latter two (well, mostly C probably). Lua itself is coded in C actually.
As Hajamin said, C/C++ are fairly complex because they force you to deal with many not so trivial things, like memory management and data types. Languages like Lua hide all those gory details from you and allow you to concentrate on what you actually want to make the computer do. Therefore, if you don't have any programming experience whatsoever then Lua is a good choice, especially if you have an environment where you can use it for solving practical problems (like scripting in Mushclient), which is much better than going through textbook examples. The skills you pick up in Lua can later be applied to C, once you are comfortable enough with programming in general. In fact, since you can code Lua itself in C, after some time you could try writing Lua extensions in C, which is a fairly simple and well documented process, and learn at least beginning C that way. Again - in a practical and comfortable environment. |
|
|
|
|
|
#6 |
|
New Member
|
It may sound silly...
But I would suggest the 'C (Or any of the other languages they put them out for) for Dummies' books. If you have never had any coding experience, and want to learn from the ground up. I started with no experience, teach yourself. Using these books as a basis, they bring you up to a high basic, low intermediate level, without stressing you out too much. There aren't many books on programming languages you can sit down and read without getting frustrated at some point, but the Dummies books do a very good job. They wont make you a master, but they can certainly help you on the way. |
|
|
|
|
|
#7 |
|
Member
|
Start with Ruby! And if you want to learn how to program, get your ass over to my website: http://www.compsci.ca/ - plenty of people there are willing to help you get started. Lots of tutorials, example source code, etc (and a forum with over 100,000 posts). Yes, it's kind of ugly, but it works
If you want to go all in... install Linux, it's a much friendlier programming environment. And whatever you do, DON'T use an IDE (such as Visual Studio) to start. It'll make you stupid. |
|
|
|
|
|
#8 | |
|
Member
Join Date: Mar 2005
Location: Lusternia
Posts: 35
![]() |
Quote:
Oh wait.. that's VB... never mind |
|
|
|
|
![]() |
| Thread Tools | |
How can I learn to code? - Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Want to learn LPC? | rotm_adm | Advertising for Staff | 1 | 06-28-2005 12:06 AM |
| um..how do I code? | Asalyt | MUD Coding | 12 | 05-26-2004 05:03 AM |
| A Wanting to Learn to Code | CandidatusLupus | MUD Coding | 5 | 11-26-2003 12:35 AM |
| Looking for easy to learn fun mud | Nate112233 | Advertising for Players | 6 | 02-02-2003 01:11 PM |
| Gun Code | Shadow | MUD Coding | 1 | 07-10-2002 05:17 PM |
|
|