313
submitted 6 months ago* (last edited 6 months ago) by hellfire103@lemmy.ca to c/mildlyinfuriating@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] victorz@lemmy.world 62 points 6 months ago

People in this thread who aren't web devs: "web devs are just lazy"

Web devs: Alright buddy boy, you try making a web site these days with the required complexity with only HTML and CSS. πŸ˜† All you'd get is static content and maybe some forms. Any kind of interactivity goes out the door.

Non web devs: "nah bruh this site is considered broken for the mere fact that it uses JavaScript at all"

[-] A_norny_mousse@feddit.org 19 points 6 months ago

It's not about using js or not, it's about failing gracefully. An empty page instead of a simple written article is not acceptable.

[-] victorz@lemmy.world 5 points 6 months ago

An empty page isn't great, I would indeed agree with that.

[-] Frostbeard@lemmy.world 15 points 6 months ago

Stop, can only get so erect. Give me that please than the bullshit I have to wade trough today to find information. When is the store open. E-mailadress/phone. Like fuck if I want to engage

[-] victorz@lemmy.world 3 points 6 months ago

πŸ˜† Fβ€”ck, I hear you loud and clear on that one. But that's a different problem altogether, organizing information.

People suck at that. I don't think they ever even use their own site or have it tested on anyone before shipping. Sometimes it's absolutely impossible to find information about something, like even what a product even is or does. So stupid.

[-] Hansae@lemmy.dbzer0.com 5 points 6 months ago

You can say fuck on the internet

[-] victorz@lemmy.world 7 points 6 months ago

I also have the right to self-censor myself for effect. πŸ‘πŸ‘

[-] owsei@programming.dev 11 points 6 months ago

That site is literally just static content. Yes JS is needed for interactivity, but there's none here

[-] victorz@lemmy.world 2 points 6 months ago

If you have static content, then sure, serve up some SSR HTML. But pages with even static content usually have some form of interactivity, like searching (suggestions/auto-complete), etc. πŸ€·β€β™‚οΈ

[-] Limonene@lemmy.world 3 points 6 months ago

Search is easier to implement without Javascript than with.

<form method="GET" action="/search">
<input name="q">
<input type=submit>
</form>
[-] victorz@lemmy.world 5 points 6 months ago

Does that little snippet include suggestions, like I mentioned? Of course it's easier with less functionality.

[-] humorlessrepost@lemmy.world 5 points 6 months ago* (last edited 6 months ago)

Back in my day, we’d take that fully-functional form and do progressive enhancement to add that functionality on top with js. You know, back when we (or the people paying us) gave a fuck.

[-] victorz@lemmy.world 1 points 6 months ago

Ah yes. Progressive enhancement, I remember that. I wonder when and how that morphed into graceful degradation.

[-] Sir_Kevin@lemmy.dbzer0.com 9 points 6 months ago

I would argue that a lot it scripting can and should be done server side.

[-] Cerothen@lemmy.ca 10 points 6 months ago* (last edited 6 months ago)

That would make the website feel ultra slow since a full page load would be needed every time. Something as simple as a slide out menu needs JavaScript and couldn't really be done server side.

When if you said just send the parts of the page that changed, that dynamic content loading would still be JavaScript. Maybe an iframe could get you somewhere but that's a hacky work around and you couldn't interact between different frames

[-] expr@programming.dev 5 points 6 months ago

https://htmx.org/ solves the problem of full page loads. Yes, it's a JavaScript library, but it's a tiny JS library (14k over the wire) that is easily cached. And in most cases, it's the only JavaScript you need. The vast majority of content can be rendered server side.

[-] Cerothen@lemmy.ca 10 points 6 months ago

While fair, now you have to have JavaScript enabled in the page which I think was the point. It was never able having only a little bit. It was that you had to have it enabled

[-] expr@programming.dev 1 points 6 months ago

Yes, it is unfortunate that this functionality is not built-in to HTML/browsers to begin with. The library is effectively a patch for the deficiencies of the original spec. Hopefully it can one day be integrated into HTML proper.

Until then, HTMX can still be used by browsers that block third party scripts, which is where a lot of the nasty stuff comes from anyway. And JS can be whitelisted on certain sites that are known to use it responsibly.

[-] Limonene@lemmy.world 4 points 6 months ago* (last edited 6 months ago)

a slide out menu needs JavaScript

A slide out menu can be done in pure CSS and HTML. Imho, it would look bad regardless.

When if you said just send the parts of the page that changed, that dynamic content loading would still be JavaScript

OP is trying to access a restaurant website that has no interactivity. It has a bunch of static information, a few download links for menu PDFs, a link to a different domain to place an order online, and an iframe (to a different domain) for making a table reservation.

The web dev using javascript on that page is lazy, yet also creating way more work for themself.

[-] unwarlikeExtortion@lemmy.ml 3 points 6 months ago* (last edited 6 months ago)

JS is just a janky hotfix.

As it was, HTML was all sites had. When these were called "ugly", CSS was invented for style and presentation stuff. When the need for advanced interactivity (not doable on Internet speeds of 20-30 years ago), someone just said "fuck it, do whatever you want" and added scripting to browsers.

The real solution came in the form of HTML5. You no longer needed, and I can't stress this enough, Flash to play a video in-browser. For other things as well.

Well, HTML5 is over 15 years old by now. And maybe the time has come to bring in new functionality into either HTML, CSS or a new, third component of web sites (maybe even JS itself?)

