445
top 50 comments
sorted by: hot top controversial new old
[-] Aurenkin@sh.itjust.works 50 points 3 weeks ago

I don't know how to React to this.

[-] fossphi@lemm.ee 22 points 3 weeks ago
[-] grimdeter@lemmy.ml 18 points 3 weeks ago

I think we all just need a different, Angular approach

[-] starman@programming.dev 15 points 3 weeks ago* (last edited 3 weeks ago)
[-] tempest@lemmy.ca 4 points 3 weeks ago

You might say he was very svelte

load more comments (1 replies)
[-] lorty@lemmygrad.ml 53 points 3 weeks ago

Backend developer: "The new functionality is done!" PO: Looks at tests "Seems good, ship it!"

Frontend developer: "The new functionality is done!" PO: Looks at his screen "This spacing could be a little to the right, also I think I didn't really like this text, also it should probably auto-scroll to the top and this button should change colors when I click it and also don't forget to change the error messages I was happy with before and also I think it should......"

[-] ADTJ@feddit.uk 11 points 3 weeks ago

Lol - POs looking at backend tests, as if

[-] flashgnash@lemm.ee 40 points 3 weeks ago

Made the mistake of using react for a mobile app and my god why is it this convoluted, why are the error messages always along the lines of "something went wrong with networking 🤷"

Unfortunately I'm stuck with it now

[-] lowleveldata@programming.dev 17 points 3 weeks ago

react is better than the days when we jquery everything

[-] xthexder@l.sw0.com 8 points 3 weeks ago

Am I the only one left writing pure JS webpages? I swear for the stuff I've done recently, adding React or even jQuery makes things 10x more complicated and bloated. The base JS support browsers have now is actually great. It's not like the old days trying to support every browser back to IE6

load more comments (13 replies)
load more comments (6 replies)
[-] NewDark@hexbear.net 32 points 3 weeks ago

Try writing your backend with browser limitations and see what kind of wild wrappers you make to keep yourself sane.

[-] xmunk@sh.itjust.works 14 points 3 weeks ago

I remember the day of php files outputting html to the browser... it was 95% as functional as the stuff written in react and node today and incredibly simple.

Heck, at my company, I still sneak in old-school HTML files when I can.

load more comments (1 replies)
load more comments (3 replies)
[-] criticon@lemmy.ca 26 points 3 weeks ago
[-] toastal@lemmy.ml 19 points 3 weeks ago

You can write a stateless server. You can’t do stateless front-end since you have to deal with user interaction.

load more comments (27 replies)
[-] Hugh_Jeggs@lemm.ee 16 points 3 weeks ago

I didn't read the community name and wondered who tf thought the back end of a goose requires more attention than the front end

load more comments (1 replies)
[-] Seigest@lemmy.ca 16 points 3 weeks ago

Often me. I make tools/interactions for learning management systems. So the back end is a thid party I have no controll over. Just take the api and make the magic happen.

You need me to save data somewhere but don't want to buy server space? Sure we can cram that into places it's not ment to go within the system. It will slow things down and likly cause issues but it's free.

[-] avidamoeba@lemmy.ca 13 points 3 weeks ago

That goose should be made mandatory in all customer meetings.

[-] NigelFrobisher@aussie.zone 12 points 3 weeks ago* (last edited 3 weeks ago)

The proliferation of libraries that exist only to fix the problems introduced by making everything an SPA is hilarious. Everything in web tech from the last decade is basically “there was an old lady who swallowed a fly”*.

*see also Cloud and container DevOps

[-] bitfucker@programming.dev 6 points 3 weeks ago

I do think everything has its place. For example, you can do offline PWA with SPA since a page load doesn't need a call to the server for rendering it. It also saves processing time/bandwidth by offloading the server from the burden of rendering the page. Once the page has loaded, the web app only needs data, not markup nor style. And last is that it is great since it only requires a browser without needing to write native apps in myriad of languages. Distributing and installing it is also not limited by the Apple/Google tax.

For clouds, there are certain workflows that can surely benefit from it. Maintaining your own infrastructure 24/7 with minimal downtime can be overwhelming for SMALL teams, especially one man show. Even more so when the product/web apps suddenly blows in popularity and now need to scale. Even more so when it is being DDoSed. The point is, many things can go wrong. And when you are deploying it for 24/7 use, down times can be costly. Deploying to cloud early and then slowly building towards on-premise after the team gets bigger is a viable route IMHO

And last is container devops. I think it also solves a lot of problems in multi-tenancy or even when running multiple services. Not everyone will use the latest-and-greatest version of a shared library. If the library is somehow conflicting with other tenants/service, you will have a bad time. Also, developing inside a container or virtual env can make testing and messing around safer since you didn't affect your system installation.

load more comments (2 replies)
[-] sandman@lemmy.ca 12 points 3 weeks ago

Lol. I fucking hate websites that take up half the page with a navbar.

