|//No Comment - TypeScript 2.1 RC, Octave 4.2 & Scala 2.12.0|
|Written by Ian Elliot|
|Friday, 18 November 2016|
• TypeScript 2.1 RC
• Octave 4.2
• Scala 2.12.0
Sometimes the news is reported well enough elsewhere and we have little to add other than to bring it to your attention.
No Comment is a format where we present original source information, lightly edited, so that you can decide if you want to follow it up.
Support for down-level asynchronous functions (or async/await) is coming in 2.1, and you can use it in today's release candidate! async/await is a new feature in ECMAScript 2017 that allows users to write code around promises without needing to use callbacks. async functions can be written in a style that looks synchronous, but acts asynchronously, using the await keyword.
This feature was supported before TypeScript 2.1, but only when targeting ES6/ES2015. TypeScript 2.1 brings the capability to ES3 and ES5 runtimes, meaning you'll be free to take advantage of it no matter what environment you're using.
The second big feature is improved type inference:
With TypeScript 2.0 we built out a foundation of using control flow analysis to track the flow of types throughout your program. Because that analysis examines the assignments of every variable, we've leveraged that same foundation in TypeScript 2.1 to more deeply examine the type of any variable that seems like it's destined for a better type. Instead of just choosing any, TypeScript will infer types based on what you end up assigning later on.
Octave is one of the best kept secrets of the open source world. It is MatLab that tends to get all of the glory and even when programmers use Octave they tend to say that they have written in the better known Matlab. Octave is essentially an open source version of MatLab.
And if you don't know what MatLab is you probably aren't going to be much interested in Octave but for the record it is a number crunching language which has many matrix and advanced math operations built in and has the ability to execute many algorithms in parallel.
If you want to know more see: A Programmer's Guide To Octave
The new version has lot of minor changes most of which bring it close to the commercial version of MatLab.
There are also some new ways of entering numeric and text values.
Scala, best described as a strongly typed functional programming language that runs on the JVM is available in a new version which makes use of many Java 8 features.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Wednesday, 30 November 2016 )|