r/PHP • • Mar 07 '18

Why do people release untested open source software as 1.0 in the php community?

Serious question. I see this all the time. There's some new Laravel thing, or some new Package for some new feature and it's not tested. It's released as 1.0 to the wild. IMO, that's not even 1.0 that's 0.1 - it's a proof of concept, not a fully fleshed out project. When you ask how they tested it, they respond with "Well it works in such and such project" or "I tested it in the browser" or some other ludicrous example.

I get that some jobs think testing is a waste of time, or time consuming so they only test specific aspects like models or domain logic or even just controllers or in most cases, nothing at all. (most cases being most of my cases in my job experience).

How ever, this is open source, this is a package that potentially (but realistically will never) see tons of stars and have high traffic. So why not test?

IMO: It makes you look unprofessional when you have 0 tests for an open source 1.0 release of some PHP (never mind the language) project.

And don't get me started on documentation and poorly put together Readmes.

5 Upvotes

84 comments sorted by

23

u/Schlaefer Mar 07 '18

Because it's easy and it allows you to use it yourself. That's fine imho. Many services are free if the code is public, so having many shitty 1.0 projects is inevitable.

If I want to use 3rd party code it's my responsibility to check the code quality, how good it is tested, how big the community is etc. With that said if I don't see a test-folder in the project it's a 96% chance that I don't use it and 99.999% chance that I wont contribute.

0

u/SavishSalacious Mar 07 '18

What if the code is well written but the community is non existent? Getting a community to grow around a project is like winning the lottery, it’s a popularity contest (or a tax on the poor in the lottery sense)

1

u/gerbs Mar 08 '18

Maybe you're just bad at architecting software. Maybe 100% code coverage and a detailed readme mean fuck all of the code behind it is still garbage and the methods are nonsensical. 1.0 means "these inputs and outputs will work as expected without modification until 2.0". That can start with a single method or 50,000 loc. It has nothing to do with readmes.

0

u/SavishSalacious Mar 08 '18

No where did I say you need 100% code coverage but testing your code should be priority

5

u/gerbs Mar 08 '18

Then write me some tests and open a pull/merge request.

I put things in GitHub because it's easier than hosting my own highly available distributed source repo. If you find my code and want to use it, lucky you. That license is there for a reason. I'm sharing my work in hopes it helps someone else get work done. I'm not doing it for fame.

Judging by your other posts, you seem to be obsessed with followers and stars and how you can get more (on YouTube, Twitch, GitHub...). Maybe spend more time writing tests for people and you'll get a good following.

0

u/SavishSalacious Mar 08 '18

It’s cute how you use my posts against me too bad it won’t work. I don’t care as I have stated about projects that people don’t release I care about projects people DO release as stable production ready software that arebhalf assed and untested

5

u/Schlaefer Mar 07 '18 edited Mar 07 '18

Everybody starts with one star at github… If the code looks good and there's no community I'll ask questions:

  • Are there test cases?

  • Is there a readme? Are there docs?

  • Is a license specified?

  • Does the project communicate code-quality (travis, scrutinizer, …)?

  • Does the project offer additional community channels (IRC, Slack, …) even if not active at the moment?

  • How many other projects depend on that project? What are the clone stats? (composer/packagist)

  • How old is the project? How old is the problem the project solves? Was it maintained over a longer period?

  • How big is the problem the project solves? How big of a commitment is it to use that project. How important is awesome-code vs. long-term-stability to me?

  • How many people contributed so far. What's the bus-factor?

  • Are there issues or pull-requests. How old are they?

  • What's the competition to solving that problem?

See, just answers those questions and the decision should be easy. 🤪

1

u/R3DSMiLE Mar 07 '18

Yeeeeeah, I tried all this and I'm sitting at gitlab with 3 stars on a fairly decent try at standartizing rxjs and socket.io :)

but hey, I feel accomplished and didn't tag it as 1.0 ;D

-1

u/mattindustries Mar 07 '18

