in reply to Olly's nick printed a tad bit more complicated

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
  • Comment on Re: Olly's nick printed a tad bit more complicated

Replies are listed 'Best First'.
Re: Re: Olly's nick printed a tad bit more complicated
by myocom (Deacon) on May 19, 2001 at 22:36 UTC

    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.

Re: Re: Olly's nick printed a tad bit more complicated
by olly (Scribe) on May 20, 2001 at 00:52 UTC
    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.
        Beatnik if you say so,

        but as you being my mentor it is you who should be nailed to a pole!
        besides complexity and dificulty are relative

        Hope to see you soon on irc, my big program is progressing nicely

        Imagination is more important then knowledge -Einstein-