As the author of shitty open source libraries I agree, but a bit of a disclaimer in the readme should be expected.
It’s OK for your open source library to be a bit shitty (2015)
331–340 of 364 posts
Re: It’s OK for your open source library to be a bit shitty (2015)
#332Earlier quoted context omitted.
> people with kids win at life That's a pretty insulting statement for those of us who can't have / don't want children. It's not a competition. We've chosen different paths than you. Not worse, just different.
Kids make you happy, but only when they move out as as long as they don’t break the bank. Truth is having kids is a kiss of death for your creative and professional career. E: Of course downvotes. Truth hurts. Let’s see how grey my comment gets.
Re: It’s OK for your open source library to be a bit shitty (2015)
#333Earlier quoted context omitted.
off-topic: I still don't understand the use case that left-pad solved. I'm not into js at all but why do you need a dependency to add space to text? I'm asking honestly, I just don't get what the use for this was.
> I'm not into js at all Programming in JS is just this way. I had to include moment.js yesterday just to format a date. Nothing fancy, but no easy way around it.
Why could you not have used Date.toLocaleDateString() or Date.toDateString() or Date.toISOSting() or any other of the inbuilt functions outlined here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Re: It’s OK for your open source library to be a bit shitty (2015)
#334Earlier quoted context omitted.
Literally what it says: https://github.com/left-pad/left-pad/blob/master/index.js Now if you ask "but why?", ultra-small packages like this are popular in JS because of the lack of a standard lib. Lots of devs prefer to install a dependency for each one-liner utility rather than write them themselves. The only added value of those packages is that they're usually unit-tested against weird edge-cases that you might mi…
You're misunderstanding, what is the use-case of that specific package? like I've never found myself needing to pad text on the left, just trying to understand why this was such an important package.
When its creator removed it, they literally destroyed the foundation of those popular packages. That's what made it suddenly important.
Re: It’s OK for your open source library to be a bit shitty (2015)
#335Earlier quoted context omitted.
Agreed... I remember a study on “do kids make you happier” and their conclusion was “kids make you happier if you want kids”.. people who didn’t want kids but had them or wanted kids but couldn’t have them were sadder, but people who didn’t want kids and didn’t have them were just as happy. Which I guess makes sense... people are happy when they get what they want!
If you're having kids you're striving for things that aren't happiness. Often trading exhaustion for purpose and meaning.
Re: It’s OK for your open source library to be a bit shitty (2015)
#336Earlier quoted context omitted.
I think it's fine to not have time to maintain code you open source. However, if your library ends up gaining a significant user base and you don't have time to maintain it, then I think you have a duty to either: 1. Allow others to step in as maintainers and review/approve new features and bug fixes in your stead. or (if you want to maintain control of your library) 2. Be clear that your library is in maintenance mo…
I really disagree that authors have a general obligation to do anything with their code, at least as far as support is concerned. If somebody signed up formally to be a committer or made some other explicit commitment that's of course a different matter. If there's an implicit obligation, it seems to me it's on users, not authors. If you really need something changed you should fork/fix it yourself or talk somebody e…
Re: It’s OK for your open source library to be a bit shitty (2015)
#337Earlier quoted context omitted.
You are simply being pedantic. He said there's no "absolute" obligation, but there are some by virtue of us living in a society.
I’m not saying this to be pedantic. And I’m not denying that there is some social expectations when living in society. If you say that there is no obligations, but also that you should follow some social expectations, then you’re contradicting yourself. It’s just a nicer way to say that people should behave according to what you consider to be acceptable. Btw, which society rules do you mean? Because you have a lot o…
Re: It’s OK for your open source library to be a bit shitty (2015)
#338Earlier quoted context omitted.
No, there is no obligation. But there’s a thing called courtesy. And as humans there are certain social norms. If someone spams me, I will ignore or retaliate by reporting as spam. If someone sends a low effort question, I might politely tell them to rtfm. If someone makes an effort to articulate a problem, even if I disagree, I’ll try to give them a reasoned response. And if I genuinely have no interest in any inter…
> No, there is no obligation. But there’s a thing called courtesy. And as humans there are certain social norms. In my experience, there are no objective social norms or definition of "courtesy". What's polite in one culture might not be in another. Projecting your own values onto others isn't helpful.
Re: It’s OK for your open source library to be a bit shitty (2015)
#339Earlier quoted context omitted.
This is naive. If it's a bad library full of bugs, it's going to be garbage code. I'm not going to spend inordinate amounts of time & effort wrestling with shitty code to earn the right to say the library is bad. IMO that's not a good standard.
I wasn't saying you couldn't call it bad. But I will say demanding it not be bad would be stepping over a line. If money ever changes hands with the author of that code, that's a different story. But if it's something free you just found, and you have never paid the author anything, then at most you can warn others to not waste their time. You are in no moral or legal position to demand anything.
Re: It’s OK for your open source library to be a bit shitty (2015)
#340Earlier quoted context omitted.
I agree it's an audience problem. I had a Wordpress plugin up and I'd get all sorts of entitled requests, borderline "plz fix my website you broke it". But also had some C libraries for Arm STM32 and only ever got solid pull requests and people eager to help. You see the same thing in IRC / Discord channels of those technologies.
At the risk of stereotyping a bit here (from personal experience), Wordpress users tend to be a lot less technical than C programmers, and I find the less technical the audience, the more entitled they tend to be. My theory is that because they don't sling code themselves, they just don't understand how much work and effort goes in to making good software. Because they don't understand it, they tend to not appreciate…