Friday, September 26, 2008

The Lovely Perl way of braces { }

The Lovely Perl way of braces { }

In Perl programming language, it is always mandatory that even a single statement in a conditional block be encompassed within { } unlike C# and other programming languages where only multiple statements are mandated for the curly brace blocks.

But I would say, the Perl way is really excellent we should follow this strictly for other languages also. This makes our code look cleaner and neater. We know where the control starts and stops and would enable a cleaner debugging too.

No comments:

[Imported from Blogdrive]Online Virus Scanners

Online Virus Scanners Virus Scanners are no longer difficult to install, tedious to configure. There are easy to use Online Virus Scanne...