Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Olly's nick printed a tad bit more complicated

by olly (Scribe)
on May 19, 2001 at 14:12 UTC ( [id://81702]=obfuscated: print w/replies, xml ) Need Help??

I was on IRC and then we came up with the following statement with which to print olly.
print"@{[substr(reverse(q(hello)),0,3)]}y";

Imagination is more important then knowledge -Einstein-

Replies are listed 'Best First'.
Re: Olly's nick printed a tad bit more complicated
by srawls (Friar) on May 19, 2001 at 18:43 UTC
    I don't see how this is obfuscated, the only thing that one might consider obcuscated is that little @{ ... }, but anyone who has read programming perl knows about that. I'm not trying to critisize you now, I would never do that to a fellow monk, I'm just wondering how it's obfuscated.

    The 15 year old, freshman programmer,
    Stephen Rawls

      Strictly speaking (not to be confused with strictly...), obfuscated code is any code that is more complicated than it needs to be. Even print reverse(reverse('foo')); is obfuscated.

      Thanks to the Obfuscated <insert your favorite language here> contest, though, obfuscation has become an art form. So while Olly's code would never win the Obfuscated Perl contest, it's still obfuscated.

      Well I thought the it is more complicated then it needed to be, obfuscated code doesn't have to be hard to understand does it?

      Imagination is more important then knowledge -Einstein-

        Merriam-Webster lists it as:
        Main Entry: ob·fus·cate
        Pronunciation: 'äb-f&-"skAt; äb-'f&s-"kAt, &b-
        Function: transitive verb
        Inflected Form(s): -cat·ed; -cat·ing
        Etymology: Late Latin obfuscatus, past participle of obfuscare, from Latin
        ob- in the way + fuscus dark brown -- more at OB-, DUSK
        Date: 1577
        1 a : DARKEN b : to make obscure
        2 : CONFUSE
        - ob·fus·ca·tion /"äb-(")f&s-'kA-sh&n/ noun
        - ob·fus·ca·to·ry /äb-'f&s-k&-"tOr-E, &b-, -"tor-/
        adjective 
        Which basically means it should be hard to understand :)

        Greetz
        Beatnik
        ... Quidquid perl dictum sit, altum viditur.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: obfuscated [id://81702]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2026-04-10 17:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.