loading...
Cover image for TypeScript and C# both were created by the same person named Anders Hejlsberg ๐Ÿ‘ ๐Ÿ’ช ๐Ÿ”ฅ(with video)
The Destro Dev Show

TypeScript and C# both were created by the same person named Anders Hejlsberg ๐Ÿ‘ ๐Ÿ’ช ๐Ÿ”ฅ(with video)

destro_mas profile image Shahjada Talukdar ใƒป1 min read

I went to one TypeScript meetup recently and talked to a few developers there.

Surprisingly, a lot of people don't know that both languages were designed by the same person.

Yes, his name is Anders Hejlsberg
https://en.wikipedia.org/wiki/Anders_Hejlsberg

He also created Turbo Pascal and Delphi ๐Ÿ˜ฎ

He was invited to JavaScript Air Podcast in 2016 along with the creator of FlowType Jeff Morrison.

It's an old video which I watched when it was released. I request all to watch this too.

And some fun things are - TypeScript has really a lot of similarities to C#

If you already know TypeScript, I would say please check out C# for few hours or vice versa!

TypeScript is getting a lot of Popularity and I think knowing a bit of them could be a benefit.
Happy learning ๐Ÿค“

Cheers!
๐Ÿ‘‹

As I am trying to contribute contents on the Web, you can buy me a coffee for my hours spent on all of these โค๏ธ๐Ÿ˜Š๐ŸŒธ
Buy Me A Coffee

Posted on by:

destro_mas profile

Shahjada Talukdar

@destro_mas

Senior Software Engineer @eBay. Tech enthusiast, loves JS + few other languages. Keen to learn about Software Engineering/Architecture. ๐Ÿ‘‹

The Destro Dev Show

Hub for Cutting edge Software/Web development Podcast and tutorial. made with โค๏ธ in Berlin!

Discussion

markdown guide
 

Typescript is so far ahead of Javascript it's not funny.

 

Totally not the case since TypeScript is really just a type system for JavaScript (see superset) and provides syntactical sugar for getting at the true nature of ECMAScript's prototypal object oriented programming paradigm for the uninitiated.

 

Your argument is the same as assembly language people (35 years ago) said about compiled languages never being able to beat the power of assembly.

Typescript is 2 years ahead of ECMAScript standards and will always have more features. It truely is a superset of Javascript.

"my tone control is way better than my stereo"

Line 6 has preamped effect units for guitar amps. What they accomplish is miraculous.

Typescript is a preamp effect unit.

 

If I understood your comment correctly, it seems like that's true for FlowType.

TS is not a syntactical sugar, it's a standalone Language.

What do you mean? It still transpiles to js for the browser, no? I know it has the tsnode tools, but I'm not really sure what that's doing.

Yes, it can transpile to JS.

For more info, please have a look here

reactjs.org/docs/static-type-check...
typescriptlang.org/

The question wasn't if it can, it was if it always does. I know it has its own compiler, tsc.....but can u run typescript without ever having any js under the hood?

 

You can see he has an inclination for using : , present in all C#, TS and Pascal.

If you look at TS's history its beautiful to see the strong swerve from "just a classic OOP language" at around ~1.6, moving closer to FP. They surely do master taking feedback from the community.

 

This guy is a Master.
He told that inside Typescript codebase there is no class. They just used functions over functions ๐Ÿ˜

 

It's funny you post this just now, I only published an online C# to TypeScript converter yesterday! It specifically exploits all the similarities to make a pretty good stab at conversion (app.typesharp.co if you want to see what I mean. It's very alpha).

 

Nice to know, seems interesting!
I will have a look.
I shared it now as I have been to a meetup recently and got it still people don't know it.
Seems like good timing with your thingy ๐Ÿ˜Š

 

Thanks! I think, judging by the time your blog was posted it was within the hour that I posted my thing online! It's been building in the background to help another product I'm working on, but it's quite fun seeing the conversions etc. I love both C# and TypeScript, I'm genuinely not sure which I prefer coding in!

 

That's not true! Anders did not create TypeScript!

Scott Hanselman himself says that in a comment on his blog: hanselman.com/blog/WhyDoesTypeScri...

Common from Tuesday, October 02, 2012 2:04:19 PM UTC says:
"Frans - Anders didn't write it, he joined the project late. The team is just a few people, compared to hundreds (thousands?) on .NET. You're giving TypeScript more gravitas than needed, perhaps because Anders is involved."

UPDATE:
Here's more information on who created TypeScript:
zdnet.com/article/who-built-micros...

 

Ok, ceded... but the fact he's on the team seals the deal.

 

Fine if it does for you, no problem :)
The problem is people are spreading this lie about Anders Hejlsberg being creator of TypeScript instead of giving credit to real creators.

When I saw this announcement 7 years ago, by the man himself. I assumed he was heading up the project. I didn't know anything else at the time.

 

And that's why I felt natural using TS.
I started coding with C# and for some reason moved to web development.
I'm glad he gave us such gift.
Kudos ๐Ÿ‘Œ๐ŸคŸ

 

In fact, I also started my career as a C#/.Net developer and mostly worked with ASP.Net.

 

Dan Abramov also started his career with C#.
I heard it on a podcast ย ๐Ÿ™‚

Same, and then I made a switch in 2016.

I wrote about it here for anyone interested.

Everybody at some point we used C# before ๐Ÿค˜

 

And if you ignore some small syntax and keyword differences you'll find similarities between dart, java(fx), kotlin, swift, typescript, c#, groovy, ruby, scala even incoming features of vanilla Js (ecmascript). If you are business app developer these days, and understand the core concepts implemented everywhere, will not have any problem switching.

 

Exactly!
In fact seems like ESnext is getting inspiredfrom TypeScript <- C#

 

Anders is my spirit nerd. Delphi, C#, Linq FFS.. Brilliance

 

He makes me proud to be a danish software engineer ๐Ÿ˜„

 
 
 

So much fun with Turbo Pascal back in the โ€˜80s!!!

 
 

Editor and compiler in a 39 Kb .COM file. In-memory compilation, so it was super fast (especially compared to the disk-based Pascal compilers of the time). It was priced right, too, so it got a lot of people into programming.

Some people even wrote little add-ins that modified the .COM file to add functionality. I remember using a debugger like that.

Sounds like nothing today, but that was a much different time.

 

funfact : He also said that he would never create a new programing language without being Open Source project.

Being a creator of "two" beautiful languages, I think he knows what he's saying.

 
 

I learned Delphi as my first language, and I was born in 1995