Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

At least in that case you can attribute it to well-intentioned stupidity. Here's my favourite short example you must instead attribute to malice: [1] a closed-form implementation of fibs(n). Follow along with the comments!

1. https://gist.github.com/eb02e9546102594e8bf7



That's really a fun example. It took me a while to even find the definition of f after having been distracted by all the comment clutter. Point taken.


The actual algorithm is rather nice, despite the reader-hostile presentation...




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: