Skip to content

Fsharp Stroustrup style guide #33171

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

Merged
merged 7 commits into from
Jan 26, 2023
Merged

Fsharp Stroustrup style guide #33171

merged 7 commits into from
Jan 26, 2023

Conversation

josh-degraw
Copy link
Contributor

@josh-degraw josh-degraw commented Dec 21, 2022

Summary

This is an attempt to update the style guide to allow for "Stroustrup" formatting as discussed in fsharp/fslang-design#706.

There may still be several points which have not been agreed upon or that need further refinement. For now this is very much still considered a work in progress.

CC: @nojaf

@dotnet-bot dotnet-bot added this to the December 2022 milestone Dec 21, 2022
@ghost ghost added the community-contribution Indicates PR is created by someone from the .NET community. label Dec 21, 2022
@dnfadmin
Copy link

dnfadmin commented Dec 21, 2022

CLA assistant check
All CLA requirements met.

Copy link
Contributor

@nojaf nojaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tremendous thanks for starting this work @josh-degraw!

@BillWagner BillWagner modified the milestones: December 2022, January 2023 Jan 5, 2023
@nojaf nojaf mentioned this pull request Jan 13, 2023
10 tasks
@josh-degraw josh-degraw requested review from nojaf and TheAngryByrd and removed request for nojaf and TheAngryByrd January 16, 2023 16:33
Copy link
Contributor

@nojaf nojaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! A solid base to get started.

@josh-degraw
Copy link
Contributor Author

@nojaf I'd also like to discuss my other comment around the name choice to use here -- whether or not "Stroustrup" is the best name and pros & cons of other options. I think better late than never but this PR is probably the point of no return for any potential style name changes.

@nojaf
Copy link
Contributor

nojaf commented Jan 18, 2023

@josh-degraw thanks for reminding me. I didn't really have much to add there.
I think it is fine but you are correct, what ends up after this PR will be the word to stick with.

@josh-degraw josh-degraw marked this pull request as ready for review January 18, 2023 17:18
@josh-degraw josh-degraw requested a review from a team as a code owner January 18, 2023 17:18
@dsyme dsyme enabled auto-merge January 26, 2023 21:24
@dsyme dsyme merged commit db96a34 into dotnet:main Jan 26, 2023
@josh-degraw josh-degraw deleted the fsharp-alignment branch January 26, 2023 22:39
Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a few final suggestions.

@josh-degraw
Copy link
Contributor Author

@gewarren Thank you for the suggestions! I'll add those changes in a follow up PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates PR is created by someone from the .NET community. dotnet-fsharp/svc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants