JavaScript: promises vs callbacks
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- documentation
Research direction
No repository file, test, or entry point is named. Start by reading the issue discussion and determine whether a concise documentation response is still wanted; done would be a settled, succinct explanation of what promises enable beyond callbacks.
Written by the indexing model from the issue text.
Description
What do promises do/make possible that callbacks don't?
i've been writing large pieces of code in JavaScript for about seven years, all flow is via callbacks because:
- That's all that existed when I started.
- I like them, I think in terms of them.
- My editor is proficient at managing them.
- All this proficiency didn't come cheaply. A lot of time went into it.
I'm a big believer in this: one way of doing something is better than two, no matter how much better the second way is. Why? Because I'm going to end up supporting both.
Here's some space, please help me understand why you think promises is a game-changer. The more succinct the answer the better. Thanks.
- Dominant language
- HTML
- Stars
- 134
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from scripting/Scripting-News
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
scripting/Scripting-News#353 · 6 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
scripting/Scripting-News#332 · 25 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
scripting/Scripting-News#362 ·
-
Matt is moved aside Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
scripting/Scripting-News#361 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
scripting/Scripting-News#360 · 1 comment · 1 reaction ·
All issues in scripting/Scripting-News
Similar issues
-
sync-en
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
-
sync-en
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
-
Перевод устарел
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
-
affects/8.7 affects/8.8 affects/8.9
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
camunda/camunda-docs#9997 ·
-
Website Doc Typo Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100