7 ms·
That's a fun read. I once wrote an entire CMS in Perl. I still wake up, screaming, sometimes. [UPDATE] It appears as if my flippant remark caused upset. I am
by ChrisMarshallNY 5y ago
That's a fun read.
I once wrote an entire CMS in Perl.
I still wake up, screaming, sometimes.
[UPDATE] It appears as if my flippant remark caused upset. I am sincerely sorry that this was the case. No offense was meant.
@peteretep, you have my sincere apology. It was a flippant remark. At the time I wrote it (mid-1990s), Perl was the best way to write portable server-side code. I took the time to learn it, and got fairly good at it.
Since then, I have found my muse in other languages, but I sincerely did not want to give offense. I doubt that deleting the comment would help.
- peteretep 5y agoI’m sorry the code you produced made you so unhappy EDIT: verb tense changed
- ChrisMarshallNY 5y agoAny particular reason for the insult? I don't recall saying anything bad to you.
- danielheath 5y agoJust a wild guess, but perhaps they read your hyperbole literally?
- ChrisMarshallNY 5y agoI doubt it. I looked them up (because I care about people, and don't actually want to hurt them), and it seems that Perl is a big part of their repertoire. Perl means a lot to them, and my flippant comment was probably taken as "calling their baby ugly." So, @peteretep, you have my sincere apology. It was a flippant remark. At the time I wrote it (mid-1990s), Perl was the best way to write portable CGI code. I took the time to learn it, and got fairly good at it. Since then, I have found my muse in other languages, but I sincerely did not want to give offense. I doubt that deleting the comment would help.
- peteretep 5y agoYou said you wrote some code, and the memory of it makes you still wake up screaming. What’s the alleged insult, exactly?
- GavinMcG 5y agoThe deliberate misinterpretation is just a style of humor.
- chrisseaton 5y agoWhy do people post nasty things like this?
- h2odragon 5y agoSome of us are veterans of the time when Perl was evangelized as the cure for everything, and the only way to sensibly think about unix programming. That led to the usual over-reaction from Perl critics and it became usual to make sharper comments about it even when you'd never used Perl. Which all goes to show people clot up into tribes over any silly thing; and that its better not to wrap your identity too much around your tools.
- mnw21cam 5y ago? What is nasty about that?
- Macha 5y agoAlmost certainly has been edited? Now I wonder what the original post was.
- deleted 5y ago[deleted]
- ChrisMarshallNY 5y agoNah. Wasn't edited, but it was definitely a slap at me, personally. I touched a nerve, and was reprimanded. It was not a "fun" response, and it made me realize that I had caused offense. Teh Internets tubes are a difficult landscape to navigate. It's almost impossible to write stuff without causing some offense. Some folks take that as an admonition to never write anything fun. Others (like me) learn to apologize. I'm fairly good at apologizing, as I need to do it so often. Each time, I learn to ameliorate my approach. But I'll never stop posting in a humorous way.
- yarcob 5y agoI don't see any need to apologise for what's clearly meant as a lighthearted joke. Just don't complain when someone comes up with a clever comeback :)
- LandR 5y agoDon't take attacks on a tool you like as an attack on you. This is rarely ever the intention, and I'm 100% certain wasn't the intention of the poster here. The tools you use shouldn't be your identity. Chill.
- blacktriangle 5y agoCan we get a bot that automatically posts what you just said in every thread about k8s and Rust?
- peteretep 5y agoOne person’s tool is another person’s livelihood, the corner stone of their professional experience, and the basis by which other people will (apparently) judge their technical expertise
- ChrisMarshallNY 5y agoExactly. I feel your pain. I write software for Apple systems. It’s modern, high-quality code, but it’s for Apple. There are people that have never met me, and have never had any prior interactions with me, that hate (and that’s not hyperbole) me; simply because of that one fact. I’m constantly reading stuff about Apple, and people that use/like/support/develop for Apple, that is intentionally insulting and demeaning. I should know better, and wish you nothing but the best. Perl is a language easy to learn, and difficult to master. You have my sincere respect.
- hereforphone 5y agoPerl scripts look like piles of vomit to me
- caffeine 5y agoWas this edited? I don’t see why anyone is reading this comment as rude or offensive … Seems fine. He’s basically ribbing GP by purposefully misinterpreting the comment, so that what gave GP nightmares was his CMS rather than Perl itself.
- peteretep 5y agoYes, sorry, I edited it to change it from present tense to past tense, as that was more in line with my meaning
- vultour 5y agoIt's 2021, stop writing legacy code that others will have to maintain.
- jamesbfb 5y agoThis made me laugh more than it should have.
- colejohnson66 5y agoFun fact: cPanel[0] is still written in Perl [0]: https://www.cpanel.com/ https://www.cpanel.com/
- rurban 5y agoBooking.com also
- alfiedotwtf 5y agotbh, I'm still sad that Python won against Perl during the heyday. Perl was and is still a fun language.
- jamal-kumar 5y agoPerl is cool but it's got a hell of a lot of cryptic operators for its syntax. They make sense after you learn them but for beginners it's clear why python gets picked up way easier. They're not having to think in symbols and stuff, it just looks more like a list of instructions rather than a mess of dollar signs and 'my' (my what? just not retrospectively intuitive...) That said I like perl (And lately, awk/sed) a lot more for things that python is just SLOW at. Plus for systems-level scripts, considering that most linux/BSD installs you encounter on anything at all will have perl installed, let's say you encounter a router or something like that you need to work on somehow internally -- Do you even have room for another interpreter on there? Better be at least initiated in using perl if you want to hack on that. I've also recently found it really useful for rescuing an ancient database file format from the 1980s which was super handy considering other tools choked on it.
- ChrisMarshallNY 5y ago> Plus for systems-level scripts I still tend to use it for that.
- jamal-kumar 5y ago
- Demiurge 5y agoI once wrote a vital satellite maneuver orchestration software, which had to parse various files and call models. Simultaneously the scariest and proudest moment in my career, but the alternative was Fortran or C.
- ahazred8ta 5y agoFWIW, the originator of "Duff's Device" (an infamously counterintuitive C construct) claimed that "I feel a combination of pride and revulsion". O:-)
- BoxOfRain 5y agoI came across Duff's Device as a student and to this day it's one of my favourite pieces of code. It's practically a piece of art!
- rl1987 5y agoWhy didn't you write it in C?
- Demiurge 5y agoAll the usual reasons, such as cpan, terseness, interpreted nature, quick turnaround, etc
- thesuperbigfrog 5y agoMaster Foo and the Ten Thousand Lines Master Foo once said to a visiting programmer: “There is more Unix-nature in one line of [Perl] script than there is in ten thousand lines of C.” The programmer, who was very proud of his mastery of C, said: “How can this be? C is the language in which the very kernel of Unix is implemented!” Master Foo replied: “That is so. Nevertheless, there is more Unix-nature in one line of [Perl] script than there is in ten thousand lines of C.” The programmer grew distressed. “But through the C language we experience the enlightenment of the Patriarch Ritchie! We become as one with the operating system and the machine, reaping matchless performance!” Master Foo replied: “All that you say is true. But there is still more Unix-nature in one line of [Perl] script than there is in ten thousand lines of C.” The programmer scoffed at Master Foo and rose to depart. But Master Foo nodded to his student Nubi, who wrote a line of [Perl] script on a nearby whiteboard, and said: “Master programmer, consider this [Perl one-liner]. Implemented in pure C, would it not span ten thousand lines?” The programmer muttered through his beard, contemplating what Nubi had written. Finally he agreed that it was so. “And how many hours would you require to implement and debug that C program?” asked Nubi. “Many,” admitted the visiting programmer. “But only a fool would spend the time to do that when so many more worthy tasks await him.” “And who better understands the Unix-nature?” Master Foo asked. “Is it he who writes the ten thousand lines, or he who, perceiving the emptiness of the task, gains merit by not coding?” Upon hearing this, the programmer was enlightened. Adapted from: http://www.catb.org/~esr/writings/unix-koans/ten-thousand.html http://www.catb.org/~esr/writings/unix-koans/ten-thousand.ht...
- mfontani 5y agoFun fact: The Register's sites and CMS is still written in Perl, and still kicking ;)
- mnw21cam 5y agoLet's face it. At least it wasn't the sendmail config file.
- dleslie 5y agoI once worked on a two million line Perl app that provided forums and image sharing for feature phones. Remember when flip phones had a browser that defaulted to a forum of sorts? That.
- iso1210 5y agoI recently had to work out why some nodejs monstrosity wasn't working. Somewhere in the 68,746 files that made up the program there was a problem. I rewrote it in a couple of hours in 393 lines of perl and 6 OS installed (so stable for the life of the OS) libraries.
- colordrops 5y agoThe dreaded words, "your job is to write a CMS"
- stirfish 5y agoI used perl years ago for all sorts of text processing and glue. I remember struggling with lists of lists. I just checked the docs[1] again to see if I've grown at all as an engineer in the last 15 years. >Now you should be very careful that the outer bracket type is a round one, that is, a parenthesis. That's because you're assigning to an @array, so you need parentheses. If you wanted there not to be an @AoA, but rather just a reference to it, you could do something more like... Still pretty tricky! [1] https://perldoc.perl.org/perllol#NAME https://perldoc.perl.org/perllol#NAME