by DanM by DanM
Jonathan Turner of the TypeScript team has announced the release of v0.8.3 of the TypeScript compiler and Visual Studio extension. You can download it here. This will be the last interim release before the v0.9 releases. Some compiler tweaks have been made in this release as well as two improvements in Visual Studio:
- The type information displayed when you hover your cursor over TypeScript variables has been embellished further with the variable name and whether the variable is locally declared or not.
Full details of these improvements are recorded here.
Additionally, I’d like to add the following notes for v0.8.3. More...
The bugger about writing a book on an open source project is that it keeps developing while you are writing, proofing, copyediting and finally printing. This strategy can and does bite you on the arse, and has done me frequently. Two cases spring to mind:
- A book on Microsoft’s .NET My Services, codename Hailstorm back in 2001. FOur of us wrote it in six weeks based on the latest bits in time for PDC, met the deadline and got it published. Then found out as the book went to the show that Microsoft had completely axed the entire project.
- A book on the open source wiki software Zope which spent so long trying to catch up with the terrifyingly frequent software releases being made to Zope at the time, that the whole project imploded.
It’s not a surprise that there are already some addenda for ‘TypeScript Revealed
’. It’s just disappointing that TypeScript v0.8.2
was released the same day as the book was and includes a couple of main new features which I would have certainly included were they available at the time.
It's only been a few months since TypeScript was released on October 1 last year, but I'm pleased to say that my new book 'TypeScript Revealed' is being published on January 23 by Apress. I think my original title, 'A First Look At TypeScript' is a more accurate description of its contents, but there are series titles to be considered :-) It's a modest 100 pages or so and is available in both paper and e-book formats. It covers up to v0.8.1.1.
Download the code samples for this book (175 KB)
Here's the full table of contents:
- What is TypeScript?
Covers the need for TypeScript, what it does and doesn't do, and how to install it in Visual Studio, node.js, and Sublime Text
- The New Syntax
Covers the type system, functions (parameter types, overloading and arrow), classes, interfaces, modules and features yet to come. Also notes the refactoring options in Visual Studio.
- Working With TypeScript
Covers the compiler, generating \ sourcing declaration files, integrating TypeScript into your own projects, and how it fits into the development lifecycle.
Apress' official page for the book. Please use this link to submit any errata for this book.
I've also started a Facebook page for the book containing any new TypeScript articles and links.
Buy it on Amazon UK, Amazon US, Barnes and Noble, and Book Depository (UK)
On March 27 last year, Mark Rendle put an idle call out into the ether for help with the documentation for his Simple.Data project. At a loose end, I said yes...
It has been a busy nine months in the world of Simple.Data.Docs. Mark has been busy, releasing no fewer than 16 new builds of Simple.Data.Core from v0.16 to v0.18.3 / 1.0.0-rc3 since that time which have been collectively downloaded some 9110 times according to nuget.org. I'd like to hope that the documentation that's being slowly assembled is to your satisfaction. It's gratifying to note that since adding in some counters in early October, we've had some 22600 page views (14500 unique) from 4500 visits (1700 unique) to the doc site and 2 complaints so it can't be all bad.
This is the second of a number of posts derived from the documentation for Simple.Data that I’m compiling and writing at the moment. The code here is part of the Simple.Data.Sample project on github.
Simple.Data is bloody clever at times but quite easy to get confused by. The most common confusion is between using commands that return multiple results as a SimpleQuery object and those that return a single results as a SimpleRecord object. With the return type hidden under the veil of ‘dynamic’ it’s easy to lose track and try to call a method on one that only works on the other. It’s the main reason for Mark to deprecate the FindBy method for v1.0. The second most common is around the subject of lazy\eager-loaded JOINs and what that means in your code.