LWN.net Logo

Why obfuscate it?

Why obfuscate it?

Posted Dec 16, 2004 2:24 UTC (Thu) by amk (subscriber, #19)
Parent article: Ed Felten's tinyp2p

What's the point of obfuscating the code in order to compress the program into a minimal number of lines? It makes the program look cryptic and hard-to-follow, but I think the point would be better made if the program was straightforwardly coded. Then the logic would be apparent, and more people would understand that P2P applications are not difficult to write.


(Log in to post comments)

Why obfuscate it?

Posted Dec 16, 2004 8:35 UTC (Thu) by micampe (guest, #4384) [Link]

Exactly. When I found this link I tought I'd used the code to learn how a P2P application works, but I quickly refrained when I actually looked at it.

Guess I'll have to ask Ed for a clean version.

Why obfuscate it?

Posted Dec 16, 2004 8:51 UTC (Thu) by micampe (guest, #4384) [Link]

Ok, replying to myself as I just found MoleSter, which is written in Perl, and just that would be enugh to make me refrain again, but the code is thoroughly documented :)

Why obfuscate it?

Posted Dec 16, 2004 22:17 UTC (Thu) by edgewood (subscriber, #1123) [Link]

It's sometimes hard for me to imagine, but outside of programmers and computer geeks, just about any code is "cryptic". So expanding it won't significantly expand the audience that understands it, while reducing the impact of "just X lines".

Why obfuscate it?

Posted Dec 17, 2004 0:34 UTC (Fri) by allesfresser (subscriber, #216) [Link]

Well, the obfuscated version is easier to print on a T-shirt, for one thing... :-) (nice square form)

...I still have a couple "RSA munitions" shirts floating around. Maybe this could be made into something similar.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds