5th Edition Early Access #2 is out today. The main changes in this update are:
- Quite a bit of rework on how the book talks about namespaces in Level 3 and a whole lot of rework and rewriting in Level 33 (“Managing Larger Programs”).
- A very substantial rework of Level 29 (“Records”) to talk about records as a compact way to create both classes and structs rather than as an entirely different entity from the other two. This reflects how records are evolving in C# 10, and I think this version makes them very easy to explain and understand.
- Some small tweaks to the samples the “Indexers” section of Level 41 to address some minor concerns I had about how it deals with the properties and immutability.
- A small change to the “Reflection” section in Level 47 to call out the
System.Reflectionnamespace. This felt important to do, since
usingdirectives are not needed nearly as often as they were in C# 9 and earlier.
- I added a mention to
int.Parse(and friends like
double.Parse) in Level 6 when it brings up the
Convertclass. The two are largely interchangeable, and some people like
Convert.ToInt32. This had the added benefit of fixing a consistency problem in the Structs level where
int.Parseis thrown out as an example without having ever been discussed before, and was not formally introduced until Level 34.
- I fixed an issue where the bonus levels were all getting the number “0” instead of “A”, “B”, and “C”.
There’s still a fair bit of work to do. Here are the main items:
- Another revision pass through the whole book to do the following:
- Update screenshots.
- Fix consistency issues.
- Identify any other large issues that need attention.
- Changes to make the cover of the 5th Edition stand out from 4th Edition a bit better.
- Adding solutions for 5th Edition. While the challenges have all remained the same, some of the language changes mean each of the challenges deserve some minor tweaks to correctly reflect the “right” way to do things.
That first item is the big one. I’ll have a much better idea on how much effort really remains when that is well underway or finished. And that’s the focus of this coming week.