←back to thread

Overengineered Anchor Links

(thirty-five.com)
392 points matser | 1 comments | | HN request time: 0.329s | source
Show context
LinuxAmbulance ◴[] No.43571959[source]
As a backend person, sometimes I look at what's being done for front end stuff and pull back in ever so slight horror.

It's an excellent article, and the work within is very well done, but there's a part of me that screams "Why would you introduce this much complexity for what should be a simple scroll?" (overcoming technical hurdles to produce the desired end result aside).

replies(15): >>43571970 #>>43572158 #>>43572805 #>>43573073 #>>43573171 #>>43573393 #>>43574527 #>>43574744 #>>43575824 #>>43577195 #>>43577887 #>>43579848 #>>43580668 #>>43584041 #>>43590654 #
1. nine_k ◴[] No.43590654[source]
> what should be a simple scroll

Because the scroll, as you see, is not simple. The complexity of the real-world scenarios outlined in the post force the complexity of the solution. It may feel that "it's simple common sense" kind of thing, but if you ever tried to implement a simple common-sense thing, you know that it only appear simple.

By the same token, some UX person might read about the mechanics of database transactions with two-phase commits, or about MVCC, and ask why so much complexity exists around what should just be a simple write to disk.

"Reality has a surprising amount of detail."