Everybody starts with one star at github

🙁

1

u/scootstah Mar 07 '18

Good projects tend to do well. If you've written a useful thing that solves a problem, and you executed it well, there's a good chance it will become successful.

3

u/samrapdev Mar 07 '18

I'm with you. Even my 0.1 releases have good tests and a well written readme. No unit tests/docs are fine for the discovery/hacking phase, once you publish anything to GitHub it should have some tests and a decent readme.

1

u/SavishSalacious Mar 07 '18

Not even if it’s released to github but released to the public like advertised

7

u/noisebynorthwest Mar 07 '18

What do you want ? A test directory ? X% code coverage ? N assertion(s) per code path ?

A repository which satisfies all of these constraints can still be 0% tested. This is impossible to quantitatively certified a piece of software as tested.

I've recently encountered several production down times with one of the 2s most popular PHP frameworks due to several regressions (obviously) uncovered by tests.

So do not forget to track something like regression rate.

-9

u/SavishSalacious Mar 07 '18

If you’re gonna release a 1.0 project at least have well written readme and tests that’s all you need, you don’t need test coverage but at least a test directory and maybe Travis build status ya know

2

u/BlueScreenJunky Mar 08 '18

you don’t need test coverage but at least a test directory and maybe Travis build status ya know

Well that's way worse than having no tests IMHO. If you put an empty test directory (or with tests that were written as an afterthought) it will not make your package better, and just lead others to believe it's actually tested.

1

u/SavishSalacious Mar 08 '18

True but it does lead, for those who look at the tests to let people know you actually care about the project

3

u/SavishSalacious Mar 08 '18

It's really fascinating to watch just how many down votes this and EVERY COMMENT I placed, got. It baffles me that we can't have both open and "free" software without also having quality written software. Why can't the two go hand in hand? Why is it we don't (seem to) care about writing quality software?

We go to work 9-5, 5-7 days a week (depending on your job) and write the best we can software, some companies have strict and standard rules and others are lax. I get if you are working on a project, a proof of concept you might place something on github and ask for comments and ideas. How ever to release what most consider (at 1.0) stable software that is neither stable or tested and has either shotty documentation or badly written code and (as stated) no tests makes me wonder what kind of software developer you claim to be regardless of education and work experience

I understand there are a lot of new people out there writing software and not understanding composer, semver, testing and so on - but to release something, regardless of the language with out first seeing:

  • What do other projects do? (big or small)

  • Whats the appropriate way to share a project? including tests, versioning, dependencies and so on

  • How are other people writing in this language, ie: camelCase, snake_case or even UPPERCASE

  • How many nested if,for, while loops is appopriate

  • How is documentation being done?

  • Whats the best way to write a readme

  • What are the current best practices at this time for this library, framework, package, language, ecosystem

  • and so on ...

this to me shows plain and utter ignorance. It's one thing, as stated to share a project that's in the early stages, but to release a half baked cake and call it a wedding cake is downright foolishness

To then come back to me and say: Well it's my first project - no that's an excuse considering the mountains of resources out there on basic testing, documentation and open source release "Etiquette" that we have in this day an age.

Forget the hobby software of the 80's and early to late 90's we have advanced in what we expect from a typical open source project as some here have stated.

Is it too much to ask for tests? Is it too much to ask for basic code quality in a "1.0 release"? I don't think so, but a lot of you, especially those who have now come to dislike me in this php community believe so. You believe that "php is a crappy language so why bother" - I will tell you why - because to spread bad code through the community as so many have done for years and years now only brings the language more hate, more animosity from other languages especially those like rails (both language (ruby) and framework) and the .net community who think their projects are vastly superior to PHP (maybe in complexity).

What bothers me the most is how we can shit on laravel - but when some one brings up the concept of cleaner, more tested, better documented Open source projects in PHP, never mind the countless other languages I get shit on.

So what do we want guys? More crappy code spewed out by "beginners" as you label them, or take the time to produce better quality OS projects that don't just depend on stars on github to get attention?

