Go to Post That is the ultimate "dream match" that I long to see. If not during the season, maybe we will see it at IRI. :) . - dlavery [more]
Home
Go Back   Chief Delphi > Other > Chit-Chat
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 31-08-2007, 01:09
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: Sloppy code (rant)

PHP Code:
// Or when programmers write like entire programs on a single line...
if (isset($display_page) && $display_page != NULL || !(thisFunction() && is_numeric($another_variable)) { echo "<html><head><title>Meeting: ".$meeting."</title></head><body><h1>".$meeting."<p>Time: " date("H:i:s l, j F, Y"strtotime($date.' '.$time)) . "</p><p>Meeting agenda:".str_replace("\"","&quot;",str_replace("'","'",strip_tags(nl2br($_POST['agenda']),'<p><a><b><i><h1><h2><pre><ul><li><br>')))."</p></body></html>"; } else { echo "This is not an HTML page"$display_page++; } // I cringe after writing random code that bad... 
EDIT:
Code:
// Or when
     if (....) {
the indenting;
                    is not uniform;
     } else if (
     the brackets &&
           parenthesis
 )
{              follow no;
       sort of discernible;
   logic;  
                                 or rational thought;
     is_if->they_are_testing();
                     the lenient w h  i   te s  p a    c   i n g rules;
  of           the           compiler;
}
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.

Last edited by artdutra04 : 31-08-2007 at 01:15.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems integrating CMUCAM code and IFI Default Code Windward Programming 2 06-02-2007 16:48
2006 pneumatics rules - my rant Jared Russell Pneumatics 3 06-02-2006 02:22
problems using gyro/adc code with camera default code tanstaafl Programming 7 22-01-2006 23:09
[moderated]: 2005s big issues - post solutions (and a little rant on the side) Daniel Brim General Forum 1 30-03-2005 21:36
Rant!! MarkF Chit-Chat 4 26-02-2003 17:45


All times are GMT -5. The time now is 04:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi