Page 1 of 1

Ready made scripts or write your own?

Posted: Wed Dec 18, 2002 11:46 am
by JPlush76
Which do you prefer to do with your sites?

Write all your code from scratch while using your own library of code

or

Use ready made scripts for what you're working on and just modify the script?


Personally I like to write everything myself so I know exactly how to maintain something or upgrade it.

Posted: Wed Dec 18, 2002 12:34 pm
by BDKR
At this point in time I like to base my work on a small lightweight set of structures and associated functions I've been developing and using where I work. I'm about to put it together into a package called Small Unit Raid. Ultimately, I want all of the db access to use the dbx functions, but I haven't got the time right now to hash out the particulars of that.

However, when I stumble across small snippets of code that are just downright awesome, I incorporate them into what I do as well.

Now there is a lot to be said for Application Frameworks in that they can increase the productivity of a group many fold. And when you get right down to it, it's probably a good idea to use a pre-written one or develop one of your own.

Cheers,
BDKR

Posted: Wed Dec 18, 2002 12:49 pm
by Takuma
Definitely the first option.

It was fun making my own code library although it was quite difficult. My MySQL library is very good!


:D :D :D

Posted: Wed Dec 18, 2002 11:29 pm
by mr_griff
I usually look for something that does what I am looking for and don't want to take the time integrating it into my own solution. So I usually look through a couple examples and code it myself.

Posted: Thu Dec 19, 2002 7:23 am
by Johnm
With the project that we are working on there is very little pre written code that would help. We are developing a cutting-edge engineering system that is integrated with Pro/E parametric design software so a good chunk of what gets written doesn't exist.


John M

Posted: Thu Dec 19, 2002 8:55 pm
by phice
Make them my own, of course.

Posted: Sat Dec 21, 2002 10:44 am
by Gen-ik
I write my own scripts.

Obviously you have to check out other peoples to learn how to do things.. but I never copy 'n paste someone elses script into my own.

Personally I think it's just damn lazy if you don't write your own.

Posted: Sat Dec 21, 2002 5:20 pm
by evilcoder
I write my scripts myself, for a couple reasons:

a: I cant stand dirty and clustered code.
b: Some people over-comment their work
c: Pre-made scripts usually use unrelated names for variables, eg: Say there is a variable for a messagesent function, they use $ffx3f instead of an easy to read $messagesend. (Get what i'm saying?)
d: Some people under-comment their work and make it hard for people to re-edit.

They are just a few reasons, i write self-commented code, which is neaty spaced and organisated in a very strict way eg:

code
{
new code
}
code
{
new code
{
new code
}
}

but, thats just me.