Browse by Tags

All Tags » Books (RSS)

Where do you benefit from dynamic typing?

Disclaimer: I don't want this to become a flame war in the comments. I'm coming from a position of ignorance, and well aware of it. While I'd like this post to provoke thought , it's not meant to be provocative in the common use of the...
Posted by skeet | 40 comment(s)
Filed under: , ,

Contract classes and nested types within interfaces

I've just been going through some feedback for the draft copy of the second edition of C# in Depth. In the contracts section, I have an example like this: [ContractClass( typeof (ICaseConverterContracts))] public   interface ICaseConverter {...
Posted by skeet | 9 comment(s)
Filed under: , , ,

Generic collections - relegate to an appendix?

(I tweeted a brief version of this suggestion and the results have been overwhelmingly positive so far, but I thought it would be worth fleshing out anyway.) I'm currently editing chapter 3 of C# in Depth. In the first edition, it's nearly 48...
Posted by skeet | 16 comment(s)
Filed under: ,

Recent activities

It's been a little while since I've blogged, and quite a lot has been going on. In fact, there are a few things I'd have blogged about already if it weren't for "things" getting in the way. Rather than writing a whole series...

The "dream book" for C# and .NET

This morning I showed my hand a little on Twitter . I've had a dream for a long time about the ultimate C# book. It's a dream based on Effective Java , which is my favourite Java book, along with my experiences of writing C# in Depth. Effective...
Posted by skeet | 33 comment(s)
Filed under: , ,

Tricky decisions... Code Contracts and Parallel Extensions in C# in Depth 2nd edition

I'd like some feedback from readers, and I suspect my blog is the simplest way to get it. I'm currently writing chapter 15 of C# in Depth, tentatively about Code Contracts and Parallel Extensions. The problem is that I'm 15 pages in, and I...
Posted by skeet | 83 comment(s)
Filed under: , ,

Faking COM to fool the C# compiler

C# 4 has some great features to make programming against COM components bearable fun and exciting. In particular: PIA linking allows you to embed just the relevant bits of the Primary Interop Assembly into your own assembly, so the PIA isn't actually...
Posted by skeet | 1 comment(s)

Books going cheap

I'm delighted to say that Manning is having a promotional week, with a one-day discount voucher on each of the books I've been working on. Here's the list of what's going cheap when: Tuesday July 7th: C# in Depth, 1st edition - 50% off...
Posted by skeet | 20 comment(s)
Filed under:

Dynamic type inference and surprising possibilities

There have been mutterings about the fact that I haven't been blogging much recently. I've been getting down to serious work on the second edition of C# in Depth, and it's taking a lot of my time. However, I thought I'd share a ghastly...
Posted by skeet | 9 comment(s)
Filed under: , ,

RFC: C# in Depth 2nd edition, proposed changes and additions

As I've mentioned in passing before now, I've started working on the 2nd edition of C# in Depth, to roughly coincide with the release of C# 4 and Visual Studio 2010. So far I've just been thinking about what should be added and what should...
Posted by skeet | 45 comment(s)
Filed under: ,

Current book project: Real World Functional Programming

Now that it's all official, I can reveal that since the tail end of last year I've been helping out with Real World Functional Programming by Tomáš Petříček (and me, ish). I'm doing the same kinds of things I did with Groovy in Action , coming...
Posted by skeet | 14 comment(s)
Filed under:

New version of Data Structures and Algorithms book now online

Some of you may remember an earlier post about a free Data Structures and Algorithms book which I'm occasionally helping out with in terms of editing. I've just been told that a new version has recently been uploaded - please check it out. I have...
Posted by skeet | 3 comment(s)
Filed under:

The Snippy Reflector add-in

Those of you who've read C# in Depth will know about Snippy - a little tool which makes it easy to build complete programs from small snippets of code. I'm delighted to say that reader Jason Haley has taken the source code for Snippy and built...
Posted by skeet | 9 comment(s)

Why boxing doesn't keep me awake at nights

I'm currently reading the (generally excellent) CLR via C# , and I've recently hit the section on boxing. Why is it that authors feel they have to scaremonger about the effects boxing can have on performance? Here's a piece of code from the...
Posted by skeet | 26 comment(s)

Book Review: Programming C# 3.0 by Jesse Liberty and Donald Xie

Resources The O'Reilly page (errata etc) Jesse Liberty's page for his various books Buy it from Amazon or Barnes and Noble Disclaimer One reader commented that a previous book review was too full of "this is only my personal opinion"...
Posted by skeet | 14 comment(s)
Filed under: , ,

Logging enumeration flow

I'm currently reading Pro LINQ: Language Integrated Query in C# 2008 by Joe Rattz and yesterday I came across a claim about Enumerable.Intersect which didn't quite ring true. I consulted MSDN and the documentation is exactly the same as the book...
Posted by skeet | 12 comment(s)
Filed under: , ,

Data Structures and Algorithms: new free eBook available (first draft)

I've been looking at this for a while: Data Structures and Algorithms: Annotated reference with examples . It's only in "first draft" stage at the moment, but the authors would love your feedback (as would I). Somehow I've managed...
Posted by skeet | 2 comment(s)
Filed under: , ,

Book review: Accelerated C# 2008 by Trey Nash

Time for another book review, and this time it's a due to a recommendation from a reader who has this one, C# in Depth and Head First C#. Resources Amazon Barnes and Noble Publisher's page (Apress) Introduction and disclaimer My normal book review...
Posted by skeet | 21 comment(s)
Filed under: , ,

Calling Trey Nash...

Okay, this is a slightly odd post, but with any luck it'll prove successful. As I've mentioned before, I'm currently reading through Trey Nash's "Accelerated C# 2008". I'm writing down errata as I go, but so far the only...
Posted by skeet | with no comments
Filed under:

Judging a book by its cover (or title)

I've ranted about versioning before (and indeed in C# in Depth). I still believe that Microsoft didn't do the world any favours when they introduced a relatively minor set of changes (just libraries, albeit important ones) with .NET 3.0 and a...
Posted by skeet | 19 comment(s)
Filed under: , ,
More Posts Next page »