Skip to content
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

Rename "Debug" to "Development" #2210

Closed
hryx opened this issue Apr 8, 2019 · 3 comments
Closed

Rename "Debug" to "Development" #2210

hryx opened this issue Apr 8, 2019 · 3 comments
Labels
proposal This issue suggests modifications. If it also has the "accepted" label then it is planned.
Milestone

Comments

@hryx
Copy link
Contributor

hryx commented Apr 8, 2019

The existing build modes are Debug, ReleaseFast, ReleaseSafe, and ReleaseSmall. The default is Debug. This is a good default because unreachables and array bounds violations will alert developers reliably. But I think the word "debug" does not accurately describe this mode.

Debugging is a special process you go through to find the source of a problem; it's something you hope you don't have to do, and only happens when something is wrong. The name of the entire, normal process up to the point of releasing is development.

I think we should rename Debug mode to Development (or Develop) to better reflect its usage and role in the software lifecycle and to avoid a negative connotation. Thoughts?

🤔 <(hmmm)

@andrewrk andrewrk added the proposal This issue suggests modifications. If it also has the "accepted" label then it is planned. label Apr 8, 2019
@andrewrk andrewrk added this to the 0.5.0 milestone Apr 8, 2019
@andrewrk
Copy link
Member

andrewrk commented Apr 8, 2019

Related: #978

@andrewrk
Copy link
Member

One thing to consider is, say, if your main build mode is ReleaseFast, and then you want to troubleshoot a problem in one particular area so you use @optimizeFor(.Development). It would be slightly weird to ship that to production, even though that's exactly what you want to do.

@andrewrk andrewrk modified the milestones: 0.5.0, 0.6.0 Apr 30, 2019
@andrewrk
Copy link
Member

andrewrk commented Jan 7, 2020

I don't have a terribly strong opinion on this, but I'm going to close it in favor of status quo. I think Debug and Development mean roughly the same thing in this context. I do like that when switching from Debug to Release, there is an implication that you fixed all the bugs. Which makes you think, when selecting:

  • ReleaseSafe
  • ReleaseSmall
  • ReleaseFast
    With this implication that "Release" means you fixed the bugs, if you're not so sure the bugs are fixed, then you'll be more inclined to pick "Safe".

@andrewrk andrewrk closed this as completed Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal This issue suggests modifications. If it also has the "accepted" label then it is planned.
Projects
None yet
Development

No branches or pull requests

2 participants