News for hackers. Stuff that matters.
Re:Show HN: A static site generator that prettifies the outp... by cantSpellSober on Wednesday March 27, 2024 @08:48AM (#39838347)
Yep, I know images are big, fonts are evil and what gzip is.

Instead of "why not?" the author could sell the "why" there.

Re:Show HN: A static site generator that prettifies the outp... by djbusby on Wednesday March 27, 2024 @10:40AM (#39839820)
Soon as I saw the title I thought their "why" was: so it looks good when I view source.
Re:Show HN: A static site generator that prettifies the outp... by cantSpellSober on Wednesday March 27, 2024 @11:27AM (#39840550)
"why" in the repo, not the HN title
Re:Show HN: A static site generator that prettifies the outp... by dinkleberg on Wednesday March 27, 2024 @09:00AM (#39838476)
Not everything in life needs to be optimized.
Re:Show HN: A static site generator that prettifies the outp... by pfarrell on Wednesday March 27, 2024 @10:14AM (#39839412)
And not every optimization is worth the effort.
Re:Show HN: A static site generator that prettifies the outp... by cantSpellSober on Wednesday March 27, 2024 @10:26AM (#39839595)
In this case effort was required to remove the optimization.
Re:Show HN: A static site generator that prettifies the outp... by cantSpellSober on Wednesday March 27, 2024 @10:27AM (#39839614)
Nope! We weren't talking about "everything in life" but instead HTML in statically-generated websites.
Re:Show HN: A static site generator that prettifies the outp... by jkestner on Wednesday March 27, 2024 @12:31PM (#39841341)
I'd say, it's to optimize for source readability. That's something many of us relied on to learn HTML, and we need to keep that path open.