this post was submitted on 28 Nov 2024
517 points (98.5% liked)

Programmer Humor

32733 readers
557 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
517
Lean vs. fast (lemmy.ml)
submitted 4 weeks ago* (last edited 4 weeks ago) by MonkderVierte@lemmy.ml to c/programmerhumor@lemmy.ml
 
you are viewing a single comment's thread
view the rest of the comments
[–] aidan@lemmy.world 1 points 3 weeks ago (2 children)

I can't relate to this feeling at all, writing code using a library I've found is almost always the source of bugs. Miscommunication between the library developer and their documentation, or my ability to read the documentation. And that's on top of how many big libraries I've seen with extremely simple exploits. Sadly I have to use a few, but I wince every time I install a package.

[–] Earflap@reddthat.com 3 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I am NOT writing a database connector unless you add an additional three months to your projects expectations.

I am NOT writing an LDAP connector.

I am NOT writing code to execute shell processes safely.

And I'm sure as hell not writing an XML parser just so I can say I did it without libraries.

JS devs that import libraries for every stupid thing (lpad comes to mind) are bad programmers, but libraries are useful and have their place.

And if my boss doesn't want me using those libraries, they need to specify that in advance or there needs to be a company policy to that effect. Otherwise, I'm solving the problem my way since that's what I'm getting paid to do.

[–] aidan@lemmy.world 1 points 3 weeks ago

Yeah I absolutely agree, my issue is with libraries that do trivial or not particularly useful things.

[–] Boomkop3@reddthat.com 2 points 3 weeks ago

And then a requirement changes, and good luck duct taping it to the darn framework