Learn JavaScript and Node.js With Microsoft

Microsoft loves Open Source and loves Python. Now it appears, it loves JavaScript too? Who would have thought that sometime Microsoft would promote and train languages and frameworks not based mostly on .NET?


Ten or extra years in the past Microsoft’s curiosity in dynamic languages materialized beneath the Dynamic Language Runtime undertaking, a undertaking that aimed to port such languages to the CLR to permit them to  inter-operate with the .NET languages beneath the identical roof. I shared my ideas about in a evaluate of Pro DLR in .NET 4.0 book.

The following excerpt from that evaluate reveals the essence of the DLR:

A runtime that sits atop the CLR and hosts dynamic languages.It makes implementing a brand new language, be it a dynamic, utility or area particular one, a lot simpler to construct since you should utilize prepared made elements and leverage current performance; for instance as a substitute of implementing a GC you plug into the CLR’s GC.

IronPython and IronRuby have been simply such dynamic language ports and there was additionally third get together IronJS. However, inside a brief house of time, Microsoft axed them. As to why, there was a variety of hypothesis, as we reported in Microsoft’s Dynamic Languages Are Dying:

There have been strategies that the as soon as effectively supported undertaking (Ruby on Rails) merely clashed with Microsoft’s latest ASP .NET MVC developments.

After all you do not really need two MVC frameworks in the identical .NET growth house and whereas IronRuby may be a language it’s pure to consider Rails when contemplating an MVC framework to make use of with it. Perhaps it was feared that comparisons between a .NET Rails and ASP .NET MVC won’t have been flattering. 

Taking the matter additional, I even posed a query to Scott Hunter, Director of Program Management .NET, on his January 2019 weblog publish “Starting the .NET Open Source Revolution“, with:

Why have been the DLR based mostly languages resembling IronPython and IronRuby gone defunct? Were they victims of their success in that they have been competent opponents to the .NET languages like C#?

Scott’s reply was:

There have been deadlines the place with .NET we simply tried to do too many issues on the similar time. The DLR languages have been extra victims of us simply making an attempt to focus the fundamentals of .NET once more.

During that time-frame we have been constructing new net frameworks based mostly on competitors and beginning our open supply journey. Back then we gave prospects so many choices that it made the platform seem extra sophisticated.

Since then Microsoft has modified path. It now loves open supply and every little thing Linux, even to the prolong of porting SQL Server to it, see SQL Server on Linux, Love or Calculated Move?. Microsoft owns GitHub, see Microsoft GitHub – What’s Different,  and Visual Studio Code, the code editor that it open sourced in 2015 has continued to develop in direction of being a complicated IDE.

Alongside all this, Microsoft began embracing languages aside from C# and VB.NET. Offsprings of this love, this time, aren’t ports of these languages, however tutorials on Python, Javascript and NodeJS.

The Python sequence was launched final yr and we lined it in
Learn Python with Microsoft.

The Javascript is the most recent language to return beneath the Microsoft highlight. Beginner’s Series to JavaScript is a 51-part YouTube course aimed toward rookies in JavaScript who have already got familiarity with one other programming language. It has nearly three hours of viewing in complete. To get an summary of what the course is about and the extent at which it’s pitched a few of its most consultant snippets are: 

  • What Is JavaScript (Three minutes, 33 seconds)
  • Declaring variables (3:53) adopted by Demo (6:55)
  • Working with strings (3:19) adopted by Demo (2:47)
  • Converting strings to numbers (2:13) Demo (4:37)
  • Handling errors with attempt/catch/lastly (3:18)  Demo (3:34)
  • Boolean logic with swap and different syntax (7:08) D (9:04)
  • Creating arrays (1:30) adopted by Demo (1:46)
  • Functions (9:33) adopted by Demo (8:02)
  • JavaScript Object Notation (JSON) (4:29) Demo (6:31)
  • Promises for lengthy operating operations (9:33) Demo (8:02)
  • Async/await for managing guarantees (9:33) Demo (8:02)
  • Package administration (5:06) adopted by Demo (6:54)

 

The 26-part Beginner’s Series to Node.js can also be on YouTube. Again it’s manufactured from of bite-size snippets, three to 6 minutesd in size, together with:

  • How to put in Node.js on Windows
  • How to run JavaScript code in Node.js utilizing recordsdata or REPL
  • How to arrange VS Code for Node.js growth
  • How to work with recordsdata and directories with Node.js
  • How to create a GET API with Node.js and Express
  • How to configure VS Code to debug JavaScript Node.js apps
  • How to make use of superior debugging options in VS Code 

All of the movies are straightforward to comply with aspiring to kickstart your journey into coding with Microsoft. 
Enjoy!

msnode

 

More Information

Beginner’s Series to JavaScript

Beginner’s Series to Node.js

Related Articles

Learn Python with Microsoft or the University of Michigan

Getting Started With React For Free

aijs.rocks – JavaScript Enabled AI

IronJS – In Conversation with Fredrik Holmström

 

To be told about new articles on I Programmer, join our weekly newsletter, subscribe to the RSS feed and comply with us on, Twitter, Facebook or Linkedin.

Banner


square

 



 

Comments

or e-mail your remark to: comments@i-programmer.info

LEAVE A REPLY

Please enter your comment!
Please enter your name here