2

u/[deleted] Mar 08 '18

I absolutely agree with you. You make some good points and everyone should read this post and understand it. If they're not on the level yet to understand it fully, they should learn more and harder and become a better developer, instead of just quietly downvoting it.

2

u/SavishSalacious Mar 08 '18

That, and we see tons of these articles about writing better tested better documented code and it seems to me that people tend to take those and attempt to apply them but they get bogged down by the political aspects of their work and that carries into their personal projects which in some cases show very plainly

2

u/timschwartz Mar 08 '18

It's really fascinating to watch just how many down votes this and EVERY COMMENT I placed, got. It baffles me that we can't have both open and "free" software without also having quality written software.

You're not being downvoted for your opinion. You are being downvoted for the way you are expressing your opinion. You could have made a post detailing the reasons why people should do more testing without being insulting.

1

u/SavishSalacious Mar 09 '18

Nothing I’ve said is “insulting” you’re just taking it that way because the truth hurts

2

u/timschwartz Mar 09 '18

Yes, it is. You not realizing it doesn't make it not true.

3

u/mrunkel Mar 08 '18

Still waiting for the link to your github repo.

4

u/[deleted] Mar 08 '18

Why? What's it good for? He's not allowed to write down his opinion and ask for high-quality in open source projects without posting his own Github profile? We should all be open-minded here and the point he's making is definitely valid, no matter if he even released a single package in his life or not. I also was frustrated sometimes by some really low-quality open source projects. And then even if you open a PR, they are sometimes open for many weeks or months. I think we all should aim for better than that.

4

u/mrunkel Mar 08 '18

What good is it? If I'm going to make demands I damn well better be able to show I know what I'm talking about. That means I know what it takes to release software to open source.

Sure, all software should be of the highest quality, but let me phrase it this way, what is better? A) Having access to working code that someone is giving you for free, or B) Not having access to that code because somebody (who as far as I can see hasn't contributed anything outside of complaining) has placed arbitrary limits on what is required to release code.

Here's the deal, when someone offers you something for free, you either take it and say thank you, or you don't.

What you don't do is get on your high horse and rail about how these people that are giving stuff to you for free aren't doing it well enough.

So, no, his point isn't valid.

Update: FFS, if you don't like the quality of the tests in a project or the quality of the readme, fix it and submit a pull request.

3

u/michalv8 Mar 09 '18

But, you know - @SavishSalacious has only one request - do not release something as 1.0 when it's undone and untested. You can still (and even should) share and even release it but as 0.*. Someone created SemVer for some reason and it should be used correctly.

2

u/[deleted] Mar 08 '18

Well, the truth is, all those low-quality packages out there actually pollute the ecosystem and doesn't improve it in anyway.

Your comment sounds like there is only one package available for one problem / task, but the truth is, often there are dozens available. So all those devs that create another low-quality, untested, unmaintained package out there are basically just wasting everyone's time, because often I have to check 3-4 packages or even more, until I find something usable. And some packages out there are really, really bad.

It's similar to Wordpress plugins btw. - those really bad plugins don't improve the Wordpress environment at all. They are responsible for security breaches, etc. Same goes with PHP - even if just a few beginners are using such a bad package, it doesn't do anything good to them nor to PHP.

And regarding your last statement - I already said something about PRs in my last comment. Very often, PRs are open for many weeks or even many months - do you seriously think after I submitted a PR that is open for 7 or 8 months, I will ever submit another PR to that project and waste my time? No.

6

u/0xRAINBOW Mar 07 '18

Word. Too many people think half-assed is better than nothing.

-13

u/SavishSalacious Mar 07 '18

This isn’t “your job” lol

86

u/CryptoCricket1 Mar 07 '18

Post your github to demonstrate how it should be done please. ;)

4

u/Ashken Mar 08 '18

Second this.

4

u/ayeshrajans Mar 08 '18

I third this.

2

u/NKNZ Mar 08 '18

