Language Selection

English French German Italian Portuguese Spanish

Book Review: Perl Best Practices

Filed under
Software

We all have done it, haven't we? We've looked at source code--either our own or someone else's--and asked that age-old programming question: "What is this code doing?". When code is written in Perl, the aforementioned question probably is uttered more than it needs to be, as Perl--the ever-popular duct tape of the Internet--often is used to produce code that is hard to understand. This problem is exasperated by the Perl community's near obsession with letting programmers work in whatever way suits them. Although the Perl motto, "There's more than one way to do it", often can be a strength, it also can work against large projects and team efforts. This may be especially true if every team member's code is a law-unto-itself when it comes to style, coding standards, layout and idioms used. Typically, if this is the case, you end up with a Perl code base that is unmaintainable.

In tackling this problem head-on, Damian Conway is nothing if not brave. In his latest book, Perl Best Practices, Damian attacks subjects that should be close to the heart of every Perl programmer: coding standards, styles and development practices and behaviors. In 500 pages or so, Conway presents what he believes to be a consistent set of standards and styles for developing maintainable code when using Perl. Almost magically, there are 256 of these guidelines in the book, offering help to Perl programmers of every ability.

Conway's bravery comes from his decision to highlight the problems that programmers can get themselves into when programming in Perl.

Full Article.

More in Tux Machines

Arch Linux 2015.09.01 Is Now Available for Download

The first day of a month is an important day for all Arch Linux users, as a new ISO image is being generated with all the updated packages released during the month that passed. Read more

The Wacom Linux Driver Continues To Be Improved, New Features In Linux 4.3

Jiri Kosina sent in his pull requests for code he maintains within the mainline Linux kernel, with one of the notable subsystems being the HID updates. Most notable to the HID feature updates for Linux 4.3 are yet more Wacom driver improvements, which are a mention for almost every kernel cycle. Wacom highlights for Linux 4.3 include support for the Express Key Remote and various bug-fixes and feature work. Read more

5 Reasons Not To "Not Use Linux"

2000+ people have already watched Tim's video and that is potentially 2000 people that might not use Linux based on invalid arguments. Hopefully a few more people will read this article and therefore redress the balance somewhat. Before I go I wanted to mention that Tim has produced his own counter argument called "5 Reasons To Use Linux". The points in that video state that Linux is multikernel, is open source, has support for many different hardware devices such as the Raspberry PI, has lots of distros (which kind of counters against point 5 in the reasons not to use Linux) and finally it is free. Read more

x86 Systems Will See Some Boot Time Optimizations With Linux 4.3

Ingo Molnar sent in his several Git pull requests today for the code he maintains within the Linux kernel. Of Molnar's pull requests, the x86/boot changes caught my attention. He mentions "more boot time optimizations." Read more