this post was submitted on 26 Apr 2024
454 points (96.7% liked)

Programmer Humor

32591 readers
996 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] yogthos@lemmy.ml 0 points 7 months ago (1 children)

Well, I've been writing web apps for a living for the past 20 years or so, and I've written lots of full stack apps. There can be plenty of ephemeral state in a non-trivial UI. For example, I worked on a discharge summary app for a hospital at one time. The app had to aggregate data, such as patient demographics, medications, allergies, and so on from a bunch of different services. This data would need to be pulled gradually based on what the user was doing. All of the data that got pulled and entered by the user would represent the session state for the workflow. Maybe don't trivialize something you admit having no experience with.

[–] areyouevenreal@lemm.ee -1 points 7 months ago (1 children)

So you do include ephemeral state that's a copy of database data? If we were including that then every non-static website has plenty of state, but so does every web server. Whatever definition you are using must be quite odd.

[–] yogthos@lemmy.ml -1 points 7 months ago

I don't know why you have so much difficulty wrapping your head around the concept of UI state to be honest.