Live data from Hacker News

Ask HN: Beautiful Code

news.ycombinator.com

1–5 of 5 posts

Ask HN: Beautiful Code

#1
Architects, for example, can name their favorite structures and likely discuss them at length. Can software engineers do the same?

Provide examples your favorite pieces of code throughout history, any language.

Code can be aesthetic in many ways, I don’t intend to limit responses to any particular metric. Whatever floats your boat. Bonus points for explaining what you like about it.

Re: Ask HN: Beautiful Code

#4
I once wrote a web service that I deployed and then never had to maintain. I still have not discovered any bugs in it, and it has not needed any new features. It's still running now and has thousands of users a day.

That code is beautiful because I never have to look at it or tinker with it.

(For those wondering about security, it is deployed in containers that are destroyed and rebuilt from patched images on a daily basis. It does not use any web-hosted libraries.)