I think I am 50% done finding a quadrafecta : a simultaneous hit piece against #Perl #clang #fortran & #rstats.
This one only manages to trash talk #perl and #rstats, so it has some ways to go.
https://stefanoborini.com/why-r-is-the-new-perl/
PS 1Gotta admit that the point about the object systems in R is somewhat spot on
PS 2 #php gets a dishonorable mention
PS3 I will continue to find ways to continue using all 4 of the aforementioned languages, as they are all performant and deliver in complementary ways.
Why R is the new Perl
I have the unfortunate experience of having to use R. I say this after more than a year of fighting against its deeply flawed design, tools, and documentation.Fly, Crash, Raise Exception
Bill Ricker
in reply to Christos Argyropoulos MD, PhD • • •Christos Argyropoulos MD, PhD
in reply to Bill Ricker • • •Bill Ricker
in reply to Christos Argyropoulos MD, PhD • • •«Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp» which is commonly understood to apply to programs in other languages implemented upon C and F as well (which of course includes Perl and R).
Bill Ricker
in reply to Bill Ricker • • •Bill Ricker
in reply to Bill Ricker • • •Christos Argyropoulos MD, PhD
in reply to Bill Ricker • • •Bill Ricker
in reply to Christos Argyropoulos MD, PhD • • •Bill Ricker
in reply to Bill Ricker • • •Christos Argyropoulos MD, PhD
in reply to Bill Ricker • • •Bill Ricker
in reply to Christos Argyropoulos MD, PhD • • •BobOHara
in reply to Christos Argyropoulos MD, PhD • • •Mark Gardner
in reply to BobOHara • • •Some examples of Larry taking the piss:
“I’m reminded of the day my daughter came in, looked over my shoulder at some #Perl 4 code, and said, 'What is that, swearing?”
"Perl is worse than #Python because people wanted it worse.”
"Guilty as charged. Perl is happily ugly, and happily derivative.”
"The camel has evolved to be relatively self-sufficient. On the other hand, the camel has not evolved to smell good. Neither has Perl.”
Mark Gardner reshared this.
Christos Argyropoulos MD, PhD
in reply to Mark Gardner • • •Mark Gardner
in reply to Christos Argyropoulos MD, PhD • • •By "happily derivative," Larry meant that #Perl intentionally resembles other languages and tools.
In context, he was responding in 1992 (Perl's current version was 4.035) to @bduncan whinging, “It's sorta like #sed, but not. It's sorta like #awk, but not.” https://groups.google.com/g/comp.unix.shell/c/J8fGo0oGUCk/m/LhF4pSEaOMwJ
Octal chmod status
groups.google.comEdwardsmoon
in reply to Mark Gardner • • •I think it was a deliberate choice to make it easier for people to transition to Perl.
People were using sed, awk, and other tools until Perl came along and could do many jobs all by itself.
I think Randall Schwartz got in trouble on Usenet for popping in with a Perl solution to problems when someone was expecting sed, awk, or something in shell instead.
Mark Gardner
in reply to Edwardsmoon • • •Yes, #Perl deliberately borrows familiar things from #Unix culture, including #C, #shell, #sed, and #awk. The goal isn’t necessarily to replace them, but to remove friction when combining their capabilities.
@randalschwartz's Perl solutions to #Usenet Unix questions usually demonstrated such reductions.
Christos Argyropoulos MD, PhD
in reply to Edwardsmoon • • •Mark Gardner
in reply to Christos Argyropoulos MD, PhD • • •Christos Argyropoulos MD, PhD
in reply to Mark Gardner • • •Mark Gardner
in reply to Christos Argyropoulos MD, PhD • • •Christos Argyropoulos MD, PhD
in reply to Mark Gardner • • •Christos Argyropoulos MD, PhD
in reply to Christos Argyropoulos MD, PhD • • •These are nice examples of what is being taught nowadays to newbies (and python!)
https://data-skills.github.io/unix-and-bash/03-bash-scripts/index.html
https://practicalcomputing.org/
Intro to UNIX: Shell Scripting, Writing Pipelines, and Parallelizing Tasks
data-skills.github.ioMark Gardner
in reply to Christos Argyropoulos MD, PhD • • •That could have been published twenty years ago with zero changes.
Note the final paragraphs on @GNU_Parallel, a tool written *in* #Perl.
AN/CRM-114
in reply to Mark Gardner • • •Christos Argyropoulos MD, PhD
in reply to AN/CRM-114 • • •AN/CRM-114
in reply to Christos Argyropoulos MD, PhD • • •Christos Argyropoulos MD, PhD
in reply to AN/CRM-114 • • •Mark Gardner
in reply to Christos Argyropoulos MD, PhD • • •And ecosystems. #PHP said, “Here’s an #Apache httpd module so you sysadmins can let your users run web apps.” #Perl said, “Here’s ours, it lets your users go nuts with the entire httpd API including changing your configs at runtime. Encapsulation is left as an exercise for you.”
Which looked like a safer bet?
Edwardsmoon
in reply to Mark Gardner • • •@bduncan
The php module was just to run PHP code faster in Apache.
Mod_perl was a better solution than writing your custom module in C.
Saw a few really interesting solutions implemented in mod_perl.
Perl never making a successful transition to a Perl 6 and Redhat shipping a broken beta mod_perl module in their distribution (for years) put the kibosh to people discovering the amazing things they could have done with mod_perl.
Mark Gardner
in reply to Edwardsmoon • • •Christos Argyropoulos MD, PhD
in reply to Mark Gardner • • •Negative12DollarBill
in reply to Mark Gardner • • •Mark Gardner
in reply to Negative12DollarBill • • •$/ - Perldoc Browser
perldoc.perl.orgNegative12DollarBill
in reply to Mark Gardner • • •Mark Gardner
in reply to Negative12DollarBill • • •I think we can actually credit @gnat or Tom Christiansen for that quip: https://github.com/Perl/perl5/commit/3c10ad8e31f7d77e71c048b1746912f41cb540f0#diff-bb127a770020549fbf3c749635a1fb356fffc1c0d7ba76c59dd6ef510435ff3b
It used to be in https://perldoc.perl.org/perlfaq6
*.pod changes based on the FAQ · Perl/perl5@3c10ad8
GitHubJosep Pueyo-Ros :rstats:
in reply to Christos Argyropoulos MD, PhD • • •Christos Argyropoulos MD, PhD
in reply to Josep Pueyo-Ros :rstats: • • •Josep Pueyo-Ros :rstats:
in reply to Christos Argyropoulos MD, PhD • • •Manuel Landesfeind
in reply to Josep Pueyo-Ros :rstats: • • •Josep Pueyo-Ros :rstats:
in reply to Manuel Landesfeind • • •Christos Argyropoulos MD, PhD
in reply to Josep Pueyo-Ros :rstats: • • •No problem! But I am looking for a quadrafecta. The fellow #perl enthusiast @BRicker has come up with a general template on how to trash many languages at once in a rigorous way, but someone has got to write the piece https://fosstodon.org/@BRicker/111729508056113560
Bill Ricker
2024-01-10 03:23:15
Bill Ricker
in reply to Christos Argyropoulos MD, PhD • • •And while I can critique K&R with hindsight (optimistic buffer management has a lot to answer for to this former INFOSEC researcher), I'm not going to publicly attack several of my favorite things (queue Trapp Family harmony) even for lols.
(I haven't committed Fortran in a LONG time, but it has a cherished niche in my memory&career arc. )
Bill Ricker
in reply to Bill Ricker • • •Been a decade since I did anything half-serious with R, but it was decent.
https://ema.arrl.org/field_day/history/analysis2.html )
Field Day Scoring Analysis
ema.arrl.org