The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

How do you use regular expressions? by mikosullivan2006-11-19 12:55:59
  I tend to write deeply evil perl. by Yohimbe2002-06-05 13:30:55
    I'm proud of this one. by Yohimbe2002-06-05 13:33:22
      Hmm, now and *that's* by IByte2002-06-05 13:38:15
        Same here by DaNutBall2002-06-05 13:40:48
          You wanna see deeply ill? by Yohimbe 2002-06-05 13:48:29
Some of the code in ARS is just freaky.

Mike Lyons/Saucepan wrote some just fuxored up shit.

He wrote some code that turns our subroutine dispatch in the main handler routine into a sort of predicate style expression. Lisp without brackets hell.

You register a subhandler with things like:
register 'reply.cgi' => require_login cachebust \&emit_comment_form;

This is very expressive.
"Register the url reply.cgi to need a log in, cache bust the resulting html and handle the routine in the subroutine named emit_comment_form"

But jeez, nice syntax.
[ Reply ]
            *vomit* by DaNutBall2002-06-05 13:57:38
              Don't you vomit all over the ARS source! by bugarup2002-06-05 14:43:33
                Yikes! There's bits all over the place!!! (n/t) by Tars_Tarkas2002-06-05 14:52:14
                  *grin* for obfusticated coding, that's what... by DaNutBall2002-06-05 15:16:27
            I'm sure some of the other moderators by Naruki2002-06-05 16:02:06
              That would almost be as bad as modding Illiad by nawft2002-06-05 17:04:34
                It'd probably be worse. by Naruki2002-06-05 19:14:41

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)