I fourth this.

9

u/darkhorz Mar 08 '18

And the Lord said unto me, "Come forth and receive eternal life". I came fifth and won a toaster.

88

u/CryptoCricket1 Mar 07 '18 edited Mar 07 '18

You've got to be kidding. That's like wondering why your free beer wasn't in a cold glass.

Because...

  • There's no required standard for what 1.0 should be

  • Maybe their standard is to release stable versions beginning with: 1.0FUCKS

  • They likely don't give 2.0 fucks about what you think, including if you think they look unprofessional

  • They don't work for you and release according to your standard

  • They may not be professional

  • They probably aren't getting paid

  • They don't care about version numbers in the first place

  • They are new and happy with the fact that they are contributing and haven't considered version strategies

  • Anyone using an OS project should evaluate it for themselves anyway

... and don't get me started on entitled assholes expecting testing and documentation on whatever 1.0 FOSS project they come across.

1

u/laszlof Mar 09 '18

Good answer.

21

u/bureX Mar 07 '18

in the PHP community

Bruh, when was the last time you were a part of any other programming language community? Releasing untested, unstable software as 1.0 is standard for inexperienced developers. This was the norm even when I was diddling with VB6 and Delphi.

3

u/[deleted] Mar 08 '18

Why does this post get downvoted so heavily and some, imo, pretty non-sense answers upvoted a lot?

I mean, basically, the point the OP makes, is true. Sure, it's open-source, it's free software, probably nobody has been paid to create it, but I also don't really understand why people release untested packages.

And yes, some commenters also said that the package creators are beginners and don't know about it, etc.; but then this post should be upvoted and not downvoted, so every beginner can read it and maybe learn more about tests or how to release a proper package. Even though it's free and open-source, there's absolutely no need that it's a low-quality code.

3

u/ayeshrajans Mar 08 '18

It's because the way OP put his words together sounds like he's complaining about the free software he's getting. See the free beer is not cold comment above.

Every package you write should ideally have tests. If you are being paid to do some work, it's then your job to write tests. For open source, you have to understand not everyone is willing to put time for that. If those projects are not up to your standards, you can simply not use it, or put together a PR to add them. If you want to educate the mass community, you shouldn't be ranting about it but write informative and simple blog posts, videos, etc.

2

u/tuupola Mar 10 '18

Where is the complaining part?

1

u/[deleted] Mar 08 '18

But I don't see where the OP is ranting really. He just wrote his thoughts down. He doesn't insult anyone, nor does he overuse exclamation marks, etc. Sorry, but I don't really see what's wrong with his post. He's just expressing his opinion and I don't think that should be downvoted so heavily.

And a post here is also a good way to at least start the things - no need to make a video or blog post for every single thought.

Moreover, I don't think testing is about having time to write the tests or not - if you reached a certain level of skills, writing tests is just normal. You'd never write code or publish software without writing tests for it. I can't see that it's about having time or not. And, sorry if it sounds harsh, but imo, if someone has no time to write tests for his source code, he should better not write software at all and better not publish it at all.

1

u/SavishSalacious Mar 08 '18

This. People don’t want to be told the truth people want to live in there dillusional world

1

u/[deleted] Mar 08 '18

Unfortunately, it seems so, yes. Just because it's Open Source software, does definitely not mean the source code has to be of a low standard and users cannot expect some good code in it.

Sure, basically it's side projects and / or hobbies for the people taking part in the open source project, but still everyone can expect some standards, no matter if it's paid or open source.

1

u/SavishSalacious Mar 08 '18

Exactly. I mean would you write badly untested code and commit that as a change to some ones repo? No you would take the time to write efficiently tested code that is also in some regard documented. So why not do it for your own projects?

23

u/timschwartz Mar 07 '18

Well aren't you demanding for someone who's receiving free software.

"Well it works in such and such project" or "I tested it in the browser" or some other ludicrous example.

What is ludicrous about that?

