Bize fikrinizi söyleyin. Sizi dinliyoruz: https://talk.istanbulcoders.org/c/geri-bildirim
Sunum dili İngilizce olacaktır Etkinlik B-401 nolu sınıfta TSI 19:30’da gercekleştirilecektir.
To improve the first solution we will be considering promises, a new concept to the rescue. promises are basically a time independent wrapper around a value or data coming in the future, to clear out this fancy description you can think of promises as in real life, for example if you go to a bank and ask them to lend you some money and supposedly they say YES(they have made a promise), now you can go and make decisions based on that answer as if you already have the money, although it is not yours yet. Well the same thing applies to promises, you can write code around values that don’t exist yet and once they are available that code is executed using promises.
Another idea that it is not related to concurency but can be used with promises is generators, they are used to help us reason about our code as a synchronous blocks of code, cause we humans fundamentaly can’t understand asynchronous code as we have to jump all around the code and see how things are being executed, instead we can use generators to make our code looks synchronous when it is not, so it is easy to reason and think about.
The third concept in the list is Observables, a new concept to solve the problem encountered when using promises with events and lots more.
The final concept that we will be talking about is CSP(Communicating Sequential Processes), a channel based model to solve concurency with a blocking techniques to send and recieve messages.
Hamza Ismail (GDG Algiers)
Bahceşehir Üniversitesi, Beşiktas B-401 Nolu sınıf
Etkinlik TSI 19:30’da başlayacaktır
Istanbul Coders Hakkında: