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 04-01-2004, 08:34 PM   #1
Asalyt
Member
 
Join Date: Jul 2003
Posts: 35
Asalyt is on a distinguished road
Unhappy

Asalyt is offline   Reply With Quote
Old 04-09-2004, 04:51 AM   #2
Dre
Member
 
Join Date: Jun 2002
Location: the Netherlands
Posts: 65
Dre is on a distinguished road
Dre is offline   Reply With Quote
Old 04-09-2004, 12:35 PM   #3
lckychrmsrr
New Member
 
Join Date: Nov 2003
Posts: 9
lckychrmsrr is on a distinguished road
Exclamation

It seem like every month someone new asks this question. THen a whole bunch of people reply with all their various tips and wisdom. Here's how you learn to code. You have a few options available to you.

1) You take a class. HS or college.

2) You buy a book and learn on your own.

If you are too cheap to buy a book there are lots of free "tutorials" on the web. Trust me when I tell you that you will be much better off with buying a book. Take your book, go page by page through it working every single problem. Rewrite every examply program they provide and do every practice problem at the end of the chapters. By the end of the book you'll have a solid grasp of what ever language it is you wish to learn. To actually get reaally good at coding you have to play around with it. Spend hours upon hours in front of your computer trying out new stuff. You -WILL NOT- learn how to code in a week.

Of all the languages I prefer JAVA. Even though it may take some extra lines of code to get the simplest of things done, the structure is the easiest to understand. It is also widely used throughout the business world and on the web. Although if you're wanting to learn for muds, you should try either C or C++. C++ compiliers all still run C just so you know. So anything you write in C can be run by any program that wants C++ (as a general rule anyway).
lckychrmsrr is offline   Reply With Quote
Old 04-09-2004, 08:21 PM   #4
Raith
 
Posts: n/a
  Reply With Quote
Old 04-20-2004, 11:32 PM   #5
Luthien
New Member
 
Join Date: Apr 2004
Home MUD: The Sea of Storms
Posts: 18
Luthien is on a distinguished road
Talking

I think something worth mentioning is that to get started, you don't necessarily need tutorials and such.

If you have a basic knowledge of C/C++ (or some derivative of C), then you can start to learn. Get yourself a copy of some source code, and start working with it. I'm still a beginning coder really, but I learned by getting myself some background in C/C++ and then starting to tinker with a copy of the code for the MUD I'm an Imm at.

Granted, it would go faster if our Head Coder was around more to ask questions of...but I've made some pretty big strides just myself.

Cheers,
-Luthien
tsos.rarcoa.com
Luthien is offline   Reply With Quote
Old 04-21-2004, 07:20 AM   #6
gth
Member
 
Join Date: Nov 2003
Posts: 50
gth is on a distinguished road
You may want to head to the official site for that 'Thinking in C++' link posted above - it's a bit more up to date, and you can download the whole thing to your local hard drive and view it from there...

gth is offline   Reply With Quote
Old 04-21-2004, 02:52 PM   #7
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 Beginning Programming for Dummies and C++ for Dummies. So far I'm doing good.  

Try your local library,too. No need to buy a book you can get for free. (Unless you are me and rack up on late fees)
Realedazed is offline   Reply With Quote
Old 05-06-2004, 03:26 AM   #8
Zaroth
New Member
 
Join Date: Aug 2002
Posts: 6
Zaroth is on a distinguished road
I agree with everything that has been mentioned to this point...unless you only learn one way efficiently, that being hands on.  Most coders I know of are analytical, and over-analyse things to death which poses a bit of a problem when they take a simple function, and add 10x too many lines, then optimize it in assembly or something of the sort.  

As was mentioned above, I would recommend a download of the e-book, TICPP ver.2 - nice start to C++,  - if you get lost, you can bookmark sections in the .pdf for easy searching and recovery of the information you want without having to page/scroll/click 200 times. I learned to code by opening up the files, one by one and examining how they are pieced together, it gives a basic structure to work with.  Another thing that I didn't see mentioned in this, especially for old and newbie coders alike.. the use of GDB - it's a debugger that'll allow you to monitor changes as the code is running so you can see what's going goofy where, and help pinpoint the issue - most look at the code they added and say "it crashed, but where and why?" where with , you can force commands into it, and it'll give detailed output of anything you tell it to give you - quite the handy tool when you're paging through 500 lines of newly added stuff, and it compiles without a single warning whatsoever but still dumps.  My suggestion is to start with a compiler on your computer, and tinker with the basics there while going through the TICPP book - the book is free to d/l, and if you're running windows I would recommend , falls under GPL(free == good), has all the goodies, and always new packages to add for further functionality - it handles C and C++ quite nicely.  It also runs on any Windows OS, 95-XP, so if you are diehard Windows 95 due to stability reasons, it'll still work without any issues.  I really cannot thing of anything else to throw into it at this time, and I hope this bit of information helps some.

  Zaroth-
Zaroth is offline   Reply With Quote
Old 05-06-2004, 07:37 AM   #9
Hardestadt
Member
 
Join Date: Sep 2003
Posts: 84
Hardestadt is on a distinguished road
One thing you may notice from the posts above. Coding and learning to code takes a very large amount of time. You will fail, but you need to get up and keep going with it to achieve a good understanding.

Good luck.

Leigh
CTO
Hardestadt is offline   Reply With Quote
Old 05-08-2004, 05:37 AM   #10
Geras
Member
 
Join Date: Aug 2003
Posts: 36
Geras is on a distinguished road
A rule of thumb I use here in university is the easier a language is to program in, the less efficient it is, so it's kind of a trade off between time to learn a language and time to make money to pay for the extra resources.
Geras is offline   Reply With Quote
Old 05-08-2004, 06:30 PM   #11
Asalyt
Member
 
Join Date: Jul 2003
Posts: 35
Asalyt is on a distinguished road
Arrow

Asalyt is offline   Reply With Quote
Old 05-10-2004, 04:19 PM   #12
Raith
 
Posts: n/a
If I haven't emphasized it, I'm going to now.

Patience is absolutely essential.
  Reply With Quote
Old 05-26-2004, 05:03 AM   #13
frumbert
New Member
 
Join Date: May 2004
Posts: 2
frumbert is on a distinguished road
Smile

frumbert is offline   Reply With Quote
Reply


Thread Tools


um..how do I code? - Similar Threads
Thread Thread Starter Forum Replies Last Post
mprog src code Titania MUD Coding 0 04-12-2003 08:02 PM
Paradox Code Jayl MUD Coding 0 07-20-2002 12:31 AM
Gun Code Shadow MUD Coding 1 07-10-2002 05:17 PM
I would like to code! Zellius Advertising for Staff 1 07-03-2002 08:59 AM
Code Problem Keljorian MUD Coding 1 06-01-2002 11:11 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 01:46 PM.


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