News for hackers. Stuff that matters.
Re:Divine By Zero by Revisor on Tuesday June 07, 2011 @11:40AM (#2629546)
Is there an opposite website to The Daily WTF - a collection of short, elegant and clever code?
Re:Divine By Zero by epenn on Tuesday June 07, 2011 @11:57AM (#2629635)
http://rosettacode.org is a wiki with concise algorithms/solutions/snippets in as many languages as you can think of. The algorithms listed range from mundane to clever to anywhere in between. If you haven't already been there it's definitely worth a look.
Re:Divine By Zero by zitterbewegung on Tuesday June 07, 2011 @01:22PM (#2630019)
There is a book called Beautiful Code by O'Rielly http://oreilly.com/catalog/9780596510046
Re:Divine By Zero by Revisor on Wednesday June 08, 2011 @02:15AM (#2632206)
Thank you for your answers. To add something myself, the book Programming Pearls contains exactly this - short, elegant solutions, plus some extra food for thought and exercises.

http://www.amazon.com/Programming-Pearls-2nd-Jon-Bentley/dp/...