http://qs321.pair.com?node_id=85377


in reply to Re: Re: Can anyone figure this out?
in thread Can anyone figure this out?

for if you can't, what right to you have to condescend the code?

First of all, I wasn't condescening your code, I was providing suggestions. Also, you seem to be rather proud of that code, but it is rather easy to figure out. You do that little substitution, replacing each digit, but the replacement doesn't matter, s/// returns the numbers of times it matched, so when you match \d, it returns the number of digits in the string, not very obfuscated. The only thing obfuscated was the little diversion, trying to make people think your code had something to do with the values with which you replaced the digits in the string.

The 15 year old, freshman programmer,
Stephen Rawls

  • Comment on Re: Re: Re: Can anyone figure this out?

Replies are listed 'Best First'.
Re: Re: Re: Re: Can anyone figure this out?
by tachyon (Chancellor) on Jun 05, 2001 at 15:29 UTC

    You tell him. The code as posted does not even compile (you need to remove the } not the { damn typos! :-) and as you point out is simplicity itself.

    tachyon