What You Missed At Microsoft's Build 2012


JavaScript Refactoring

Hanselman's keynote had a serious side too, as he demonstrated the use of TypeScript in Microsoft's Visual Studio. The integrated development environment (IDE) treats the new language as it does any other and adds features like IntelliSense and code completion. The split screen here shows TypeScript in the left-hand pane, its JavaScript counterpart in the right and the active files at far right. In the demo, Hanselman demonstrated the use of refactoring, which in JavaScript usually requires a search-and-replace function. "And when you search and replace in JavaScript, it always ends in blood," he said to more audience guffaws.