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
-
promises are the least hateable thing in JS, Promises combined with async/await make the code elegant. Callbacks are a mess, promises are a boon to developers.
-
Voxera115854yPromise is not asking, it is A promise to deliver.
Its one way to handle async in an easy way. -
sgtcoder1524y@theabbie then how come autoplay needs permissions via promises? Either way it's a mess.
-
@e5coder It doesn't need any permission, it's your clients who need that, it is weird but a super useful feature.
Related Rants
-
justamuslimguy20All the stupid date functions where the days range from 1 to 31 but the months range from 0 to 11
-
sudo-woodo16Whatever the fuck Python's ternary operator syntax is supposed to be.
-
Root18Most hated language features? PL/SQL: • it exists XSLT: • it also exists PHP: • it still exists. VB:...
I honestly hate dealing with promises in JavaScript. Asking permissions just to autoplay a video just like the client requested.
rant
wk229