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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-06-2006, 09:50 AM   #1
s9ann0
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 ?
s9ann0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 09:58 AM   #2
HorseShit
Too lazy to set a custom title
 
Join Date: Dec 2004
Posts: 17,513
a lot do that to save time
HorseShit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 09:59 AM   #3
pstation
Confirmed User
 
Join Date: Jul 2003
Location: chicago
Posts: 1,135
hmm, nope
pstation is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:00 AM   #4
woj
<&(©¿©)&>
 
woj's Avatar
 
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

Last edited by woj; 04-06-2006 at 10:01 AM..
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:06 AM   #5
Remastered
Confirmed User
 
Join Date: Mar 2006
Posts: 182
Yes, it's called code templates and I have 1,000s of them.
Remastered is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:10 AM   #6
HorseShit
Too lazy to set a custom title
 
Join Date: Dec 2004
Posts: 17,513
"why reinvent the wheel"
HorseShit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:12 AM   #7
Tom_PM
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.
Tom_PM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:13 AM   #8
Fetish Gimp
Confirmed User
 
Industry Role:
Join Date: Feb 2005
Posts: 1,699
Quote:
Originally Posted by woj
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...
Preach the fuck on.
__________________
Strapon Seduction - femdom blog | Twitter
Fetish Gimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:13 AM   #9
BlueWire
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
BlueWire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:14 AM   #10
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
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
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:14 AM   #11
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
Quote:
Originally Posted by PR_Tom
Oh hell yes. Absolutely. All the more reason to write good code the first time.
i was talking to a friend nathan about coding, did he do some work for you a while back?
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:18 AM   #12
fuzebox
making it rain
 
fuzebox's Avatar
 
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.
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:22 AM   #13
Tom_PM
Porn Meister
 
Industry Role:
Join Date: Feb 2005
Posts: 16,443
Quote:
Originally Posted by fris
i was talking to a friend nathan about coding, did he do some work for you a while back?
Not for me personally. For the company, maybe. I dont do the hiring of programmers/designers and the like. So it's possible I guess.
__________________
43-922-863 Shut up and play your guitar.
Tom_PM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:25 AM   #14
Brujah
Beer Money Baron
 
Brujah's Avatar
 
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?
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:31 AM   #15
u-Bob
there's no $$$ in porn
 
u-Bob's Avatar
 
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.
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 10:38 AM   #16
AcidMax
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
AcidMax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2006, 11:10 AM   #17
s9ann0
Confirmed User
 
Join Date: Sep 2001
Location: Boston
Posts: 4,873
Quote:
Originally Posted by u-Bob
first lesson my university prof taught me: "a real programmer is lazy".
I like that :o))
s9ann0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.