Perl Weekly
Issue #531 - 2021-09-27 - Legacy code
latest | archive | edited by Gabor Szabo
|
Hi there
I like working on legacy code whether it is Perl, Python or some other language, because it is code that is already very valuable to the organization that uses it. It is great to help the maintainers understand the code better and to give them confidence in making changes to the code.
There are a number of language specific tools that can help you while dealing with legacy code. For example Perl Critic which is mentioned in at least two posts this edition. There are more generic things, like setting up a good CI system which is mentioned by Gugod.
The ideal situation is when both management and the engineers really want the change. They still probably need some external help from someone who has experience in similar situations and who has already seen systems where the engineers have no fear in making changes. It is a totally different world than what many people experience in organizations.
Enjoy your fearless week!
Gabor Szabo
|
|
|
Announcements
|
|
Articles
|
|
by Kang-min Liu
Perl::Critic::TooMuchCode is a set of policy add-ons that check for dead or redundant code.
|
|
|
by Mark Gardner
The perlcritic tool is often your first defence against awkward, hard to read, error-prone, or unconventional constructs in your code.
|
|
|
|
by Sinan Unur (NANIS)
An interesting discussion on mixing up file-system and operating-system features and making changes to core modules.
|
|
|
|
|
|
Environments
|
|
CPAN
|
by Kang-min Liu
Saving the already zipped up CPAN distribution as an artifact and then trying to install it using one of the cpan clients in your CI pipeline
|
|
Grants
|
|
|
The Weekly Challenge
The Weekly Challenge by Mohammad Anwar will help you step out of your comfort-zone. You can even win prize money of $50 Amazon voucher by participating in the weekly challenge. We pick one winner at the end of the month from among all of the contributors during the month. The monthly prize is kindly sponsored by Peter Sergeant of PerlCareers.
|
by Mohammad Sajid Anwar (MANWAR)
Welcome to a new week with a couple of fun tasks "Mirror Dates" and "Hash Join". If you are new to the weekly challenge then why not join us and have fun every week. For more information, please read the FAQ.
|
|
|
by Mohammad Sajid Anwar (MANWAR)
Enjoy a quick recap of last week's contributions by Team PWC dealing with the "Consecutive Arrays" and "Find Pairs" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.
|
|
|
by Colin Crain
Perl Solutions Review by Colin Crain.
|
|
by Abigail
Abigail is back with his one-liner in Perl. Awesome.
|
|
by Abigail
Abigail once again showing Regex power, Really cool solution.
|
|
by Arne Sommer
Arne sharing Raku hacks as always but this time we have Perl solutions too. Thanks for sharing.
|
|
by Cheok-Yin Fung
Cheok-Yin shared a bonus solution in Julia as well as Perl. Well done and keep it up.
|
|
by Colin Crain
Colin is back with his great blog after the break. We all missed you. Thanks for your contributions.
|
|
|
by Flavio Poletti (POLETTIX)
Cool use of hashes to solve the task in both Perl and Raku. Keep it up great work.
|
|
|
by Flavio Poletti (POLETTIX)
Flavio used a recursive function to solve the task. Implementation is really simple and easy to follow.
|
|
|
by James Smith
Beautiful solution and cool use of map. However, not easy to follow but laid out nicely.
|
|
by Luca Ferrari
Luca shared a cool Raku trick as always. Thanks for sharing.
|
|
by Laurent Rosenfeld
Just one solution this week, but very simple and easy to follow.
|
|
by W Luis Mochan
Luis shared simple and easy to follow solutions. Keep up the great work.
|
|
|
by Simon Green
Simon used regex power to solve the task this week. Thanks for sharing.
|
|
Weekly collections
|
|
|
As one of the most popular open-source ticketing systems on the planet, this team knows what it takes to attract organizations of all sizes. With a diverse user base that includes academic institutions, government agencies, and security teams, their software is free to download, deploy, and modify. Looking for a Perl developer with Mason, Moose, and Mojolicious.
|
|
Perl programmers, lean in — this is the opportunity for you if your happy place is at home in your fuzzy bunny slippers. The role is 100% remote friendly for those located in the UK, so kick back and enjoy your commute-free existence. If you’re a crack-hand with Catalyst, a Mojolicious master, or a distinguished Dancer, they want you.
|
|
Our client is on the hunt for an NLP Engineer that has strong Perl and Python and whose passion for NLP is matched only by their interest in Machine Intelligence and their ability to drive quality improvements, measurement standards, and error analysis processes for the NLP framework.
|
|
Our client is a multinational fundraising group that works with thousands of charities to provide cloud-based management tools, a dedicated social fundraising platform, and a secure channel for charities to receive funds. In addition to having a strong Perl background, must also have automated payment experience.
|
|
Our client is an international financial company with offices around the world. With a global presence and the kind of growth that would make a beanstalk blush, they’re looking to expand their team. If you’re a Perl programmer with a side interest in online trading, you’ll be a natural in this role.
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|