Stuff like menus. There's no need for then to be limited by the half-assed workaround known as CSS pseudoclasses or for every website to have its own JS implementation.

Stuff like basic math stuff. HTML has had forms since forever. Letting it do some more, like counting down, accessing its equivalent of the Date and Math classes, and tallying up a shopping cart on a webshop seems like a better fix than a bunch of frameworks.

Just make a standardized "framework" built directly into the browser - it'd speed up development, lower complexity, reduce bloat and increase performance. And that's just the stuff off the top of my head.

[-] Sir_Kevin@lemmy.dbzer0.com 1 points 6 months ago

Something as simple as a slide out menu needs JavaScript and couldn't really be done server side.

I'm not trying to tell anyone how to design their webpages. I'm also a bit old fashioned. But I stopped making animated gimmicks many years ago. When someone is viewing such things on a small screen, in landscape mode, it's going to be a shit user experience at best. That's just my 2 cents from personal experience.

I'm sure there are examples of where js is necessary. It certainly has it's place. I just feel like it's over used. Now if you're at the mercy of someone else that demands x y and z, then I guess you gotta do what you gotta do.

[-] victorz@lemmy.world 2 points 6 months ago

If you want to zoom into a graph plot, you want each wheel scroll tick to be sent to the server to generate a new image and a full page reload?

How would you even detect the mouse wheel scroll?

All interactivity goes out the door.

[-] BackgrndNoize@lemmy.world 7 points 6 months ago* (last edited 6 months ago)

A lot of this interactivity is complete bullshit, especially on sites that are mostly just for static data like news articles or blog posts, the JS is there for advertisement and analytics and social media, tracking and other bullshit.

The fastest and smoothest websites are usually personal blogs of software engineers, no ads, no social media, no tracking, no pointless comments threads and no gimmicky UI animations, just text and images and if they do add interactive components it's usually done in a good way

[-] humorlessrepost@lemmy.world 5 points 6 months ago* (last edited 6 months ago)

News site dev here. I’ll never build a site for this company that relies on js for anything other than video playback (yay hls patents, and they won’t let me offer mp4 as an alternative because preroll pays our bills, despite everyone feeling entitled to free news with no ads)

[-] _stranger_@lemmy.world 5 points 6 months ago

I'll take an API and a curl call over JavaScript any day of the week.

[-] a_baby_duck@lemmy.world 6 points 6 months ago

If I didn't input it myself with a punch card I refuse to run it.

[-] victorz@lemmy.world 3 points 6 months ago* (last edited 6 months ago)

πŸ˜† that do be what they sound like

[-] _stranger_@lemmy.world 3 points 6 months ago* (last edited 6 months ago)

I unironically use Lynx from my home lab s when I'm ssh'd in snce it's headless. Sometimes at work I miss the simplicity. I used to use Pine for Gmail as well. 😁

[-] mrgoosmoos@lemmy.ca 3 points 6 months ago

it sounds like you're saying there's an easy solution to get websites that don't have shit moving on you nonstop with graphics and non-content frames taking up 60% of the available screen

it's crazy that on a 1440p monitor, I still can't just see all the content I want on one screen. nope, gotta show like 20% of it and scroll for the rest. and even if you zoom out, it will automatically resize to keep proportion, it won't show any of the other 80%

I'm not a web dev. but I am a user, and I know the experience sucks.

if I'm looking at the results of a product search and I see five results at a time because of shitty layout, I just don't buy from that company

[-] victorz@lemmy.world 2 points 6 months ago

I had a bit of trouble following that first paragraph. I don't understand what it is that you say it sounds like I'm saying.

Either way, none of what you wrote I disagree with. I feel the same. Bad design does not elicit trust.

[-] mrgoosmoos@lemmy.ca 3 points 6 months ago

I'm saying your point about static content being all we would get sounds great

[-] victorz@lemmy.world 2 points 6 months ago

lol, no argument here, to be fair πŸ˜„

[-] NigelFrobisher@aussie.zone 2 points 6 months ago

Making a static site is a piece of piss. There are even generators on npm.

load more comments (3 replies)
this post was submitted on 30 Aug 2025
313 points (100.0% liked)

Mildly Infuriating

45037 readers
826 users here now

Home to all things "Mildly Infuriating" Not infuriating, not enraging. Mildly Infuriating. All posts should reflect that. Please post actually infuriating posts to !actually_infuriating@lemmy.world

I want my day mildly ruined, not completely ruined. Please remember to refrain from reposting old content. If you post a post from reddit it is good practice to include a link and credit the OP. I'm not about stealing content!

It's just good to get something in this website for casual viewing whilst refreshing original content is added overtime.


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means: -No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...


7. Content should match the theme of this community.


-Content should be Mildly infuriating. If your post better fits !Actually_Infuriating put it there.

-The Community !actuallyinfuriating has been born so that's where you should post the big stuff.

...


8. Reposting of Reddit content is permitted, try to credit the OC.


-Please consider crediting the OC when reposting content. A name of the user or a link to the original post is sufficient.

...

...


Also check out:

Partnered Communities:

1.Lemmy Review

2.Lemmy Be Wholesome

3.Lemmy Shitpost

4.No Stupid Questions

5.You Should Know

6.Credible Defense


Reach out to LillianVS for inclusion on the sidebar.

All communities included on the sidebar are to be made in compliance with the instance rules.

founded 2 years ago
MODERATORS