-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
[idea] Rename module
into teal_module
(and also modules
into teal_modules
)
#1035
Comments
While maintain neutrality on the proposal - should we prioritize this discussion and make a decision right away, so that if decision is a "go", we can squeeze it in before CRAN release? |
Yes - I think it's a good idea to prioritise it. I think it's rather a small item so I expect it to be a quick one. |
I'm not too sure about this. Changing the function name means that this will impact the modules as well. So we probably need to do a very thorough test of all modules. I just feel like it's adding more pressure to our releases. Can we do this after release so we can have time to strategize this carefully? |
How about starting a deprecation cycle right now? So we will be having something like that:
This way we will be having old code fully functional (but with a deprecation warning). |
I think this is possible, and I don't see any immediate risks. |
I like the idea. And, this would be the only time when we could do this breaking change without many users getting affected by it, as we release it for the first time on CRAN. And since it's going to be just soft-deprecation I don't see any risks. |
I think "strategize carefully" and "squeeze it in" don't go together well. Regarding consistency, we do have Introducing this change now can very well blow up in our faces and I will oppose it on this basis alone unless someone proves that it will only take one day to apply it throughout. This includes core packages, modules, gallery, catalog, unit test descriptions and all documentation. |
Personally, I don't mind |
|
Yeah, so we either do it now or never. There is slight benefit of having From the first glance you might think this is just a global substitution in
I'm fine with the change, but I wouldn't be comfortable doing it on my own and risking on my own the verification of all other places, just to change a name, which probably in most cases is already pre-fixed with |
Thanks for the input, everyone. I agree that the teal prefix would make the code look consistent, but I also can't recall an instance when a user approached me about confusion with the current naming convention. However, I do share the sentiment about how this change could affect our timeline and workload if something unexpected arises. Ultimately, I think the timing is not ideal, and I don't want to gamble on this. We still haven't decided the roadmap to teal 1.0, and there's a chance that we will be doing another big update. Perhaps we can introduce this change then. We can have a longer deprecation period, allowing us to have ample time to discuss and double-check everything. |
Thanks everyone for your input!
This is exactly my thoughts also! Which is why I hope we can make a "go" or "no-go" decision now, and with the understanding that we will have to live with whatever the consequence of this decision for a while (until the next big refactor on Summarizing everyone's inputs:
Taking in all of the above, the potential benefit of renaming does not seem strong enough to outweigh the difficulty of successful and timely execution, so I would conclude it as "no-go", and we will be sticking with |
Discussion resurfaced on this comment: #1357 (comment) Regarding |
Well, it's not two weeks before release this time 😂 |
A proposal: rename
module()
intoteal_module()
(and similarilymodules()
intoteal_modules()
).Reasons:
data
that accepts whatteal_data()
returnsmodules
argument value andmodules()
functionAs a result we would be having something like this:
I think it would more more consistent. Please tell me what you think about this.
This is a breaking change so it needs to be executed with appropriate deprecation strategy and so on.
The text was updated successfully, but these errors were encountered: