Hi, reading the book now, it’s fantastic, I’ve found my C-replacement! Can’t wait to get to the parts on allocators and debuggers!
One thing I’ve noticed is that there’s not much about switch
in there, beside how it’s used with enums and unions. For example I love how it can deal with ranges for numbers like case 0..<10:
, or case 'a'..='z':
, or that there is no default:
, but instead it uses case:
. I think these would be worthwhile additions.
Have a nice day!