[-] mr_satan@monyet.cc 6 points 3 weeks ago

Or a page that uses only half the screen width in the center. Just use the damn screen!

load more comments (1 replies)
[-] Honytawk@lemmy.zip 11 points 3 weeks ago

If that were true, you'd have more front end devs being able to do backend instead of the other way around.

[-] yogthos@lemmy.ml 21 points 3 weeks ago

These are completely different types of skills. Front end is complex because there's an explosion of different states driven by how the user interacts with the UI. On the other hand, backend workflows tend to be a lot more structured. You get a request, do some processing, fetch some data, and return a response.

[-] CanadaPlus@lemmy.sdf.org 5 points 3 weeks ago

From where I sit, it seems like frontend is closer to being a graphic designer than on backend.

[-] yogthos@lemmy.ml 4 points 3 weeks ago

Then you haven't developed a non-trivial user interface before.

[-] CanadaPlus@lemmy.sdf.org 5 points 3 weeks ago

I've made UIs, and at least one I'd say was complex, but it was also really ugly. What am I missing?

This wasn't a put-down, BTW. I couldn't be a graphic designer either.

[-] firelizzard@programming.dev 4 points 3 weeks ago

Making good UX is fucking hard. I say UX because making it good is really about the user’s experience, not graphic design. An ugly front end can be good if it’s intuitive and easy to use. But a visually gorgeous front end will still be garbage if it’s clunky and confusing.

It’s really something you have to experience to fully understand. Ultimately it comes down to this: front ends have to deal with people, backends only have to deal with computers. So backends can be cleanly organized and well structured. Applying backend design principles to a front end will get you a CRUD interface - something that’s usable but no one really wants to use.

load more comments (2 replies)
[-] Grandwolf319@sh.itjust.works 4 points 3 weeks ago* (last edited 3 weeks ago)

How about UIs that are essentially web apps. I’m talking about needing to handle drag and drop, graphs and the like.

There is also the mess that is responsive design, multi browser support and proper accessibility.

[-] yogthos@lemmy.ml 4 points 3 weeks ago

The complexity of dealing with different states a UI can be in. The user can navigate the interface of an app in many different ways. The US has to be able to handle all the different combinations of actions the users takes. This means maintaining a consistent state, loading data that's needed, keeping track of navigation, etc. The logic in an interface of an app like an email client is far more complex than most backend workflows.

load more comments (6 replies)
[-] avidamoeba@lemmy.ca 7 points 3 weeks ago

Backend devs can do frontend?

[-] PrettyFlyForAFatGuy@feddit.uk 26 points 3 weeks ago* (last edited 3 weeks ago)
<!DOCTYPE html>
<html>
  <body>
    <p>Hello World</p>
  </body>
</html>

here i wrote you a frontend

[-] imgcat@lemmy.ml 5 points 3 weeks ago* (last edited 3 weeks ago)

And yet it still works better than a MB of JS

load more comments (2 replies)
[-] frezik@midwest.social 8 points 3 weeks ago

Yes. It'll look like a Geocities page, but yes.

[-] xmunk@sh.itjust.works 4 points 3 weeks ago

Pah, as if Geocities had the good taste to use courier new.

Also, more seriously, if all the client needs is a geocities page is it reasonable for a front end developer to build it in react?

[-] CanadaPlus@lemmy.sdf.org 5 points 3 weeks ago* (last edited 3 weeks ago)

As a backend person, lol no. I mean I can make a thing that works, but it will require eye bleach afterwards, and I'll hate every moment of building it.

load more comments (3 replies)
[-] muad_dibber@lemmygrad.ml 10 points 3 weeks ago
[-] yogthos@lemmy.ml 4 points 3 weeks ago
[-] Cysioland@lemmygrad.ml 9 points 3 weeks ago

I feel (as a fullstack developer) that letting websites run arbitrary code in your browser was a mistake.

[-] onlinepersona@programming.dev 5 points 3 weeks ago

Frontend devs are the perps and victims at the same time.

Anti Commercial-AI license

[-] ZeroHora@lemmy.ml 4 points 3 weeks ago

É você que financia essa merda!

[-] o_d@lemmygrad.ml 4 points 3 weeks ago
[-] Djtecha@lemm.ee 3 points 3 weeks ago

As an infra guy... What's backend in this context?

[-] JasonDJ@lemmy.zip 3 points 3 weeks ago

As a network guy...open up your favorite web-managed application and open the developer console. Inspect the transactions you see and compare it to the applications REST API reference, and you'll likely find a lot of commonality (and maybe some undocumented endpoints!).

Backend made the API and everything that is performed by it. Front end is doing the GUI based off the response and promoting for input.

load more comments (2 replies)
load more comments
view more: next ›
this post was submitted on 26 Apr 2024
445 points (96.6% liked)

Programmer Humor

30800 readers
473 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS