CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [terrykhatri531] Trying to convert a php script into perl: Edit Log



Laurent_R
Veteran / Moderator

Aug 26, 2014, 9:53 AM


Views: 2919
Re: [terrykhatri531] Trying to convert a php script into perl

This is another proof that indenting correctly your code is not an option, it is absolutely essential. I have seen so many times bugs due to poor indentation that I would simply not hire someone showing me code not properly indented, because this is a sign of sloppy habits (don't take it as anything personal against you, I realize that you are a beginner, but, really, take now the good habit of properly indenting conditions, loops, functions, etc., you'll save tremendous amounts of time). I am not talking about indentation style (there are several available styles), but about being really consistent in the way of indenting.

And if you come across some poorly indented code (written by someone else, of course), then use a code prettiffier to get it straight even before further looking at it (let alonce chaznging it).


(This post was edited by Laurent_R on Aug 26, 2014, 9:54 AM)


Edit Log:
Post edited by Laurent_R (Veteran) on Aug 26, 2014, 9:54 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives