News for hackers. Stuff that matters.
Re:Browsers are pretty good at loading pages by arethuza on Sunday July 21, 2019 @03:53PM (#20493296)
HN uses the "old fashioned" approach of rendering everything server side and every link forces a page reload and I wouldn't describe the experience as "jarring and discontinuous".

I'd rather have a fast full page reload than looking at a spinner while complex client side stuff does its stuff.

[NB I really like React and when good SPAs are very very good - but a lot aren't].

Re:Browsers are pretty good at loading pages by Izkata on Sunday July 21, 2019 @05:30PM (#20493793)
On that note, it means HN supports for free one feature too-often forgotten about in single-page apps: middle-click, or, right-click-open-in-new-tab.
Re:Browsers are pretty good at loading pages by SilasX on Sunday July 21, 2019 @03:58PM (#20493315)
Well, the up/downvote transition is client side, but otherwise, yes.
Re:Browsers are pretty good at loading pages by eitland on Sunday July 21, 2019 @04:01PM (#20493328)
AFAIK it works without js as well :-)
Re:Browsers are pretty good at loading pages by arethuza on Sunday July 21, 2019 @04:04PM (#20493338)
I occasionally suggest to people who complain on HN about the bad old days of table based layouts to do a "View Source" ;-)
Re:Browsers are pretty good at loading pages by TeMPOraL on Sunday July 21, 2019 @05:35PM (#20493816)
The "bad old days of table based layouts" weren't really that bad, as evidenced by every generation of web developers reinventing tables in weird new ways. From "semantic" div soups through flexbox to CSS grid, it seems to me that most of layouting work is just building tables without using the <table> tag ;).
Re:Browsers are pretty good at loading pages by iCarrot on Monday July 22, 2019 @03:50AM (#20496038)
There were real arguments against layout tables back in the day (though the situation may have changed): https://stackoverflow.com/questions/83073/why-not-use-tables...

One thing for sure: layout tables are undeniably powerful, that's why people want to recreate them but without the penalties that come with real <table>.

Re:Browsers are pretty good at loading pages by TeMPOraL on Monday July 22, 2019 @04:05AM (#20496112)
Yeah, they were. Though arguably not in the link you posted - those are mostly clichés, as correctly pointed out by the original poster. Especially the "separation of content from layout" and CSS Zen Garden were obviously[0] nonsense, and you can observe how SPAs of today go against both.

Tables had performance problems when they got large and content got potentially dynamic. That I learned only many, many years later - I never did sites big enough to run into such problems then.

The accepted answer in this post is cringeworthy. So much rationalization these days, makes you wonder what we're rationalizing today.

--

[0] - I admit I bought the CSS Zen Garden for a while; it took me some time and experience to realize that, really, no one does that in practice, and it requires ridiculous amounts of either forethought or afterhacks to do it.

Re:Browsers are pretty good at loading pages by IanCal on Sunday July 21, 2019 @04:12PM (#20493380)
There's definitely parts that are awkward though. I can't see the context of your comment in my reply as it's on a completely different page for example. HN has never really been a great UI though, it used to be a massive set of nested tables that didn't render properly on a mobile, it has some tiny fonts and hard to click buttons, and has unliked comments just less accessible by lowering contrast.

It's good enough to read the content and the content is the vital part, but I wouldn't point to HN for a good user experience (beyond the content and lack of dark patterns).

Re:Browsers are pretty good at loading pages by nothrabannosir on Sunday July 21, 2019 @08:10PM (#20494532)
Yet even this crucible of anti design is more usable than many a designer blessed SPA. Thus is the power of server side rendering.
Re:Browsers are pretty good at loading pages by IanCal on Monday July 22, 2019 @03:40PM (#20501553)
It's better than many server side rendered pages, the things that work have nothing to do with where the rendering happens.
Re:Browsers are pretty good at loading pages by boblebricoleur on Monday July 22, 2019 @05:41AM (#20496508)
I feel hn experience is awesome. Everything is accessible with one or two clicks. I never wait for something to load, never pest against it because of some obscure behavior. It's simple and efficient. The content is perfectly served. No frills. Even on mobile I don't really feel the buttons so hard to click, even if they are tiny. Maybe we don't use it the same way.
Re:Browsers are pretty good at loading pages by enraged_camel on Sunday July 21, 2019 @08:08PM (#20494519)
HN is not what I would consider an “app” though. The content is mostly static, with a few interactive bits (upvote/downvote etc.) sprinkled in.