A proposal for type syntax in JavaScript
-
Today we’re excited to announce our support and collaboration on a new Stage 0 proposal to bring optional and erasable type syntax to JavaScript.
It's a type!
And I'm sure no one will mention the "Embrace, Extend, Extinguish" memo.
-
Today we’re excited to announce our support and collaboration on a new Stage 0 proposal to bring optional and erasable type syntax to JavaScript.
It's a type!
And I'm sure no one will mention the "Embrace, Extend, Extinguish" memo.
:laugh: So if JavaScript, the champion of duck-typed languages, embraces type checking, I wonder if the insanity of other duck-typed languages will finally begin their slow demise. Or adopt the type!
Latest Article:
Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a Domain -
:laugh: So if JavaScript, the champion of duck-typed languages, embraces type checking, I wonder if the insanity of other duck-typed languages will finally begin their slow demise. Or adopt the type!
Latest Article:
Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a Domain -
Meanwhile, strong-typed languages will start adopting weak-typed features until everything is wiped away with the new languages
Kaladin wrote:
Meanwhile, strong-typed languages will start adopting weak-typed features until everything is wiped away with the new languages
Yeah, you make a good point. :(
Latest Article:
Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a Domain -
:laugh: So if JavaScript, the champion of duck-typed languages, embraces type checking, I wonder if the insanity of other duck-typed languages will finally begin their slow demise. Or adopt the type!
Latest Article:
Create a Digital Ocean Droplet for .NET Core Web API with a real SSL Certificate on a DomainI'm not sure I'd call JS the "champion" of duck typed languages. Certainly the most widely used. Also probably the worst implementation of it. Having used Smalltalk, better implementations were available decades before the abomination that is JavaScript.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
-
Meanwhile, strong-typed languages will start adopting weak-typed features until everything is wiped away with the new languages
Kaladin wrote:
Meanwhile, strong-typed languages will start adopting weak-typed features until everything is wiped away with the new languages
Meanwhile in C#...
dynamic
has entered the chat.Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius
-
I'm not sure I'd call JS the "champion" of duck typed languages. Certainly the most widely used. Also probably the worst implementation of it. Having used Smalltalk, better implementations were available decades before the abomination that is JavaScript.
"If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
How about we say javascript is the most ducked up duck type language.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius