Perl Weekly
Issue #564 - 2022-05-16 - Issues with OOP?
latest | archive | edited by Mohammad Sajid Anwar
|
Hi there,
I am a big fan OOP and can't wait to see Modern Object in Perl, Corinna, to be part of core Perl. Last update I had was in early January by Curtis. You can checkout the details here.
If you are new to Corinna then I would recommend you checkout this post by Curtis. Those who don't know, Curtis is leading the team working on Corinna.
Talking about OOP, I came across another post by none other than Curtis himself sharing the common issues with OO code. This should be taught to anyone starting OO in any language and not just Perl, in my humble opinion. Having read it few times already from start to end in one go, I keep going back to it to keep myself reminded about it all the time. You would definitely want to bookmark it for future reference.
Few weeks ago, I shared post Why is Object-Oriented Programming Bad? by Curtis. My favourite line in the post, "I think there’s a good case to be made that OOP is not nearly as useful as it’s claimed.". Mind you, this is coming from Curtis.
Enough of OO, lets talk about Exceptions in Perl, I would like to share the blog post by Curtis (once again), where he points out the common issue in Perl. It reminded me about my recent post sharing the new try/catch block in Perl v5.34.
Last but not the least, please find this gem by Curtis talking about testing database operations with a fresh instance of SQLite everytime. I wonder, if this can be shared as CPAN module. Just thinking out loud, I know.
Enjoy the rest of the newsletter.
Mohammad Sajid Anwar
|
|
|
Articles
|
by Tom Wyant (WYANT)
Nice introduction to Errno with apt example to get the point across.
|
|
|
by Renee Baecker (RENEEB)
I always wish for finally block and it seems we are getting it soon. Thank you for sharing the good news.
|
|
Discussion
|
|
CPAN
|
by Flavio Poletti (POLETTIX)
It is something that I didn't know before. How can I miss it? Thank you for keeping the daily blog alive.
|
|
|
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: "Scalable Vector Graphics (SVG)" and "Line of Best Fit". If you are new to the weekly challenge, 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 "Prime Palindrome" and "Happy Numbers" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.
|
|
|
|
by Arne Sommer
Finding the number of steps to get to the Happy Numbers is nice hack. Thanks for your contributions as always.
|
|
by Colin Crain
Background of the task Happy Numbers is really cool, something I wish I knew before. I can't thank you enough for your contributions.
|
|
by Dave Jacoby (JACOBY)
Nice attempt to get one-liner in Perl. Very impressive, keep it up great work.
|
|
|
by Flavio Poletti (POLETTIX)
Cool one-liner in Perl using home grown subroutines makes it attractive. Well done. Thanks for sharing.
|
|
|
|
by Jaldhar H. Vyas
Cool one-liner in Raku for Palindrome Prime is great example showing the power of Raku. Keep it up great work.
|
|
by James Smith
James golf solution is worth checking out. The bonus optimized and cache solutions not to missed. Thanks for sharing.
|
|
by Laurent Rosenfeld
Raku at its best but Perl is also not far behind. Thanks for your contributions.
|
|
by Luca Ferrari
Luca came up with yet another Raku magical solutions. Like always we got bonus with PostgreSQL solution too. Thank you for everything.
|
|
by W Luis Mochan
Luis consistent one-liner in Perl is the highlight every week. Thank you for sharing the knowledge.
|
|
by Peter Campbell Smith
Breaking task into simple and easy steps makes it lots of fun. Amazing quality to have, thanks for sharing your knowledge.
|
|
by Roger Bell West (FIREDRAKE)
Rust is pick of the language for blog this week. I must admit, it is very impressive. Thanks for your contributions as always.
|
|
by Ryan Thompson
Cool observation about Palindrone Primes. So organised blog, not to be missed. Keep it up great work.
|
|
by Ryan Thompson
Ryan shared the secret $_ * $_ is better than $_ ** 2, something I never looked at closely. Keep it up great work.
|
|
Rakudo
|
|
Weekly collections
|
|
The corner of Gabor
A couple of entries sneaked in by Gabor.
|
|
|
Events
|
Wednesday, May 25, 2022; 06:00 PM Eastern Time (US and Canada)
|
|
|
Working with first responders, educators, manufacturers, and engineers, our client is the leading provider of award-winning intelligent SaaS solutions. They’re looking for a Perl developer with Catalyst and DBIx::Class. Open to candidates within similar US time zones.
|
|
We’ve got an intriguing role for a Lead DevOps Engineer who cares about great music. Our client knows all about how you listen to music: as an independent global music business, they work with artists, labels, and distributors to release and sell music on their digital platform. Perl experience would be helpful, and knowledge of Linux, configuration management tooling like Ansible or Puppet, and e
|
|
Our client is at the pinnacle of the premium native advertising game for corporate, tech, financial services, and lifestyle technology. This role is for a Senior Developer who is equally comfortable with Perl AND Python.
|
|
As Chief Software Architect for an international company providing online trading services, you’ll work closely with the Chief Technology Officer. With a strong understanding of the full stack of software development and cloud technologies, you’ll mentor engineering teams and provide guidance in solving technical issues.
|
|
A global leader in machine intelligence matching job seekers with their perfect career: our client’s goal is human level parsing. They’re on the hunt for an NLP Engineer 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.
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|