PDA

View Full Version : A code-reuse proposal


amykhar
11-17-2005, 02:47 PM
It seems silly to me to keep reinventing the wheel; so I would like to propose that we collaborate and put together a library of basic functions that any mod author could use by including the file and calling the function with the approriate parameters.

For example:
Send a PM given parameters of whom to send it to, whom to send it from, the subject and the message.

Create a new thread given the forumid, the message, the poster, etc.

If we put together a set of easy to use, documented bug-free functions, then I think hack quality will improve. Plus, it would be nice to work together on something to make our lives easier.

sabret00the
11-17-2005, 02:50 PM
a code library is a pretty sweet idea :)

TheMusicMan
11-17-2005, 02:55 PM
a code library is a pretty sweet idea :)

Let alone consistency.... what a cracking idea...

Marco van Herwaarden
11-17-2005, 07:10 PM
That would require that we setup a CVS server somewhere here at vb.org.

The idea have been around before. It until never worked however. Also because not many coders wanted to confirm to a standard code library.