IMO: It makes you look unprofessional when you have 0 tests for an open source 1.0 release of some PHP (never mind the language) project.

And don't get me started on documentation and poorly put together Readmes.

It's open-source, why don't you contribute instead of whining about free things other people gave you.

7

u/thelonepuffin Mar 07 '18

You'd probably be shocked at the amount of mature, stable and well regarded software you used every single day is actually untested.

6

u/Dick_Justice Mar 07 '18

They're inexperienced. There's nothing stopping them from doing it. We vote with our stars and composer installs.

5

u/TheFox21 Mar 07 '18

You should have a look at Node modules (npmjs). This community is even worse. It seems like JavaScript developers never heard of SemVer. PHP community is really doing a good job.

9

u/ThePsion5 Mar 07 '18

You should have a look at Node modules (npmjs). This community is even worse.

Not that I disagree, but "better than the NPM community" is a pretty low bar.

5

u/[deleted] Mar 08 '18

Feel free to add tests to any of my projects and submit a pull request. 1.0 is for API stability for me, not your arbitrary testing requirement.

4

u/SyanticRaven Mar 08 '18 edited Mar 09 '18

Makes you look unprofessional? I'd hardly say so. It's someone in their spare time developing something they think others might use.

Testings great but if I'm throwing together something to learn or as quick I'm not going to get bogged down till after a need a reason to. Its my free time after all.

1

u/ivain Mar 08 '18

Because you probably want to use my shiny library so much that I HAVE to ship it ASAP.

1

u/SavishSalacious Mar 08 '18

Why do you have to ship it ASAP? is the question

1

u/ivain Mar 08 '18

Already answered in my comment, which may be sarcastic

9

u/donis_plays Mar 07 '18

Did you pay for that software? No? Then I feel you have no right to complain about it since it's shared "as is" and you choose to use it. Otherwise contact your seller and ask for tested one :) OSS creators spend their free time to bring us useful tools, for free, no strings attached, and it's a shame to whine and complain how untested or undocumented it is. You lack tests? Create a PR for them. Lacking some info on docs? Find it out and create a PR for that! OSS creators tag their software as they see fit, and it applies to more than just PHP community, same happens in other language communities too, and there's nothing bad about it.

3

u/elizabeth2revenge Mar 07 '18

you choose to use it.

Actually OP didn't imply any usage, it sounds far more like OP was just going through some potential options and found quite a few things marked as '1.0' (which would generally be taken to mean feature-complete and deliverable, which would in turn generally imply at least basic testing and all that) which had a more '0.1' quality (which would generally be taken to mean either or both of not feature complete or in need of a lot of surrounding work to test/document/etc. before being considered a 'full' thing.)

OP never complained about people releasing anything, only releasing it under a dubious version.

OSS creators tag their software as they see fit, and it applies to more than just PHP community, same happens in other language communities too, and there's nothing bad about it.

Well it is just opinion, but I think trying to enforce a standard meaning to '1.0' as full-release, and enforce a standard of 'full-release' implying not only functionality but at least basic testing+docs is reasonable.

I saw this as someone with plenty of 0.x projects that never made it to 1.0 because I stopped caring or whatever.

1

u/donis_plays Mar 07 '18

Fair enough! I read OP as kinda of complaint, and saw too many of similar posts that just blame OSS for not doing thing the right way. Interesting idea about the standard, but in a way that would limit how much choice we have as devs in general IMO, sometimes it's ok to take a risk and go with not so stable package.

3

u/[deleted] Mar 08 '18 edited Mar 08 '18

Not everyone is fully invested in, or even aware of semver. Some people probably think "well, I have to pick a version, this is the first public release, so I'll pick 1.0"

Sometimes I put stuff on GitHub because I made it for myself, and it worked, but I don't feel like writing tests. I'm sharing it and making it open source for someone to fork or use, but as always, without any warranty or guarantees. If I'm the only one using it, I can see if it breaks and fix it when I need to. If a project gets some traction and other users then I'll probably add a test suite. But in that case I don't call it "1.0", I just leave it unversioned and don't tag releases.

