Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
drek
on July 8, 2012
|
parent
|
context
|
favorite
| on:
goomwwm: Get out of my way, Window Manager
Looks cool, but what's up with the source being just one 4k line C file?
jrockway
on July 8, 2012
|
next
[–]
It's all going to end up in the same executable anyway!
r4pha
on July 8, 2012
|
prev
|
next
[–]
dwm is a really nice tiling window manager and is even smaller:
https://github.com/sr/dwm/blob/master/dwm.c
to3m
on July 8, 2012
|
prev
|
next
[–]
Some people like it that way!
Also, it's 3,727 lines.
buro9
on July 8, 2012
|
prev
[–]
It isn't:
https://github.com/seanpringle/goomwwm/blob/master/goomwwm.c
drek
on July 8, 2012
|
parent
[–]
Umm yeah that's a 4k line C file?
davidgomes
on July 8, 2012
|
root
|
parent
[–]
What matters is size, not lines. You can just inline everything and it'll be like 3 lines of code.
tikhonj
on July 8, 2012
|
root
|
parent
[–]
It's a question of readability and code organization, not sheer size.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: