←back to thread

Overengineered Anchor Links

(thirty-five.com)
392 points matser | 1 comments | | HN request time: 0s | 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 #
philsnow ◴[] No.43572805[source]
Frontend is completely inaccessible to me.

From time to time I dip my toe in and try new things, but as productive as I can get with Astro, the illusion vanishes as soon as I have to understand any of the plumbing.

Fortunately, I can still party like it’s 1999 just fine: just yesterday, I worked on a janky brutalist web app (the same way I did back in 2002, cribbing from the O’Reilly “Dynamic HTML: the Definite Reference”) and “deployed” it with rsync to pico.sh. It’s practically unstyled and I didn’t even use jquery, but it works.

replies(1): >>43572874 #
moron4hire ◴[] No.43572874[source]
The thing is, backend stuff is largely solved. You need to store data? Here you go, here's a database. You need to process a bunch of strings for similarity? We got an algorithm for that.

But frontend stuff is messy. How do you tell a person what they're trying to do is wrong and they need to change their inputs? Oh, maybe we can highlight the input or we can pop a modal message. Haha, psyche! Users ignore that shit! Now what you gonna do, buddy?

Frontend is a mess because all you people are a mess.

replies(8): >>43572914 #>>43572962 #>>43573790 #>>43573796 #>>43575628 #>>43576348 #>>43576704 #>>43579723 #
busymom0 ◴[] No.43573790{3}[source]
I believe it's because on the frontend, everyone wants to look different and have a unique identity. Whereas on the backend, everyone needs to be the same to follow standard best practices.
replies(2): >>43575964 #>>43576526 #
1. anon7000 ◴[] No.43576526{4}[source]
Well, part of that is a business need (your app/website/whatever is an extension of your brand, which is a very important part of making money). The other part is there are actually many valid ways to style a button, or have some kind of hover animation, or some kind of navigation bar.

Sure, there are some guidelines and best practices, but there are just infinite ways to display information to people. You can't just look at a technical specification for how well X/Y/Z performs because design is subjective and humans are all different. Whereas none of your users will complain if you use Redis (or similar) for caching something on the backend.