A bit too late. 20 years ago this would be great. (I started 12 years ago, used it for couple of hobby projects.)
I learend it in the 90s, and was working on a large Perl codebase 2005 and a couple of years forward. And 20 years, it still started to feel dated, and 15 years ago it was just so out dated it hurt. So, starting to learn Perl 20 years ago would not have been great :) However, the things making Perl horrible, is pretty much threre in Python also with the addition of significant whitespace... so technically, going from Python to Perl might actually be a step in the right direction.... Now, if you excuse me, I will hide behinde this huge rock for a while to let the incoming projectiles settle.
some people on IRC
Well there’s your problem! (just kidding)
Honestly though I don’t know why you would pick Perl unless you want to learn an obscure language that is both painful to read and write. May $deity have mercy on your soul.
I won't say "better" but Perl 6 is ... interesting. It's not clear what version you're using.
I suggest Haskell as your next language instead of Perl, since it will change how you think. https://learnyouahaskell.com is a good place to start.
When people say perl, they normally mean Perl 5. Perl 6 is now called Raku and is considered a different language.
I've been brainwashed into finding Elixir interesting due to how it handles parallelism and good it's supposed to be for live debugging. (According to ~3 talks I found on youtube)
Ah, write only code ;) I was an enjoyer pre python.
I worked with Perl for years, and I don't recommend it for a beginner. There are just too many idiosyncrasies that belong specifically to the language that you'd be better off with Python for learning the basics.
I'm also not really sold on that book, which from the code samples looks really old. I'd recommend two books: Modern Perl and Perl Best Practices.
Edit: I'd also recommend working in Go but potentially the way i/o intersects with interfaces makes it a bit more challenging.
I'm fascinated by Raku myself.
Programming
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]