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

Programming

17366 readers
221 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
[–] Obscerno@lemm.ee 26 points 1 year ago (7 children)

We use too many libraries. This may be an actual unpopular opinion though. I find that the more a library tries to do, and the more dependencies it has itself, the more hesitant I am to use it. It just feels like a tower of cards ready to fall at any moment.

I'm not a very trusting person and work alone though so this might just be an emotional decision. But it is nice having a project be composed of code that does just what is needed and nothing else. It makes it easier to fix bugs and especially to maintain the code.

I do use libraries, but only if they're absolutely necessary or if they're very focused and don't try to do a million things. It's not about size but complexity.

[–] nekusoul@lemmy.nekusoul.de 4 points 1 year ago* (last edited 1 year ago) (1 children)

This is also why having a strong standard library and/or framework is so important to a language. Otherwise you'll end up needing a third-party library for every little thing, each coming with their own programming paradigms and dozens of dependencies.

[–] Torty@beehaw.org 2 points 1 year ago

NPM's left-pad library has entered the chat

load more comments (5 replies)