Perl code can be difficult to read. But it doesn't have to be. If you write the code safely and deliberately, Perl can be read very smoothly.

Not Befunge. I love this language. Where else can you modify the program (not only the flow, but the source code!) as you go along? Where else are instructions single characters? Where else does the instruction pointer move in any direction you choose? Where else can you write quines that look like ,1+:b`#@_:0g ? (Or g,1+:b`#@_:0, or 0g,1+:b`#@_:, or :0g,1+:b`#@_ ?)

I think many people here would love this language. Befunge is a stack-based language, which reads instructions one character at a time, and in any given direction -- in fact, you can read in two integers from the user, and use that as your IP delta: &&X . How wicked is that?

And what about the "Hello, world!" program? Gotta have that. 0"!dlrow ,olleH">:#,_@ .

Sorry if this seems too esoteric, and totally out-of-place in a Perl community, but I think this language is something that many Perlers here would definitely enjoy. Hey, I wrote a credit card validator in it!

japhy -- Perl and Regex Hacker

  • Comment on (OT) Sure, Perl might look ugly, but...

Replies are listed 'Best First'.
Re (tilly) 1: (OT) Sure, Perl might look ugly, but...
by tilly (Archbishop) on Mar 31, 2001 at 08:27 UTC
    If I ever had any doubts, I don't any longer.

    You are totally and absolutely nuts. Bonkers. On the other side of sanity and receeding fast.

    But don't change. I like the thought that no matter how odd I feel there is someone who I know is stranger!

    :-P

Re: (OT) Sure, Perl might look ugly, but...
by osfameron (Hermit) on Apr 02, 2001 at 11:42 UTC
    If I remember, one of the entries for the 4th Obfuscated Perl contest was a befunge interpreter written in Perl... (but I can't check because it looks like the site is unavailable at either itknowledge.com or tpj.com: does anyone know if this is cache'd/archived anywhere?)

    And a quick search on the internet finds a Befunge interpreter in Perl...

    I got seriously obsessed with this Befunge and other similar languages (stack based, 2-dimensional languages, possibly with multiple Instruction Pointers - e.g. threads).
    To the point of having to throw away pages of notes because I couldn't get to sleep at night for thinking about call stacks and how to implement Object Orientation in my prototype language...

    Cheerio!
    Osfameron