Your Choice JavaScript News

TypeScript News Tuesday, April 3 Typescript, Javascript, Book & more…

TypeScript News TLDR / Table of Contents

  • TypeScript: The Best Way to Write JavaScript
    • TypeScript: The Best Way to Write JavaScript
    • typescript, JavaScript, code, visual studio code, TypeScript compiler
  • Announcing the Second Edition of “Refactoring”
    • book, web site, paper book, refactoring,
    • Home of the Microsoft ASP.NET development community. Download Visual Studio, post to the forums, read ASP.NET blogs and learn about ASP.NET.
    • ASP.NET Core, ASP.NET Community Standup, Start learning ASP.NET, ASP.NET Core web, modern web apps
  • This means that introducing TypeScript to your current JavaScript code is easyjust rename the .
  • Theres ES6, which attempts to solve many of the issues I outlined in my WTF.js article last time in CODE Magazine.
  • For instance, examine the code below that is ES6 code, but that can be written in a TypeScript file: – – Those of us familiar with Lambda Expressions immediately understand what that code attempts to do.
  • TypeScript allows you to write exactly the same code, and run it and take advantage of it in browsers that dont support ES6 yet.
  • TypeScript converts the above code into the following: – – I encourage you to type out ES6 in TypeScript.

Tags: typescript, JavaScript, code, visual studio code, TypeScript compiler

  • The bulk of the book is a catalog of refactorings and of those 68 refactorings, all but 10 are still present, and I’ve added 17 new ones.
  • Refactoring isn’t a language specific book, its advice may have been explained with the help of examples in Java, but the refactorings apply to most languages.
  • It doesn’t attempt to include all the refactorings in the canonical book, particularly since I may well add more refactorings to the canonical web book in the future.
  • However the book industry doesn’t think that way, they expect ebooks to have the same content as the physical books, so the ebook versions of refactoring will follow that principle, at least for now.
  • And the existing book is still a fine way to learn about refactoring, the new edition is a refresh, not a necessary replacement.

Tags: book, web site, paper book, refactoring,

  • The product(s) you are about to install leverage the Web Platform Installer (WebPI) for installation.
  • By downloading and using the Web Platform Installer (WebPI), you agree to the license terms and privacy statement for WebPI.
  • This installer will contact Microsoft over the Internet to retrieve product information.
  • WebPI uses the Microsoft Customer Experience Improvement Program (CEIP), which is turned on by default, see privacy statement for more information.
  • To view which software uses CEIP, see here.

Tags: ASP.NET Core, ASP.NET Community Standup, Start learning ASP.NET, ASP.NET Core web, modern web apps

Comments are closed, but trackbacks and pingbacks are open.