DEV Community

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

Posted on

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

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

Top comments (40)

Collapse
ย 
jwp profile image
JWP โ€ข

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

Collapse
ย 
jonjonsiler profile image
Jonathan Siler โ€ข

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.

Collapse
ย 
jwp profile image
JWP โ€ข โ€ข Edited

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.

Thread Thread
ย 
jonjonsiler profile image
Jonathan Siler โ€ข

"my tone control is way better than my stereo"

Thread Thread
ย 
jwp profile image
JWP โ€ข

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

Typescript is a preamp effect unit.

Collapse
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข

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.

Thread Thread
ย 
euler2718 profile image
John Corley โ€ข โ€ข Edited

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.

Thread Thread
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข

Yes, it can transpile to JS.

For more info, please have a look here

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

Thread Thread
ย 
euler2718 profile image
John Corley โ€ข

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?

Collapse
ย 
joshcomley profile image
joshcomley โ€ข

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).

Collapse
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข

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 ๐Ÿ˜Š

Collapse
ย 
joshcomley profile image
joshcomley โ€ข

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!

Collapse
ย 
gikdev profile image
Mohammad Mahdi Bahrami โ€ข

I wish we also had app.sharptype.co ...

Collapse
ย 
wkrueger profile image
wkrueger โ€ข โ€ข Edited

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.

Collapse
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข โ€ข Edited

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

Collapse
ย 
hiredgunhouse profile image
hiredgunhouse โ€ข โ€ข Edited

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...

Collapse
ย 
jwp profile image
JWP โ€ข

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

Collapse
ย 
hiredgunhouse profile image
hiredgunhouse โ€ข

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.

Thread Thread
ย 
jwp profile image
JWP โ€ข

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.

Collapse
ย 
metalmikester profile image
Michel Renaud โ€ข

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

Collapse
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข

Wow! Never tried ๐Ÿ˜€

Collapse
ย 
metalmikester profile image
Michel Renaud โ€ข

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.

Collapse
ย 
manuelojeda profile image
Manuel Ojeda โ€ข

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 ๐Ÿ‘Œ๐ŸคŸ

Collapse
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข

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

Collapse
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข โ€ข Edited

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

Thread Thread
ย 
nickytonline profile image
Nick Taylor โ€ข

Same, and then I made a switch in 2016.

I wrote about it here for anyone interested.

Thread Thread
ย 
manuelojeda profile image
Manuel Ojeda โ€ข

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

Thread Thread
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข

๐Ÿ‘‹ guys!

Collapse
ย 
tomavelev profile image
Toma โ€ข

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.

Collapse
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข

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

Collapse
ย 
jakenuts profile image
James White โ€ข

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

Collapse
ย 
marcus-sa profile image
Marcus S. Abildskov โ€ข

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

Collapse
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข

๐Ÿ˜€
For sure!

Collapse
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข

He is a legend!

Collapse
ย 
borisimple profile image
Boris Krstiฤ‡ โ€ข

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.

Collapse
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข

That sounds really cool!

Collapse
ย 
tayambamwanza profile image
Tayamba Mwanza โ€ข

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

Collapse
ย 
destro_mas profile image
Shahjada Talukdar The Destro Dev Show โ€ข

Interesting ๐Ÿ˜€