this post was submitted on 18 Apr 2024
593 points (95.7% liked)

Technology

59596 readers
3852 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] NotMyOldRedditName@lemmy.world 4 points 7 months ago* (last edited 7 months ago) (1 children)

Not gonna lie, writing code in various ways can be more efficient processing time wise, but often at the cost of complexity, or readability or time to code it.

As phones have gotten faster, and depending on what I'm working on, I'll often take the easier to code and read route than the absolutely best optimized route.

Although there are definitely times you still need to optimize

[–] jorp@lemmy.world 4 points 7 months ago (1 children)

It's less about individual developers writing bad code and more about whole inefficient frameworks gaining popularity because of ease of use or deployment

[–] NotMyOldRedditName@lemmy.world 2 points 7 months ago (1 children)

Are those frameworks so poorly written they can't be optimized then? That'd have a pretty substantial impact if widely adopted.

[–] jorp@lemmy.world 3 points 7 months ago (1 children)

I'd argue that's true in some cases, for example web apps might work well enough on modern device hardware but they'll never meet the performance of even mid-tier native apps

[–] NotMyOldRedditName@lemmy.world 2 points 7 months ago

Ah gotcha. They're just inherently less performant in some/many cases but that provides a benefit in some other way.