3 ms·
While I get how the first line of your comment could come across dismissive in isolation (and I guess that was the entire comment before the Edit - so I underst
by lucideer 4y ago
While I get how the first line of your comment could come across dismissive in isolation (and I guess that was the entire comment before the Edit - so I understand the downvotes in that context), there's a common reply in sibling comments here that bothers me much much more:
> "bloated Javascript"
> "pointless javascript"
> "javascript-free UIs"
I don't know how much people have worked in UI and with front-end code (HTML/CSS/JS) but... the commenter criticised the UI. Javascript is not a UI language. Being a front-end language it's used a lot in close conjunction with UI components to control interactivity and data flow, but it has no responsibility for their appearance. In terms of aesthetic visual design, the amount of Javascript you have behind it isn't really relevant.
I do see a lot of people mentioning performance (which is a great feature of Sourcehut's), but is also a separate topic.
(fwiw I also love Javascriptless interfaces, not arguing that)
- Arnavion 4y agoThe kind of whizzbangs associated with "beautiful UI" often involves copious amounts of JavaScript hijacking scroll events, running code for every pixel of a mouse move, and so on. Something as simple as "header in the middle of the page" can involve an absolutely-positioned header moved around on scroll events. That's why people were mentioning JS. If you've worked on frontend UI then you can't tell me you don't know what I'm talking about. (And yes, I know it can be done with just CSS instead of moving an absolutely-positioned header with JS in scroll events. Tell that to the websites that do it, not to me.)
- lucideer 4y agoI know what you're talking about but I've also never seen anyone (neither on HN nor anywhere outside a caricature design agency boardroom) criticise the lack of whizzbangs. Noone was talking about whizzbangs here, least of all the gp.