User: Password:
|
|
Subscribe / Log in / New account

Reports of procmail's death are not terribly exaggerated

Reports of procmail's death are not terribly exaggerated

Posted Nov 24, 2010 22:54 UTC (Wed) by sspans (subscriber, #43276)
Parent article: Reports of procmail's death are not terribly exaggerated

Have you looked at the procmail source?
It makes my eyes bleed. Easily the most unreadable source
still in common use.


(Log in to post comments)

Reports of procmail's death are not terribly exaggerated

Posted Nov 25, 2010 0:45 UTC (Thu) by paravoid (subscriber, #32869) [Link]

Have you ever looked at vixie's cron?

(to be fair, it's not bad code per se, it's just plain weird)

Reports of procmail's death are not terribly exaggerated

Posted Nov 27, 2010 14:29 UTC (Sat) by HelloWorld (guest, #56129) [Link]

As Ward Cunningham once put it, "Clean code is when you look at a routine and it's pretty much what you expected.". Therefore, weird code _is_ bad code.

Reports of procmail's death are not terribly exaggerated

Posted Nov 25, 2010 13:42 UTC (Thu) by nix (subscriber, #2304) [Link]

But it has ASCII art with actual direct effects on the program! (Literally: change it, the program's behaviour changes.) How can you not love that?

(but yes, the source code is *ew*. I suspect the first act of any new maintainer must be to run it through indent.)

Reports of procmail's death are not terribly exaggerated

Posted Nov 29, 2010 17:39 UTC (Mon) by jeremiah (subscriber, #1221) [Link]

I was really hoping for a picture of an envelope or something, but a nice bar graph will work I guess. Couldn't agree more on the indent call though. It would only be a very small start though. :) My favorite is the header that includeds the following in procmail.c "Seems to be perfect."

Reports of procmail's death are not terribly exaggerated

Posted Nov 29, 2010 20:07 UTC (Mon) by nix (subscriber, #2304) [Link]

Now I'd have expected a comment like *that* to lead to instant karmic justice and a security record far worse than sendmail's. But it seems the author was incredibly fortunate :)

Reports of procmail's death are not terribly exaggerated

Posted Dec 3, 2010 11:31 UTC (Fri) by DonDiego (guest, #24141) [Link]

Run it through uncrustify instead, works a million times better :)


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