Live data from Hacker News

Ask HN: What are some examples of beautiful software?

news.ycombinator.com

51–60 of 262 posts

Re: Ask HN: What are some examples of beautiful software?

#51

Turbo Pascal for DOS. Simple, compact, quick, well documented, reasonably easy to learn, and not too expensive. I think that bloat is the enemy of beauty, so we're probably likely to find beauty in software that does a few things well.

Related:

- Things That Turbo Pascal is Smaller Than: http://prog21.dadgum.com/116.html

- A Personal History of Compilation Speed, Part 2: http://prog21.dadgum.com/47.html

Re: Ask HN: What are some examples of beautiful software?

#53

I found this a while ago on hackernews: https://github.com/Hypsurus/skod Amazing source.

Why not use enum?

https://github.com/Hypsurus/skod/blob/master/src/skod.c#L290

Also, at least some functions should be static.

_cla means "command line arguments", not obvious.

Useless comments: https://github.com/Hypsurus/skod/blob/master/src/skod.c#L273

Re: Ask HN: What are some examples of beautiful software?

#54

I found this a while ago on hackernews: https://github.com/Hypsurus/skod Amazing source.

Why not use enum? https://github.com/Hypsurus/skod/blob/master/src/skod.c#L290 Also, at least some functions should be static. _cla means "command line arguments", not obvious. Useless comments: https://github.com/Hypsurus/skod/blob/master/src/skod.c#L273

Not my software, but if you have looked at other FTP clients this is an amazing thing to read though.

Re: Ask HN: What are some examples of beautiful software?

#55
"Beautiful Code: Leading Programmers Explain How They Think" is a book that attempts to to tackle this topic. "The authors think aloud as they work through their project's architecture, the tradeoffs made in its construction, and when it was important to break rules." The book has been sitting in my to-read stack forever. You might want to check it out.

http://shop.oreilly.com/product/9780596510046.do

Re: Ask HN: What are some examples of beautiful software?

#56
For me, learning about functional programming and 'feeling my way' into avoiding excess local vars, paying careful attention to side effects. To be clear: I'm talking about functional style in imperative languages, not about making the jump to functional languages (which are still less widely used -- maybe because they're not 'necessary enough').

I'm not saying my code is particularly readable to anyone but me, but functional style is something that 'clicked' when I fell into it.

Re: Ask HN: What are some examples of beautiful software?

#57

Earlier quoted context omitted.

Why not use enum? https://github.com/Hypsurus/skod/blob/master/src/skod.c#L290 Also, at least some functions should be static. _cla means "command line arguments", not obvious. Useless comments: https://github.com/Hypsurus/skod/blob/master/src/skod.c#L273

Not my software, but if you have looked at other FTP clients this is an amazing thing to read though.

Other clients code being bad does not make this code easy to read or beautiful.

All those MAX_STR and strcat's make me wonder about security: https://github.com/Hypsurus/skod/blob/master/src/ftp.c#L14

Amazing read: https://github.com/Hypsurus/skod/blob/master/src/ftp.c#L22

No enum again: https://github.com/Hypsurus/skod/blob/master/src/utils.c#L14

Re: Ask HN: What are some examples of beautiful software?

#58

Turbo Pascal for DOS. Simple, compact, quick, well documented, reasonably easy to learn, and not too expensive. I think that bloat is the enemy of beauty, so we're probably likely to find beauty in software that does a few things well.

Related: - Things That Turbo Pascal is Smaller Than: http://prog21.dadgum.com/116.html - A Personal History of Compilation Speed, Part 2: http://prog21.dadgum.com/47.html

Turbo Pascal 5 got me into programming. I wish people would build smaller things again.

Re: Ask HN: What are some examples of beautiful software?

#59
post #22
post #13

Knuth's TeX. Set the standards for documentation, reliability, portability, typography, extensibility and scripting, is well into its fourth decade and is free software.

And after those four decades, I still can't figure out how to get my figures to appear where I want them.

Get some help http://tex.stackexchange.com waiting for four decades to get your figures to appear where you want them is too long...

Re: Ask HN: What are some examples of beautiful software?

#60
SolveSpace - parametric CAD program. Single executable, well done UI, small code base, nice constraint solver, originally by a single person. It's the only OSS CAD I've found useful (QCad was second, then FreeCAD). There are also a few active developers now with major improvements on the way.
Post reply on HN