![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Sep 2001
Location: Boston
Posts: 4,873
|
when your write perl / php
coders be honest do you constantly go back to stuff you have done before and cut and paste about 50% of it and modify it a bit ?
or do I just suck ? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Join Date: Dec 2004
Posts: 17,513
|
a lot do that to save time
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jul 2003
Location: chicago
Posts: 1,135
|
hmm, nope
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
there is nothing wrong with reusing old code, but it's best to package up stuff into functions/classes and then just drop those into new projects... only a fool would rewrite everything from scratch each time...
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Mar 2006
Posts: 182
|
Yes, it's called code templates and I have 1,000s of them.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Too lazy to set a custom title
Join Date: Dec 2004
Posts: 17,513
|
"why reinvent the wheel"
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Porn Meister
Industry Role:
Join Date: Feb 2005
Posts: 16,443
|
Oh hell yes. Absolutely. All the more reason to write good code the first time.
__________________
43-922-863 Shut up and play your guitar. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Industry Role:
Join Date: Feb 2005
Posts: 1,699
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Nov 2004
Posts: 4,628
|
If you were a teacher and you wrote the best lesson plan in the WORLD for your 8th grade British Literature class one year....would you start over the next year
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
you are better of creating libraries with your most used functions.
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
Quote:
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,121
|
I try not to copy and paste... Maybe I might resuse an old function once in a blue moon, but it is so unlikely. Most the shit I write is fresh, even if I had just reinveinted the wheel.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Porn Meister
Industry Role:
Join Date: Feb 2005
Posts: 16,443
|
Quote:
__________________
43-922-863 Shut up and play your guitar. ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
I write everything in assembly, from scratch each time.
![]() Remastered, any tips on organizing your code templates?
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
there's no $$$ in porn
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
|
first lesson my university prof taught me: "a real programmer is lazy".
so yes, i reuse a lot of code. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Join Date: May 2002
Location: MI
Posts: 1,827
|
Definitely use classes. Inheritance and shit can save you a ton of time. Why write code to send emails everytime when you can do it in a single class and include, or form checking, database handling etc. Just a waste of time if you don't use classes imho.
__________________
Latest MMA news. http://www.mmawrapup.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
Confirmed User
Join Date: Sep 2001
Location: Boston
Posts: 4,873
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |