Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
donuts236724y@wackOverflow did it have those keywords?
https://softwareengineering.stackexchange.com/...
Looks like
Haskell
F#
C# -
@donuts looked over the Ajax spec and nope it doesn’t, and for that matter isn’t really comparable. All hail Haskell then.
-
Voxera113884y@wackOverflow Ajax is quite different from async ;) and when it first came around it used callbacks or synchronous calls if you told it to.
Async await in js came much later, around 2017 and after n c# it came around 2011/2012 and haskell added the keyword around the same time.
https://softwareengineering.stackexchange.com/... -
you said it as if someone complained about it at some point. It is pretty legit to me. And considering that the standards for language design and implementation are damn near identical, I would imagine that everyone is ok with it.
-
I agree. Async/await implementations make it easy to work with an asynchronous state. No more lasagna in the code.
-
Voxera113884y@AlgoRythm I know ;). I used it before it was named ajax but remote scripting and also when you actually did send XML and not json.
And originally it was not even part of the browser but used a java applet for the actual callbacks to the server and a vbscript or jscript to map that to server side code.
But its still not the same as the async keyword.
Async builds on promises and that did not exist when ajax was created.
Honestly C# async/ await model is not that bad.
rant