Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help cleaning up code
#7
You should also get into the habit of tabbing your code.
That would mean adding a tab to every line that appears inside certain braces.

i.e.
Code:
<?php
class my_tabs {
     function hey_look_im_tabbed() {
          echo "two tabs for two braces.  ;)";
     }
} ?>
Reply


Messages In This Thread
Help cleaning up code - by Gonzo - 12-16-2009, 11:49 AM
RE: Help cleaning up code - by Gaijin - 12-16-2009, 12:20 PM
RE: Help cleaning up code - by Gonzo - 12-16-2009, 12:30 PM
RE: Help cleaning up code - by Gaijin - 12-16-2009, 12:49 PM
RE: Help cleaning up code - by Gonzo - 12-16-2009, 12:56 PM
RE: Help cleaning up code - by Omniscient - 12-16-2009, 02:13 PM
RE: Help cleaning up code - by wat - 12-21-2009, 02:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)