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 (39)

Collapse
 
jwp profile image
John Peters

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
John Peters • 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
John Peters

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

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

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

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
 
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
John Peters

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
John Peters

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
 
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 • Edited

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

Collapse
 
metalmikester profile image
Michel Renaud

So much fun with Turbo Pascal back in the ‘80s!!!

Collapse
 
destro_mas profile image
Shahjada Talukdar

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

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

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

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

👋 guys!

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

😀
For sure!

Collapse
 
destro_mas profile image
Shahjada Talukdar

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

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

Interesting 😀