TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
View Poll Results: Readability/Organisation > Speed.?
Yes 9 75.00%
No 3 25.00%
Voters: 12. You may not vote on this poll

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-29-2008, 10:08 PM   #1 (permalink)
Nor
The Addict
 
Join Date: Nov 2007
Posts: 282
Thanks: 61
Nor is on a distinguished road
Default Readability/Organisation > Speed.

As once quoted from WildHoney :)
Quote:
Originally Posted by Wildhoney
Readability/Organisation > Speed.
Do you agree :)?

I do, for the fact, I can never tell if anything loads faster or not. Also as long as everything is clean and organized, what can possible go so wrong?
__________________
PHP/XHTML Freelancer:
Cleanscript.com v3 - Programming starting at just $5 act now!
Nor is offline  
Reply With Quote
Old 03-30-2008, 02:25 AM   #2 (permalink)
The Wanderer
 
Join Date: Mar 2008
Posts: 7
Thanks: 2
subman is on a distinguished road
Default

Readability for sure. Especially when your doing work for a open source project..
subman is offline  
Reply With Quote
Old 03-30-2008, 03:02 AM   #3 (permalink)
The Frequenter
 
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
Aaron is on a distinguished road
Default

I like to muddle up the code just in case somone might want to ever change it in the future, so I go for speed.
__________________
Signatures are nothing but incriminating.
Send a message via MSN to Aaron
Aaron is offline  
Reply With Quote
Old 03-30-2008, 10:36 AM   #4 (permalink)
The Contributor
RegEx Guru 
 
Join Date: Dec 2007
Location: Belgium
Posts: 60
Thanks: 6
Geert is on a distinguished road
Default

Functionality > Readability/Organisation > Speed

I guess that is what I would say. First make things work--get it done, then make it look nice and speed it up.

However, don't get lost by overorganizing stuff. It is no good. No matter what, your code will probably look outdated a year later. Also, speeding up code will often beautify it at the same time.
__________________
Kohana - PHP5 framework
Geert is offline  
Reply With Quote
Old 03-30-2008, 10:22 PM   #5 (permalink)
Nor
The Addict
 
Join Date: Nov 2007
Posts: 282
Thanks: 61
Nor is on a distinguished road
Default

True, I hate how when I look at my old code it looks "old" :P, guess that means I'm learning new techniques.
__________________
PHP/XHTML Freelancer:
Cleanscript.com v3 - Programming starting at just $5 act now!
Nor is offline  
Reply With Quote
Old 03-31-2008, 12:05 PM   #6 (permalink)
The Contributor
 
Join Date: Nov 2007
Posts: 32
Thanks: 5
Morishani is on a distinguished road
Default

Agree for sure, And by organization you can maintain your code to be faster.

Becouse when you gather all the functions and variables to classes, it is much easier to make it work faster.
__________________
מטבחים (hebrew)
Send a message via ICQ to Morishani Send a message via MSN to Morishani
Morishani is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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


All times are GMT. The time now is 08:52 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design