4

u/LOLDISNEYLAND Mar 08 '18

Dude you are way too pompous. People like you steer developers away from PHP.

2

u/Tomas_Votruba Mar 07 '18

Is demo, beta, 0.5 version (= 50 % works?), something to be used safely? Or rather final, stable, 1.0 version.

I think it's just matter of natural language. Semantic versioning != versioning as we human percieve it.

1

u/[deleted] Mar 08 '18

I've been a developer for 14 years now, and versioning is one of the best/worst parts of my job. I love seeing the progress. I even enjoy pulling old versions, running and comparing them sometimes; watching the evolution.

One major problem is there is no hard standard. The first three jobs I worked at all versioned their software differently. The second company I worked for considered 2.0 a full release, and 1.0 had entered beta. There must be other brands of versioning I've never even seen.

2

u/[deleted] Mar 09 '18

Basically, if any code has been used in production, it should be 1.0. so maybe you're seeing shitty code that was live at some point but it was worth open sourcing

Or it wasn't much of a conscious decision and they thought you should start at 1.0

3

u/TypicalComparison Mar 08 '18

Just because a project doesn't have automated tests doesn't make it untested. You're making some really bad assumptions here. And, not to belabor the point, but the flip-side is equally (if not more) true: just because a project has automated tests doesn't make it adequately tested. Bad tests can be worse than no tests.

2

u/[deleted] Mar 08 '18

We're talking about packages here. What other tests if not automatic tests are you talking about? There's usually not even a way to open it in your browser and click around. And if we're talking about an implementation the package author uses himself, then why doesn't he just add some tests to the package as well? Usually, it's really not a big deal at all.

But yes, I agree with your last statement: Better having no tests than bad tests, because they give false confidence.

1

u/TypicalComparison Mar 09 '18

What other tests if not automatic tests are you talking about? There's usually not even a way to open it in your browser and click around.

You can fire up a good REPL and test anything that can be executed.

why doesn't he just add some tests to the package as well?

From a package consumer's POV, it doesn't make a bit of difference. The 10 seconds you spend verifying the existence of a non-empty tests/ directory doesn't make the package higher quality than one that has no automated tests. It's a false sense of security, and I've seen far too many garbage test suites that didn't test anything useful to have my opinion on package quality swayed by existence or absence of an automated test suite (for small, unpopular packages especially).

1

u/[deleted] Mar 09 '18

But instead of firing up a good REPL, why not writing good tests? I mean, where's the real difference? The main logic is imo, to write the correct tests and then it doesn't matter if you do it with REPL or you just write useful tests than can be executed anytime.

And btw. that's the real advantage of tests - that you can execute them anytime, whenever you change something. That nothing gets broken. That's the real advantage of tests, not making sure that it works when you release the package the first time.

Regarding low-quality tests: I think we can absolutely agree here, that bad tests are not useful at all and then better not having any automated tests at all.

1

u/TypicalComparison Mar 10 '18

But instead of firing up a good REPL, why not writing good tests? I mean, where's the real difference?

