Monday, October 3, 2016

Pascal legacy continues?

The guy who invented Turbo Pascal and C# now has another thing: Typescript that "compiles" into javascript. See https://en.wikipedia.org/wiki/TypeScript.. that is the basis of Angular 2.

So all the OO Aficionados who wants javascript do some OOP can do so now using Typescript translated into javascript. (well, raw javascript does support some OOP just not the keywords that C++/Java developers are familiar with). See https://learnxinyminutes.com/docs/typescript/.

There is also this NativeScript that gets me a bit confused now: https://www.nativescript.org/using-typescript-with-nativescript-when-developing-mobile-apps. Now cross platform mobile apps can be in somewhat Pascal like?

Here is the quickstart guide for Angular 2: https://angular.io/docs/ts/latest/quickstart.html.

Ok this isn't exactly Pascal like... A lot of new syntax here. Pascal/C was simple... Even javascript is fairly straightforward.

Now something that translates/compiles into javascript... why don't I write javascript directly?

Seems like nowadays you MUST install Node.js npm thing to install anything these days. Command-line thing, boom crank out skeleton-but-hard-to-understand-things. Why can't people produce something that is more straight forward. Excuse-me how do I run it?

After taking an initial look, it doesn't seem like programming mobile apps is any easier now.

No comments: