More on Geeky Proposals

Mark Pilgrim, author of Dive Into Python (Python’s analogue of the “Camel Book”, IMHO), tells me that my prediction from this entry
has been fulfilled. Yesterday, he was in an IRC channel where various
Python programmers were discussing the errors in the Python Marriage
Proposal (not to be confused with Python Enhancement Proposals).


Summer at Iridesce Sent pointed me to this proposal that is also working Perl code:
#!/usr/bin/perl -w
use strict;

my$f= $[;my
$ch=0;sub l{length}
sub r{join"", reverse split
("",$_[$[])}sub ss{substr($_[0]
,$_[1],$_[2])}sub be{$_=$_[0];p
(ss($_,$f,1));$f+=l()/2;$f%=l
();$f++if$ch%2;$ch++}my$q=r
("\ntfgpfdfal,thg?bngbj".
"naxfcixz");$_=$q; $q=~
tr/f[a-z]/ [l-za-k]
/;my@ever=1..&l
;my$mine=$q
;sub p{
print
@_;
}

be $mine for @ever

Awww.


I remind you that this is working Python if you’ve made the appropriate definitions:
from Russia import bride
Joey deVilla

View Comments

Recent Posts

Louis Pasteur is spinning in his grave right now

That TikTok wellness influencer is so close to getting it.

8 hours ago

Let the ritual humilation begin!

There’s a good chance you’ve seen this photo by now: Pictured seated from left to…

3 days ago

Sunday picdump for November 17, 2024

Here’s a collection of interesting memes, pictures, an cartoons floating around the internet that I…

4 days ago

U.S. post-election post #7: Don’t worry, it’ll trickle down…

Tap to see the source. This is yesterday’s daily New Yorker cartoon, created by Brendan…

1 week ago

U.S. post-election post #6: One key election is still undecided…

C’mon, let it not be Asians this time. Last time was pretty bad. Here’s the…

1 week ago