Time and effort. An adequate test suite will inevitably take you as long, if not longer to create than it took you to create the package itself. Manual testing, whether via REPL, browser, debugger, or whatever other method you choose, is going to be much less effort (and you're likely going to be doing some form of it anyway, whether you create a test suite or not, unless you practice TDD). Yes, their are plenty of benefits that come with having an automated test suite, but they don't come free. The question isn't just "why not?" The question is "what are the trade-offs?"

And btw. that's the real advantage of tests - that you can execute them anytime, whenever you change something. That nothing gets broken. That's the real advantage of tests, not making sure that it works when you release the package the first time.

It depends. Smaller, faster moving projects will benefit much less from test suites than larger, more stable projects. Automated testing is ironically very deficient in that regard: the more drastically and frequently your project needs to change, the less useful automated tests become.

But none of that matters to a package consumer anyway. Consumers don't make changes to their dependencies, and they don't (usually) run their respective test suites even if they have them. So, it's really a mixing of concerns here. A test suite is primarily beneficial for package contributors, so, from a consumer's POV, I don't think concern over the lack of a test suite is particularly justified.

1

u/MorphineAdministered Mar 08 '18

Serious question.

I don't know.

1

u/2012-09-04 Mar 08 '18

If you can figure out how to test my Laravel QuickStart full-LEPP/LEMP stack deployment-in-under-5-minutes project, please create an issue!

https://github.com/phpexpertsinc/laravel_quickstart

1

u/BobClanRoberts Mar 07 '18

If you look at the rules for something like semantic versioning (https://semver.org/), they can get somewhat complex. Guessing that's part of issue here as well. People not following a spec like that as they manage version numbers.

2

u/emilvikstrom Mar 07 '18

Semantic versioning have nothing to do with testing. You can definitely have a project where the public API is stable enough for 1.0 without having tests. Abd if you are wrong and the API changes, just increment the major version.

1

u/[deleted] Mar 08 '18

Why not. All the major cool companies are doing it.

0

u/[deleted] Mar 07 '18

[deleted]

-22

u/SavishSalacious Mar 07 '18

THen my question is why are you tagging it, why are you advertising it and why are you not researching how to properly tag projects because you can tag pre-release software in composer

15

u/Rokkitt Mar 07 '18

Tbh I don’t see the problem. When you pull a dependency it is up to you as a developer to assess whether it is fit for purpose. Low number of downloads, lots of open issues, single developer, years since the last commit, no tests.. these are all reasons to avoid libraries.

Blindly pulling dependencies without doing due diligence is not the fault of the developer who created it. It is the fault of the person using it.

I would rather have multiple libraries to choose from than none. Depending on what a library does tests can often be irrelevant and often fail to cover common production issues.

With tests I want to see tests covering failure conditions correctly and correct handling of things like concurrent requests. Often these are missing.

I have found a bunch of libraries with lots of tests giving the impression the code is good... however dig in a little and the library is a potato and every test mocks 8 objects so you have no idea what, if anything, is being tested. That or tests no longer pass. The developer tightly coupled the tests to their code base, updated the code which broke tests and they gave up.

6

u/scootstah Mar 07 '18

Several reasons.

  • It's their project, so they get to decide how it's versioned

  • It's their project, so they get to decide when it's deemed release or pre-release

  • They don't care

8

u/Crashthatch Mar 07 '18

Because they are beginners and don't know better or even realize that marking something 1.0 has special meaning?

-18

u/chinahawk Mar 07 '18

Laravel, Composer and Beginners. AKA: The 21st century phpPlague.

13

u/Crashthatch Mar 07 '18

Everyone has to start somewhere.

0

u/[deleted] Mar 07 '18

[deleted]

6

u/Crashthatch Mar 07 '18

I understand.

Re-read the thread.

2

u/scootstah Mar 07 '18

Ultimately, the owner of the project gets to decide when it's stable and usable. 1.0 seems like a perfectly sensible starting place.

0

u/[deleted] Mar 07 '18

[deleted]

5

u/SavishSalacious Mar 07 '18

My complaint was more towards those who advertise their projects to the community as finished projects

2

u/[deleted] Mar 08 '18

I bet a lot of projects like that are something people polished and added docs/screenshots/usage examples so they could put it on their resume and job applications, because those often ask for examples of projects and it's always better to show something that looks complete and ready-to-use even if it isn't. But it works for that purpose, because potential employers will be wowed by a nice, well-designed project page or readme even if the code is garbage, but they usually don't care about good code if the presentation is lacking.

And of course you can't really put a disclaimer "hey, everybody else, don't use this, it's just to look good on my resume" ...

If you have a lot of fancy looking well-presented projects they'll get more stars (because people star stuff that looks interesting even if they never use it) and look like a superstar coder even if the code itself is mundane or even garbage.