Is there a program that can auto tidy my coding?
Is there a program that can auto tidy my coding?
Reply With Quote 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
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 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
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