New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What should we do with unspecced things? #835
Comments
Personally, I'd 👍 the second comment approach. For example, we don't have an ability to describe many pragmas because, um, they don't have a description at all, they just reserved. It'd be wise to just mark them in the docs as My personal opinion is to have three levels of things(categories if you wish):
|
@Altai-man is there any reason why we cannot mention these things anyway? For example:
What do you think? |
Seen from the standpoint of a language user, the spectest are rather unwieldy. The only official documentation we have for the language and therefor the spectest are the docs. As soon as we add stuff that are rakudo internals, we take responsibility for any fallout that might have. As such any such addition needs to be signed of by a language designer or we may end up painting the language into a corner via proxy. Also, after Perl 6 has conquered the worlds, there will be many many implementations. How do you decide what implementations internals you take in and which you reject? |
Why reject? Let's document everything! Imagine this: someone finds an undocumented feature and uses it in his code. Then somebody else finds this code and steals it for his own problem. That user may try to search the docs for this undocumented feature, but won't find anything. “Sure, perhaps the docs are incomplete”, right? By knowingly ignoring unspecced features we are just making the situation worse. Look, we don't have to explain all of the details about unspecced things, we just have to mark explicitly that it is not recommended for use. Or is there any other solution to this problem? I don't think that “you have to check every undocumented thing in roast” is something we should recommend. I can't imagine a 6-year-old doing that. |
Please run util/list-missing-methods.p6 and look at the sheer number of leaky methods. If we add some, we need to add all. And then remove them when they become private again. |
@AlexDaniel the main reason - stable api nonsense in a compiler sense.
If someone finds an undocumented feature or use nqp magic or something else rather obscure, it's his/her own responsibility to do so. How often when you find something awkward about insert your favorite language here you hurry up to use in in production-close code rather than ask about it? It's like 'What if someone find a gun and shoot himself in the foot, we need to document every gun with a big banner "Don't shoot yourself!"'. |
If something is runnable from user level code AND is in roast
We should not document everything. It's not up to the docs team to decide what's in the specification, that's up to the development team. There is some overlap, but the final decision rests there. |
On Friday, August 12, 2016, Will Coleda notifications@github.com wrote:
|
Okay @coke, what should we do with a bunch of issues about env vars? I don't see any tests… |
@tbrowder (list of dev team members) - #perl6-dev is a good first approximation. If it's something big, might get deferred to the collective @larry (another non-explicit list of people, which at least includes Larry and Jonathan). Whatever the scope of the item, the discussion should get some kind of confirmation from the folks on IRC. Maybe add a tag for tickets that require a decision to make it easy to find. @AlexDaniel - Regarding my recent list of tickets, excellent question - the rakudo/moar based ones can go on the rakudo wiki, and have a link to that from the spec page. |
See a5ca28f - I added basically my notes above to the STYLEGUIDE at an attempt at closing this ticket. If there are particular issues that still need to be addressed, we can re-open the ticket and enumerate them. |
OK, according to the latest discussion (started here https://irclog.perlgeek.de/perl6/2016-12-02#i_13669580 and conclusion here https://irclog.perlgeek.de/perl6/2016-12-02#i_13669787), we decided to keep notspecced things open. The whole thing needs more clarification, so the STYLEGUIDE will definitely help, but I'll reopen this in case somebody wants to express his opinion on the issue (because the decision was kinda sudden). |
Wasn't sudden, it was "no one had anything else to say since Oct 24.". I'll close this ticket again in a week if we don't have any more actionable feedback. |
It's been a week, and no one has commented. Re-closing ticket. |
From this comment:
Indeed! We need some kind of a consensus.
Also, my thoughts from this comment:
The text was updated successfully, but these errors were encountered: