Open DickBaker opened 2 years ago
Hi Dick,
1a. The PrimeFactors.sln
file references the three exercise files: https://github.com/markjprice/cs10dotnet6/blob/main/vs4win/Chapter04/PrimeFactors.sln
1b. I will update the Chapter04.sln
to add the other two projects. Thank you.
readonly
keyword is introduced in Chapter 5. The reader is introduced to language features like this slowly to build up their knowledge. Early chapters deliberately use simpler concepts to avoid overwhelming them.
Developers can uncomment out those statements when they are ready to see what they do. But until then they should stay commented to match the "working through the book" experience.
An implementation of FibImperative
that uses switch
expressions is shown in FibFunctional
. The point of step-by-step tasks in an educational book is to build up from traditional style of coding to more modern style of coding so the reader can see the diffences and benefits.
and 6. and 7. This repository is used to share the code samples for the book. Almost all readers just download the ZIP and do not use Git. Unlike most repos on GitHub that are for real projects and only include the current best practice code and configuration, this one is not a repo that readers usually PR, although they are free to do so. I make choices that work best for a learning experience, not what would be used in a real world project.
Chapters 13 to 19 are in the PracticalApps
folder: https://github.com/markjprice/cs10dotnet6/tree/main/vs4win/PracticalApps
I am submitting a PR with my contrib to the above (use diff to clarify). BTW Chapter04 caught my eye with MJP's recent commit but other Chapters probably similarly afflicted.