Skip to content

Remove random package Random prefixes. #333

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

terrorbyte
Copy link
Collaborator

Having every function prefixed with Random is redundant and can sometimes cause more confusion than it helps. This is a pretty big change and should not be merged until supported packages can change.

Having every function prefixed with Random is redundant and can
sometimes cause more confusion than it helps. This is a pretty big
change and should not be merged until supported packages can change.
@terrorbyte terrorbyte added documentation Improvements or additions to documentation enhancement New feature or request proposal labels Mar 20, 2025
@terrorbyte terrorbyte requested a review from j-baines March 20, 2025 21:14
@terrorbyte terrorbyte self-assigned this Mar 20, 2025
@j-baines
Copy link
Contributor

j-baines commented Mar 24, 2025

This would break the API. Unless you are proposing a major version bump, which I'd be hard pressed to agree with, this is sort of DOA. While I agree that the naming scheme is imperfect, it's certainly not worthy of breaking others integrations nor introducing a major version update.

@terrorbyte
Copy link
Collaborator Author

Fair and reasonable. I considered deprecating the old functions but leaving them to keep stability. I'll make a issue and maybe add a "api-break" change comment leading here.

@terrorbyte terrorbyte marked this pull request as draft March 27, 2025 22:15
@terrorbyte terrorbyte added the api-break Requires breaking the API, tag these for things that are wanted for a major version bump label Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-break Requires breaking the API, tag these for things that are wanted for a major version bump documentation Improvements or additions to documentation enhancement New feature or request proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants