Home Forums Register FAQ Members List Calendar Search Today's Posts Mark Forums Read Arcade Chat
Go Back   ClubPenguinHQ Forums > General Discussion > Public Forum Archives > General Discussion > Hacking/Programming
Reload this Page Good programming practices
Hacking/Programming All hacking/programming goes here. Club Penguin hacking can be discussed in the Club Penguin Cheating Parent forum. No Club Penguin hacking is allowed here.

Good programming practices

Reply
 
LinkBack Thread Tools Display Modes
Good programming practices
Old
  (#1)
Vinni3 is Offline
BANNED
Vinni3 is an unknown quantity at this point
 
Posts: 2,075
Join Date: Aug 2007
Location: Drinking a cuppa
Rep Power: 0
   
Default Good programming practices - Sunday, June 1st, 2008

If your developing your program in an OOP, make sure you re-name each button - it should provide some info on what it does eg. exitBtn
exit - it tell me that this button closes the program
btn - tells me that it is a button
There are several other abbreviations, like:
lbl - label
tmr - timer
frm - form
txtbx - text box
var - variable
tb - tab
fla - flash
I'll add more.

Hidden comments:
This is possibly the most important thing - adding hidden comments will allow you to see what the code does, and in an error, allow you to go to it quickly. If you are in a rush, you can also find the code quickly and easily.

Code:
It should be organised, so that the code can be easily troubleshooted. DO NOT put all of your code in a clump, as this will make error solving 100% harder.

GUI:
Make sure it is simple, and doesn't over load users with thousands of options If possible, make it that the user can see what he/she ONLY WANTS TO SEE. If there is something visual, like a flash object, make it large so that people can see what is happening.
  
Reply With Quote
Re: Good programming practices
Old
  (#2)
The Test is Offline
Cheating God
The Test is an unknown quantity at this point
 
Posts: 3,477
Join Date: Jul 2007
Location: Australia, mate.
Rep Power: 0
  Send a message via MSN to The Test Send a message via Yahoo to The Test  
Default Re: Good programming practices - Sunday, June 1st, 2008

OOP?
  
Reply With Quote
Re: Good programming practices
Old
  (#3)
Eternal is Offline
Cheating God; Retired
Eternal is on their way to the top
 
Eternal's Avatar
 
Posts: 1,918
Join Date: Aug 2007
Location: <!> Earth, USA <!>
Age: 12
Rep Power: 0
  Send a message via AIM to Eternal Send a message via MSN to Eternal Send a message via Yahoo to Eternal  
Default Re: Good programming practices - Sunday, June 1st, 2008

^^
Yeah whats an OOP?


I have left CPHQ.
[Star StrucKK] - My blog.
  
Reply With Quote
Re: Good programming practices
Old
  (#4)
Shadow is Offline
Member
Shadow is an unknown quantity at this point
 
Posts: 265
Join Date: May 2008
Rep Power: 0
   
Default Re: Good programming practices - Sunday, June 1st, 2008

Object
Oriented
Program


http://img32.imageshack.us/img32/5093/shadowtrollt.png
  
Reply With Quote
Re: Good programming practices
Old
  (#5)
Vinni3 is Offline
BANNED
Vinni3 is an unknown quantity at this point
 
Posts: 2,075
Join Date: Aug 2007
Location: Drinking a cuppa
Rep Power: 0
   
Default Re: Good programming practices - Monday, June 2nd, 2008

Quote:
Originally Posted by The Test
OOP?
Quote:
Originally Posted by Kasey96
^^
Yeah whats an OOP?
I though you guys were supposed to be good at programming.
  
Reply With Quote
Re: Good programming practices
Old
  (#6)
The Test is Offline
Cheating God
The Test is an unknown quantity at this point
 
Posts: 3,477
Join Date: Jul 2007
Location: Australia, mate.
Rep Power: 0
  Send a message via MSN to The Test Send a message via Yahoo to The Test  
Default Re: Good programming practices - Monday, June 2nd, 2008

Lol sorry.
  
Reply With Quote
Re: Good programming practices
Old
  (#7)
Eternal is Offline
Cheating God; Retired
Eternal is on their way to the top
 
Eternal's Avatar
 
Posts: 1,918
Join Date: Aug 2007
Location: <!> Earth, USA <!>
Age: 12
Rep Power: 0
  Send a message via AIM to Eternal Send a message via MSN to Eternal Send a message via Yahoo to Eternal  
Default Re: Good programming practices - Monday, June 2nd, 2008

:lol:
Same here, Im sorry(^^^) I only know Perl,HTML,Actionscript(Learning),BASIC, and a little bit of Pascal


I have left CPHQ.
[Star StrucKK] - My blog.
  
Reply With Quote
Re: Good programming practices
Old
  (#8)
Darkhopper is Offline
Super Member
Darkhopper can only hope to improve
 
Darkhopper's Avatar
 
Posts: 1,136
Join Date: Nov 2007
Location: In Anime World :D
Rep Power: 0
   
Default Re: Good programming practices - Tuesday, June 3rd, 2008

Well, I don't know much. ONE little thing of Javascript, and ONE little thing of PHP.
  
Reply With Quote
Re: Good programming practices
Old
  (#9)
PenXZ is Offline
Super Member
PenXZ is an unknown quantity at this point
 
PenXZ's Avatar
 
Posts: 1,016
Join Date: Aug 2007
Location: Italy
Age: 14
Rep Power: 0
  Send a message via MSN to PenXZ  
Default Re: Good programming practices - Tuesday, June 3rd, 2008

Nice tut.
I usually never change the button names, but I always change the flash item component name to "game".

OT: Yay! 1000th post in programming!


Same siggy, same skills, same person.

PenXZ, a name, a user and the warranty I don't care about you.

~Ex Cheating God and Art Master~
  
Reply With Quote
Re: Good programming practices
Old
  (#10)
Eternal is Offline
Cheating God; Retired
Eternal is on their way to the top
 
Eternal's Avatar
 
Posts: 1,918
Join Date: Aug 2007
Location: <!> Earth, USA <!>
Age: 12
Rep Power: 0
  Send a message via AIM to Eternal Send a message via MSN to Eternal Send a message via Yahoo to Eternal  
Default Re: Good programming practices - Tuesday, June 3rd, 2008

Quote:
Originally Posted by PenXZ
Nice tut.
I usually never change the button names, but I always change the flash item component name to "game".

OT: Yay! 1000th post in programming!
1001 <<<Still the same backwards
Yeah I do the same, except from SWF1 To FLash


I have left CPHQ.
[Star StrucKK] - My blog.
  
Reply With Quote
Reply

Lower Navigation
Go Back   ClubPenguinHQ Forums > General Discussion > Public Forum Archives > General Discussion > Hacking/Programming

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
vBulletin Skin developed by: vBStyles.com
Copyright ©2006 - 2009, RancidKraut Industries