[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH 4/5] httpd_indexcgi.c: Remove new lines in HTML
From:       Emmanuel Deloget <logout () free ! fr>
Date:       2020-08-05 14:37:44
Message-ID: CAKh=nwG1qZBcm4=TAnzd1VKMYMTnytPT9dqMb4R5EjoiEbx4aA () mail ! gmail ! com
[Download RAW message or body]

On Wed, Aug 5, 2020 at 2:40 PM Tim Tassonis <stuff@decentral.ch> wrote:
> On 7/31/20 9:51 PM, Sergey Ponomarev wrote:
> > Yes, it looks worse but you can see the resulting DOM tree instead
> > (elements/inspector). TBH as a web developer I almost never looked into
> > raw source and always watch the DOM tree.
>
> Not that I care terribly about this, but personally the newlines add
> very little in size, but a whole lot in
> readability/grep-ability/script-ability.
>
> The whole point of text formats generally are their readability without
> fancy tools such as web inspector, and process-ability with
> line-oriented tools such as sed/grep/head/tail/..., so removing the
> newlines is clearly a huge step backwards, for very little gain in size.

To add my two cents here, I'm with Tim and Denys here. I would prefer to
not trade readability and scriptability of the generated HTML for a few
bytes.

Of course, you're free to ignore my opinion :)

Best regards,

-- Emmanuel Deloget
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic