(A)Synchronous code kid

abir azaiez
1 min readApr 21, 2021

--

what’s a Synchronous code and Asynchronous code first ?

Synchronous code means that our programme run one thing a time ( instruction by instruction) so we can’t move to the next instruction till we finish the current one, but, Asynchronous code runs multiple insruction a time that we don’t need to wait the first instruction to finishi to move to the next one, we passe and it may all finish together.

Let me explaine this to you kid by an alive example that we live with .. our Moms and Dads.

So as we can see our Moms cook, clean, rise us, … at the same time, this is an example for Asynchronous code how it works and Dads work, ‘take some rest’, shop, ‘take some rest’, sleep, ‘take some rest’ , … , ‘take some rest’ and that how the Synchronous code works. (May god protect all our Moms and Dads).

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

abir azaiez
abir azaiez

No responses yet

Write a response