this post was submitted on 01 Sep 2023
17 points (100.0% liked)

Programming

20982 readers
44 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 2 years ago
MODERATORS
(page 3) 18 comments
sorted by: hot top controversial new old
[–] lukstru@feddit.de -1 points 2 years ago (1 children)

If your function is longer than 10 statements, parts can almost always be extracted into smaller parts. If named correctly, this improves readability significantly

load more comments (1 replies)
[–] onlinepersona@programming.dev -1 points 2 years ago

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.

[–] hellishharlot@programming.dev -1 points 2 years ago (2 children)

Using single character variable names is always bad practice

load more comments (2 replies)
[–] Crisps@lemmy.world -1 points 2 years ago

Dynamically typed languages don’t scale. Large project bases become hard to maintain, read and refactor.

Basic type errors which should be found in compilation become runtime errors or unexpected behavior.

[–] rk96@lemmy.one -1 points 2 years ago

PHP aint all that bad

[–] qwerty@discuss.tchncs.de -2 points 2 years ago

Internet would be better if javascript was never invented.

load more comments
view more: ‹ prev next ›