Skip to content

F# 6 doc revamp #26727

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 30 commits into from
Nov 3, 2021
Merged

F# 6 doc revamp #26727

merged 30 commits into from
Nov 3, 2021

Conversation

dsyme
Copy link
Contributor

@dsyme dsyme commented Oct 29, 2021

A set of updates for F# 6. WIP, no need to review yet

  • Add docs for task expressions
  • Move "Introduction to Functional Programming" to be a tutorial and change order in learning sequence
  • Simplify language in various places, e.g. "Asynchronous and Concurrent Programming" is not needed
  • Use "Async expressions" instead of "Asynchronous workflows" systematically
  • Remove Newtonsoft.Json
  • Remove Visual F# branding
  • Add information on entry points and console apps

cc @KathleenDollard

@dsyme
Copy link
Contributor Author

dsyme commented Oct 29, 2021

This is ready for review.

@dsyme dsyme marked this pull request as ready for review October 29, 2021 18:56
Copy link

@lobrien lobrien left a comment

Choose a reason for hiding this comment

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

Just some style notes.

@fsoikin
Copy link

fsoikin commented Oct 29, 2021

Just curious: why is it that "we want less emphasis on Functional Programming"?

@smoothdeveloper
Copy link
Contributor

Looks good, I was wondering about FSharpWorks versus FSharpSample, unless @tpetricek objects.

For me "FSharpWorks" in a sample documentation implies that it may "not work" (which is a bit irrational, I know...), while a sample is just a sample (which just dotnet build "works").

@fsoikin: FP is still homonymous for "hard to hire" for people deciding on both tech stack & hiring/HR staffing on their projects; while F# aims to be the VB of FP kind of (under a certain perspective, if that offends some).

@dsyme
Copy link
Contributor Author

dsyme commented Oct 30, 2021

Looks good, I was wondering about FSharpWorks versus FSharpSample, unless @tpetricek objects.

Thanks, good suggestion

Just curious: why is it that "we want less emphasis on Functional Programming"?

In docs and messaging we've made the decision to focus on "F# programming" first and foremost, including its qualities, (succinct, robust, performant). We then let the various modes of use of F# emerge from that - "functional" being one of them. Thus the learning sequence is

Learn basic programming --> Learn techniques, concepts and paradigms relevant to your tasks

rather than

Learn the functional paradigm --> Learn basic programming

@dsyme dsyme changed the title Start F# 6 doc revamp F# 6 doc revamp Nov 1, 2021
@dsyme
Copy link
Contributor Author

dsyme commented Nov 2, 2021

This is ready // cc @gewarren @KathleenDollard

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 some grammar suggestions - please batch them. Thanks for updating the docs!

dsyme and others added 13 commits November 2, 2021 18:15
@dotnet dotnet deleted a comment from gewarren Nov 2, 2021
@dsyme dsyme merged commit 049a1a7 into dotnet:main Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants