I have a very difficult task ahead of me with the EF4 version of my book. The book is already over 800 pages and will only get longer with all of the new features in Entity Framework 4. However O’Reilly has tasked me to keep the book to 800 pages. Something has to give.
I am very proud of the fact that the first edition has every example in both Visual Basic and C# even though it greatly added to the length of the book.
This is where I’ve been asked to allocate the additional space. I must use only one language.
Although I have been a VB programmer for a long time, there is no hiding the fact that VB focused books are trailing in sales by orders of magnitude behind books with C# code. I wish it weren’t the case.
So it’s going to have to be the VB that gets cut and I’m going to have to hone my C# skills even further.
I am not happy. I wouldn't want to cut C# either. I truly want to continue providing samples in both languages. And I do not want to contribute to the questions about the future of VB.
With the first edition I provided code samples on-line for all of the big samples that are in the book – in both language. What I plan to do for the 2nd edition is include all of those query examples from Chapters 3 & 4 in my online examples. I probably won’t do entire console apps but provide them for use in LINQPad which anyone writing LINQ queries should be using anyway. There is even a free version – though you’ll probably quickly realize that shelling out $25 for intellisense-like support is well worth it.
I know this is not going to be satisfactory for oh so many VB coders but I’m between a rock and a hard place. Although I am relatively fluent in C# these days, I do remember how aggravating it was to have to try learn concepts that were presented using C# and always have to translate translate translate. It’s not fair. I hope that the extra effort I make to get the VB code out there will help.


