Hacker News new | past | comments | ask | show | jobs | submit login

Is there an opposite website to The Daily WTF - a collection of short, elegant and clever code?



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.


There is a book called Beautiful Code by O'Rielly http://oreilly.com/catalog/9780596510046


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/...




Applications are open for YC Winter 2022

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: