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

Programming

21605 readers
236 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 [email protected]



founded 2 years ago
MODERATORS
(page 3) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 2 years ago (4 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.

[–] [email protected] 10 points 2 years 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.

[–] [email protected] 11 points 2 years 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?

load more comments (1 replies)
load more comments (3 replies)
[–] [email protected] 15 points 2 years ago (6 children)

Oh I have some!

Computer science is still a hobby and has a lot to go through before it is an actual industry.

Developers are too often bad engineers.

Short development cycles are a bad thing.

POO is trash. It's a manager tool, not an engineering one.

load more comments (6 replies)
[–] [email protected] 13 points 2 years ago (1 children)

A lot of programmers need to work on their soft skills.

load more comments (1 replies)
[–] [email protected] 13 points 2 years ago

My mantra has always been to bring solutions not problems. Applying that to code reviews makes for a far more productive experience.

Rather than just pointing out errors in code help the developer with prompts towards the solution.

Or, if you're too lazy to explain why something shouldn't be done then why should another developer have to act on your criticism?

[–] [email protected] 12 points 2 years ago (6 children)

Abstraction will be the death of traditional software development as we know it

load more comments (6 replies)
[–] [email protected] 10 points 2 years ago (1 children)

Write the whole thing, and only then, scrap it and rewrite it. This way you actually have a good understanding of the entire implementation when you are rewriting. When I refractor while writing my draft I will slow myself down and trip over myself, I'll be way more likely to rewrite something I've already rewritten.

Sure there is a limit to the size of projects this can work for, but even for massive projects they can still be broken into decently sized chunks. I'm just advocating for not rewriting function A as soon as you finish function B.

load more comments (1 replies)
[–] [email protected] 10 points 2 years ago (7 children)

Programming is the easy part, and a useless skill on its own.

If you can only program in one language, you can't program.

C++ is the single best language to learn programming.

Stupid mistakes you make are not bugs, at least not for you.

load more comments (7 replies)
[–] [email protected] 10 points 2 years ago (3 children)

Doing this is a hot take, but "clean architecture" is a joke.

My company is obsessed with it.

load more comments (3 replies)
[–] [email protected] 9 points 2 years ago (3 children)

If you're not a programming superstar you can probably make more money writing nothing but Terraform code for hapless enterprises.

load more comments (3 replies)
[–] [email protected] 9 points 2 years ago (4 children)

Front end and back end are different enough that you can really specialize in one or the other. They take very different mindsets. I know how to make css obey, I don't know how to make sql performant. Its possible to have both, but not as well.

For every front-end dev, you need 3 back-end guys and a designer.

Programmers are not bad at our jobs, its just not a mature disclipline yet.

load more comments (4 replies)
load more comments
view more: ‹ prev next ›