Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Reply
 
Thread Tools
Old 01-21-2006, 08:03 PM   #1
fleshofchaos
New Member
 
Join Date: Jan 2006
Location: Shallotte, NC
Posts: 1
fleshofchaos is on a distinguished road
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
fleshofchaos is offline   Reply With Quote
Old 01-21-2006, 08:14 PM   #2
Hajamin
Member
 
Join Date: Mar 2005
Location: Lusternia
Posts: 35
Hajamin is on a distinguished road
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.
Hajamin is offline   Reply With Quote
Old 01-21-2006, 08:15 PM   #3
Hajamin
Member
 
Join Date: Mar 2005
Location: Lusternia
Posts: 35
Hajamin is on a distinguished road
Oh, and put a coffee machine next to your computer!
Hajamin is offline   Reply With Quote
Old 01-21-2006, 08:40 PM   #4
Realedazed
Member
 
Join Date: May 2002
Location: AZ
Home MUD: Armageddon
Home MUD: Harshlands
Home MUD: DartMUD
Posts: 157
Realedazed is on a distinguished road
Send a message via AIM to Realedazed Send a message via Yahoo to Realedazed
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.
Realedazed is offline   Reply With Quote
Old 01-22-2006, 02:18 AM   #5
Keldar
New Member
 
Join Date: Sep 2002
Posts: 13
Keldar is on a distinguished road
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.
Keldar is offline   Reply With Quote
Old 01-22-2006, 06:36 AM   #6
Caladan
New Member
 
Join Date: Sep 2002
Location: Sydney, Australia
Posts: 3
Caladan is on a distinguished road
Send a message via ICQ to Caladan
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.
Caladan is offline   Reply With Quote
Old 01-23-2006, 01:59 AM   #7
Drealoth
Member
 
Join Date: Jan 2006
Location: Japan
Posts: 74
Drealoth is on a distinguished road
Send a message via MSN to Drealoth
Drealoth is offline   Reply With Quote
Old 01-23-2006, 04:44 AM   #8
Hajamin
Member
 
Join Date: Mar 2005
Location: Lusternia
Posts: 35
Hajamin is on a distinguished road
Hajamin is offline   Reply With Quote
Reply


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 10:27 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022