Hacker News new | ask | show | jobs
by sigmaprimus 2640 days ago
Less bloated software is always a good idea, I am a bit concerned with the idea that smaller source equals better programs. It seems to me that by sacrificing source size he has lost some readability, his example may be <1K but it's at the cost of increased difficulty debugging, porting and modding. IMHO removing formatting just to reduce source size and or line count is as bad as loading a huge library only to use one of said library's functions.
1 comments

I agree. Code is ultimately for human consumption, so optimize for human readability and good organization.

That is of course very different to bloat. Bringing in hundreds of dependencies, tracking, analytics and using engineering patterns that are over-complex for the use case are probably habits we coule get better at in the industry.