Hello some one at jsconf, please switch the slides into the larger video window and vice versa. For most people the content in slides may be more important than seeing the speaker.
@mallesbixie9 жыл бұрын
This guy fits a two hour talk in half an hour! Great! Watch it four times to get it all!
@McG00f8 жыл бұрын
This person talks very well, he got me interested in the first 2 minutes, I wish I had more profesors like him at uni.
@powerlogic19929 жыл бұрын
His enthusiasm makes me feel enthusiastic.
@nathanbrady93629 жыл бұрын
Jafar, you are such a great natural teacher. After a few different videos, you made the light bulb turn on for me with generator functions. Thanks for all your work in the JS community!
@JogoShugh9 жыл бұрын
Very good talk, and his enthusiasm makes it even better.
@Chorizzosoup9 жыл бұрын
Can you please make the code slides available as well? It's hard to see the code in the video.
@Chorizzosoup9 жыл бұрын
Awesome to see c# influence to some of the features :)
@JSBroadcast8 жыл бұрын
This guy is absolutely amazing..
@TheRealBobLazar6 жыл бұрын
Blowing my mind with things I thought I already understood.
@atmark6668 жыл бұрын
this guy is amazing.
@cmntkxp6 жыл бұрын
Talk was nice but the code shown inset if video spoiled the corner quality ...Why on earth someone would upload like this . It's good for a podcast
@yuchinglee55557 жыл бұрын
Does anyone has this ppt ? can't find it by googling...
@DaveJacoby9 жыл бұрын
Man, JavaScript is gonna get mad over the next few years. That's a good thing.
@saisagarsharma5 жыл бұрын
Yes, it is.
@Wentris713 ай бұрын
Watching this vid 9years after. Still did not go mad 😀😮💨
@Srikanthking17 жыл бұрын
You have an mistake in your fibonacci example at 12.5. should have assigned val1 with val2 and then assigned val2 with swap. Just changing the lines for assignment for val1 and val2 fixed the issue.
async functions are awesome, thanks to c# we got this in javasctipt
@stefanms88039 жыл бұрын
that's good coffee right there
@konorokingdom9 жыл бұрын
Neither of Jafar's fibonacci codes work :D Great talk. It's amazing how much simpler it becomes with a generator. Have to agree with Rafi "please switch the slides into the larger video window and vice versa. For most people the content in slides may be more important than seeing the speaker.". This is a common theme amongst most tech videos where the code is either secondary or not visible at all.
@mandulov9 жыл бұрын
+Dominic Watson The codes work, but he accidentally swapped "val1 = val2;" with "val2 = swap;".
@senecathestoic7 жыл бұрын
Even though code inside while loops in fibonacci example is incorrect the talk is great.
@johnyepthomi8922 жыл бұрын
What a great educator.
@oiltycoonifUwill8 жыл бұрын
In case anyone except me needs this. function* getStockPrice(name) { var symbol = yield getStockSymbol(name); var price = yield getSymbolPrice(symbol); return price } function spawn(generator) { return new Promise((accept, reject) => { var onResult = (lastPromiseResult) => { var {value, done} = generator.next(lastPromiseResult); if (!done) { value.then(onResult, reject); } else { accept(value) } }; onResult(); }) } spawn(getStockPrice("some")).then(console.log);
@EuThiagoVideos7 жыл бұрын
Few months later and we already can get the same result like this: async function getStockPrice(name){ return await getSymbolPrice(await getStockSymbol(name)) } getStockPrice().then( res => console.log(res) )
@NicolasSauveur9 жыл бұрын
for ... from instead of for ... on ?
@aaravmehra80365 жыл бұрын
this was intense..very nice.
@Silentslink8 жыл бұрын
Amazing!!!
@jafargadvi95618 ай бұрын
❤
@true_podejrzany7 жыл бұрын
I wish I could understand just half of it.
@ajgubi199 жыл бұрын
This is why youtube player offers SLOWING THE FUCK DOWN feature.
@mk677hd4 жыл бұрын
JS is freaking awesome.
@adinivermekistemeyengizley63967 жыл бұрын
how about es8 becomes phyton3.jssss?
@crimsonalucard7 жыл бұрын
Yearly release cycles for a language? Are you kidding?
@vishal_sharma_rha6 жыл бұрын
Great vedio
@lalitchaturvedi66269 жыл бұрын
hey you said blocking is easy. can u share the example how u implemented the blocking?
@lorenzodigaetano35915 жыл бұрын
He speaks faster than my girlfriend, and it's a huge achievement! :-D
@chrispie7 жыл бұрын
observable is dead. long live the observable!
@antonios.k9 жыл бұрын
Will you just drink the damn coffee
@thedripfinallystops9 жыл бұрын
Someone needs too normalization the audio on these videos.
@smatsri9 жыл бұрын
#Rxjs #ErikMeijer
@paololucchesi28276 жыл бұрын
This guy should do some Hip Hop, he would have a stunning flow for sure
@danielbubenheim59514 жыл бұрын
0.75 playback speed ftw ;-)
@davidmaxwaterman8 жыл бұрын
I disagree and think this is maybe the most confusing explanation I've seen so far...his statement that they're trying to make asynchronous code look synchronous makes me doubt their sanity. Surely code should look like what it actually does, not pretend to be something it isn't...this is too clever by half. Maybe I simply need to watch it four times, like someone suggests...though I kind of feel like that really shouldn't be necessary.
@moveaxebx8 жыл бұрын
Well it does look synchronous. Key is that the consumer is doing heavy lifting and waiting/resolving promises..what is inside the generator is only sync like code. The async/await is nothing more than "in language consumer". Yes, it's a confusing pattern and it's not shame to watch it more than once.
@darrenking89417 жыл бұрын
Our brains work in a synchronous manner. And code, ultimately, unless it's the final machine code, is for humans. So, that being said, it makes sense for code to look as common-sensical as possible for our brains to consume and reason about.
@ChadZeluff6 жыл бұрын
Late reply to this, but wanted to comment that C# has had the async/await keywords for years and it's a fantastic way to write code. I wouldn't worry about code looking like/unlike what it actually does, given that our languages hide many of the details of what they actually do underneath, with regards to memory management, etc.