this post was submitted on 17 Feb 2024
60 points (90.5% liked)

Programming

17398 readers
74 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Kuinox@lemmy.world 18 points 9 months ago (2 children)

This is exactly what the browsers have been doing for decades and why the developer experience with html/css is infuriating.

[–] abbadon420@lemm.ee 9 points 9 months ago

It seems like a decent approach when you're working with an existing tech stack and not some shiny new technology that has every sorted appropriately. At first I was like "just return an empty list of printers and let the user think there might be printers? Are you mad?" But than I was like "Well, that's what I would do in an API as well"

[–] epyon22@programming.dev 1 points 9 months ago (3 children)

Html/css/JavaScript is one of the most highly compatible and prolific stacks to ever exist. I like to say that JavaScript has succeeded where Java was trying to be.

[–] Kuinox@lemmy.world 5 points 9 months ago

They didn't succeeded because they were good, but because they were popular.
Browser devtools are very inferior to java/.net devtools, except the network tab from the browser, only thing the language I gave as example lack.

[–] Lmaydev@programming.dev 4 points 9 months ago

JavaScript, until recently, was literally the only option. It's a nightmare of a language littered with bear traps and pitfalls.