Web Design and Web Development Forum

  1. #1
    • Acceptu is offline
    • Just a "Little" Kid
    Join Date
    Aug 2005
    Posts
    101
    Rep Power
    7
  2. Acceptu is on a distinguished road
  3. Tidy

    Is there a program that can auto tidy my coding?
    Reply With Quote Reply With Quote
  4. #2
    unclekyky's Avatar
    Join Date
    Sep 2004
    Age
    22
    Posts
    5,184
    Rep Power
    13
  5. unclekyky is on a distinguished road
  6. Re: Tidy

    Its called TidyItUpYourself. Awesome program, and i love it!
    Spore-Game - The Ultimate Spore Fan-Site
    Abnegating Avunculicide Since 1601 | YC Wiki - "Quidquid latine dictum sit, altum sonatur."
    Reply With Quote Reply With Quote
  7. #3
    Join Date
    Jun 2005
    Location
    California, USA
    Age
    22
    Posts
    2,821
    Rep Power
    0
  8. Mau is on a distinguished road
  9. Re: Tidy

    Here: http://us2.php.net/manual/en/ref.tidy.php

    However, you shouldn't really use this because a) it promotes laziness and b) it takes time and processing power to tidy the code. In my opinion, writing valid code isn't that hard...
    Reply With Quote Reply With Quote
  10. #4
    hot_cakes's Avatar
    Join Date
    Aug 2005
    Location
    Bristol, UK
    Age
    30
    Posts
    2,913
    Rep Power
    9
  11. hot_cakes will become famous soon enough
  12. Re: Tidy

    jEdit, one of my favorite editors (see sig) has numerous plugins that allow the tidying of various types of code.

    However, if you don't know how to 'tidy' the code yourself, how can you check that the tool has done a good job?

    The best way of keeping code tidy is to pick a coding style and a good bunch of conventions at the start and stick to them religiously throughout your project.

    Edd
    Visit me at: mr-edd.co.uk
    Languages: Python | Lua
    Compilers: MinGW | MSVC++9
    Libraries: Boost | gtkmm
    Reference: Dinkumware | a.c.l.l.c-c++ FAQ
    Reply With Quote Reply With Quote
  13. #5
    Join Date
    Sep 2005
    Location
    Perth, Western Australia
    Posts
    417
    Rep Power
    7
  14. _jameshales is on a distinguished road
  15. Re: Tidy

    The whole idea of having tidy code is so that you can read and therefore understand your code better when you are writing and testing it. It can help you to find errors in your code, see a logical layout of your code and if you get into the habit of writing tidy code yourself, you'll probably never come across stupid syntax errors ever again. Say goodbye to those times when you spend days and days looking for a stupid syntax error.

    I think that you should only using these code tidying programs when you are dealing with established pieces of code. For example, if you want to try some code from the net, but all the indents have disappeared making it hard to read - that's when you use the tidier. Not on your own code when you are writing it.

    _jameshales
    Last edited by _jameshales; 12-30-2005 at 05:47 PM.
    Death to the non-believers!
    Reply With Quote Reply With Quote

Similar Threads

  1. Here is the reason you should tidy your room often!
    By c130 in forum Chit Chat and Hangout
    Replies: 14
    Last Post: 04-17-2005, 02:52 PM