Welcome to the Treehouse Community
Looking to learn something new?
Janelle Boyd1,833 Points
When would you want to use synchronous processing?
Could you please provide an example of when someone building an app would ever want to use synchronous processing?
Synchronous programming is mainly done when you have to control the order of operations and know the outcome of each operation before moving to the next. The first one that comes to mind is working with banking transactions where you need to be sure that a deposit was completed before you can allow them to remove the money. If the first doesn't complete but you allow them to remove the money they thought they just deposited in check form, you might be giving out money their account doesn't have.
That's just one. I'm sure other students can come up with more examples.
Andrew Sheragy16,379 Points
Isn't the answer to this just whenever you don't need asynchronous processing? Which is a majority of time.