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

Looks cool, but what's up with the source being just one 4k line C file?


It's all going to end up in the same executable anyway!


dwm is a really nice tiling window manager and is even smaller: https://github.com/sr/dwm/blob/master/dwm.c


Some people like it that way!

Also, it's 3,727 lines.



Umm yeah that's a 4k line C file?


What matters is size, not lines. You can just inline everything and it'll be like 3 lines of code.


It's a question of readability and code organization, not sheer size.




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

Search: