this post was submitted on 01 Sep 2023
329 points (96.1% liked)

Programming

17494 readers
121 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
[–] onlinepersona@programming.dev 16 points 1 year ago (3 children)

Composition over inheritance has become a meme that people repeat without understanding. Both have their uses, but if composition is all you use, then you're using a hammer on everything. There is no silver bullet in life and most undeniably not in programming.

Also, electron has a reason for existing. If it didn't have a use, it wouldn't have the number of users it has. You can't tell me in all seriousness that Qt, Gtk, Swing, Tkinter is easier to use than electron for the common developer.

[–] fuzzzerd@programming.dev 10 points 1 year ago (2 children)

While I completely agree with you about electron, I still don't have to enjoy the fact that companies are outsourcing their lack of development in native tech to my wallet in terms of wasting resources on my device. Now perhaps the cost of the associated services would be higher if they had a native app which is a fair response. I still don't have to like it.

Written as a user (and occasionally enjoyer) of electron based software.

[–] Spedwell@lemmy.world 11 points 1 year ago

It's especially infuriating when you have a giant like Microsoft rolling Electron on their flagship applications (Teams), and then deprecating support for some platforms (Linux). What's the point of your nice, memory-gobbling, platform-agnostic app framework if you're not even going to use it to provide cross platform support?

[–] onlinepersona@programming.dev 1 points 1 year ago

I don't enjoy it either and will go through the pain of writing GUI apps in anything but HTML,CSS and JS, but the ground beneath me doesn't exist as no contributions are coming from my side to make an easier electron alternative. There are other places I am hypocritical though.

[–] tastysnacks@programming.dev 3 points 1 year ago (1 children)

I like electron because it makes my swing apps look efficient and peformant.

[–] onlinepersona@programming.dev 1 points 1 year ago

Now that's a good joke 😎

[–] Theharpyeagle@lemmy.world 3 points 1 year ago

Absolutes in programming are most useful for clickbait and little else. Use what makes sense for your use case, following a trend will only lead to pain.