Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Pimblor
Sep 13, 2003
bob
Grimey Drawer
I wrote a perl script professionally the other day cause I couldn't be arsed to figure out what I wanted to do in bash and I've been bitten by boxes that have python2 but not 3 and vice versa. I did this to avoid ruby and puppet modules and stuck it in an after install step in an RPM instead.

Adbot
ADBOT LOVES YOU

Pimblor
Sep 13, 2003
bob
Grimey Drawer

duck monster posted:

Oh Perl stopped being a major player a long long time ago, a combination of people finding other languages (ruby for a while, then python) a bit more ergonomic to maintain without having to learn too much about the language itself. Its a powerful multifaceted toolbox of a language. But frankly most older Perl is a loving nightmare to maintain unless you live breathe and dream in regex.

Rubys strength is its weakness. Its really great for defining little DSLs in and creating highly magic based libraries. The problem with magic though, is when it goes wrong, its loving impossible to debug. And Rubys killer app, Rails, was the king of that. If you made a NATO standard regulation web app, that wasnt too dependent on its awful ORM, it was phenomenal. But as soon as poo poo gets weird in your requirements and you have to color outside the lines, Rails kinda falls apart conceptually and suddenly those neat natural-languageish lines turn into a metaprogramming clusterfuck

Productiveity wise though it'll clean the clock out of any language you could throw at it. Honestly, the hipsters abandoned Ruby for NodeJS because most of them are loving stupid. Its no wonder Python took off. NodeJS creates unmaintainable messes, and Rails just isnt cool anymore. Python was innevitable (yes I know its probably the oldest language of all of them. The hipsters dont know that)

Ruby at least still lives on in godawful puppet code, so we have that at least.

Pimblor
Sep 13, 2003
bob
Grimey Drawer
It turns out our super cool patching dashboard for thousands of machines world wide is broken because a 20 year old perl script was using Net::Telnet to puppetstring ssh connections and there are over 200k loc in it.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply