Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling


by BooK (Curate)
on Aug 24, 2000 at 16:24 UTC ( #29401=obfuscated: print w/replies, xml ) Need Help??

This code has the side effect of incrementing $A. It also increments /A on its PostScript side, though /A is defined to avoid PostScript undefined error.

/${1}def/#{def}def/;{/A}def/++{add}def/A 0 def ; $ A ++ # % Did you know my printer counted?
There are more than fifty ways to obfuscate $A++ documented at Have a look!

Replies are listed 'Best First'.
RE: $A++
by stefp (Vicar) on Sep 13, 2000 at 00:54 UTC
    My turn to show off. Following the bilingual trend set by BooK I did a Perl/Lisp and a Perl/Forth $A++.

    It is important not to be the man of only one language. :)


    ; q (setq A (if (boundp 'A) (+ 1 A) 1) ) ; $A++;
    ( # ) VARIABLE A 0 A ! : $A++; A @ 1+ A ! ; : :-) ; : ); :-) ; ); $A++;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://29401]
Approved by root
[marto]: good morning all
[Corion]: Hi marto!
[Corion]: I hope you had a good weekend!
[Discipulus]: good morning again monks!
[choroba]: Good morning!
[Corion]: I have a rough plan to release an ImageNet classifier in Perl (well, using pretrained data, but still a nice toy)
Discipulus is going mad with the new win10 client.. tried mv Cortana /dev/null but no succes
[Corion]: Ouch - another pretrained set is available, using images from IMDB and Wikipedia. So I expect interesting results for non-PR images where people are pictured that are not made up

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2017-09-25 08:27 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (277 votes). Check out past polls.