ElegantCode

A software blog

5 Dec
2013

Either.js

Category:UncategorizedTag: , :

Some time ago, I was watching this excellent video course by Neal Ford titled ?Functional Thinking ? Functional Programming using Java, Clojure and Scala?. In one of the modules on functional data structures, Neal talks about this container type in Scala named Either. The Either type in Scala represents one of two possible values, a […]

Read More
29 Nov
2013

Convert an existing WinJS app to use TypeScript

Category:General PostTag: :

I recently published a little sample project up in the ToTypeScriptD github organization that walks through converting a new Windows 8 WinJS application to TypeScript. It’s intended to show some of the basic first steps it takes to convert a project over to TypeScript and also how you can leverage ToTypeScriptD to help automatically generate […]

Read More
23 Nov
2013

Calling Actual Developers for Agile 2014

Category:General PostTag: :

Not only did the XBone RTM this week, but the call for papers for Agile 2014 opened. This year my friend K. Scott Allen and I are fortunate enough to be the chairs for the Development Practices and Craftsmanship track. And that means I am really hoping to hear from this community in the submissions […]

Read More
31 Oct
2013

Introducing ToTypeScriptD – Automatic TypeScript Definition files for C++/CX or .Net assemblies.

If you’re unfamiliar with TypeScript, I’d highly recommend checking it out. It’s my new preferred way to write JavaScript based applications. If you write an application in TypeScript and need to interact with an external set of either JavaScript or C++/CX dependencies then you will quickly find that you are going to be mucking with […]

Read More
24 Oct
2013

Family vNext

Category:General PostTag: :

For readers of this blog, it is not news that my family uses agile-inspired practices to manage our responsibilities and commitments to each other. Plenty of other families are doing the same, and creating their families as learning organizations. Many people tell me, ?We?ve been doing things like that in our family, too!? And yet, […]

Read More
14 Oct
2013

Detecting the End of a Rainbow Inside a Writable Stream

Category:UncategorizedTag: :

I was implementing a custom writable stream in Node.js the other day when I ran into this issue where I wanted to know whether more data was coming or that we were actually done writing stuff. When looking at the recently revised API for stream implementers, the only thing that gets mentioned in the docs […]

Read More
23 Sep
2013

Announcing Code Health Metrics for CodeLens – A DevLabs Project

One year ago I moved from Boise, Idaho, to Redmond, Washington, to work for Microsoft. At the time of our move, I owned a stretch-cab 1995 Ford F-250 four-wheel-drive pickup. That wasn’t going to work in the traffic of suburban Seattle, and I don’t foresee pulling a horse trailer here (or my buddy out of […]

Read More
31 Aug
2013

TypeScript Presentation at the Northern Nevada Software Developers Group (NNSDG)

Category:General PostTag: :

This past week I gave a talk on TypeScript which was fun and well received. If you have any interest in the slides they are hosted up on GitHub http://staxmanade.github.io/TypeScriptPresentation/#/1 Or if you just want to look at the talk in MarkDown https://github.com/staxmanade/TypeScriptPresentation/blob/master/TypeScriptPresentation.md The markdown page is useful for a quick lookup on syntax if […]

Read More