Hi, Mattias. Why don't you make other videos about ES6 features? Please, give us more!
@renatomsilva
9 жыл бұрын
Hello I'm from Brazil. And I am really enjoying their videos . Continue passing knowledge. This is brilliant.
@AlanW93
9 жыл бұрын
Renato Silva isso aí, Brasil na área o/
@FelipeNorato
9 жыл бұрын
Alan Michel Willms Quinot Yeah, Brazil here!
@mario1ua
7 жыл бұрын
I thought Mpj was from Brasil, turned out he's from Swedent.
@luanbravo4401
4 жыл бұрын
hue
@IgorYentaltsev
7 жыл бұрын
I love it when you say "I want to talk about WHY you want to use this"! :)
@funfunfunction
7 жыл бұрын
+Igor Yentaltsev (igoryen) thanks! I try to talk about the what why and how of things.
@rickmedina4082
9 жыл бұрын
Dude, all these videos are super clear to understand and enjoyable.
@funfunfunction
9 жыл бұрын
+Rick Medina Thanks a lot, that's exactly what I'm going for!
@koozdra
9 жыл бұрын
Another great video! Will definitely be tuning in for the whole series.
@knightonhd1144
4 жыл бұрын
⚡️ the definition of an energetic instructor ⚡️
@andyfangaf
8 жыл бұрын
Please continue this series!
@rupzykaur2162
6 жыл бұрын
Excellent video, got to learn destructing in new and easy way! Thnx keep it up
@deeproy7292
4 жыл бұрын
hope to see you back soon...love you man
@ubhelbr
8 жыл бұрын
You could as well use template strings: `the ${animal} says ${sound}!`
@RareTechniques
5 жыл бұрын
*no u*
@RobGraham717
9 жыл бұрын
I almost choked on my coffee when you said "fuck yeah!". Great videos, sir.
@JohnSeabourn
9 жыл бұрын
Another great video mpjme. Keep up the great work!
@silasalfredston5511
9 жыл бұрын
Dude. Very entertaining, and solid explanations on your videos! I'm subscribed.
@tremulator
8 жыл бұрын
Do a video about Babel, setting the environment and that kind of stuff.
@demolaishonwow
9 жыл бұрын
This video was really nice. I had no idea about this. It would be nice to see some practical examples of destructuring + high order functions + function composition in order to create some robust functionality on top of a collection. Regardless of what you do next, thank you very much for taking the time to explain all of this to all of us, for free, for ever!
@funfunfunction
9 жыл бұрын
Manuel Åberg Cobo Oooh, combo videos, eh? That's a good idea. I'll see what I can do.
@WillWarHero
8 жыл бұрын
Love the videos really does explain it well. Can see so many places to use it now.
@Victor_Marius
5 жыл бұрын
Hi! Thanks for this video, it helped me a lot! I found another way for those default options. You can use the spread operator (I think it's called), "...": var = defaultOptions = {species: "animal"} var {species, sound} = {...defaultOptions, ...options} Note that the order of defaults and options matters! If you're wondering why you may want to do it in this way, is because like so you can have some other parameters in the function arguments, for example: function circle(cx, cy, radius, options, ...) { ... }
@EkaterinaZdorov
6 жыл бұрын
Can't stop watching your videos! So good! And the background music is very nice - what is it playing?
@EkaterinaZdorov
6 жыл бұрын
never mind, it's Muito Bunito, Tempero :)
@CarlosAlfredoGarcellMelero
8 жыл бұрын
It's been quite interesting and fun watching this videos, I feel that Mathias makes it very simple to understand the basic concepts behind all the different features and programming paradigms he tries to explain, whether that is functional programming or ES6. Coming from the world of PHP, is a little bit tricky to move into JS for the whole stack, and being a junior doesn't make it that much better either, but I know is worth it! Thanks for the help and for the time you put into making these videos +mpjme
@dra7764
8 жыл бұрын
Understood finally. Thank you.
@david59675
9 жыл бұрын
Awesome. I love ES6 already!
@jonacwejman8643
8 жыл бұрын
Äh, fy fan va bra du är! Här kommer man stanna ett tag. Tack!
@funfunfunction
8 жыл бұрын
+Jona Cwejman Hej Jona! KUL! Välkommen till kanalen :)
@frozen_tortus
8 жыл бұрын
Hats down my friend, this is grate explanation!
@gamedevnow7551
6 жыл бұрын
nice video, you make it very simple to understand.
@Ellyll
8 жыл бұрын
I'm really enjoying all your videos, thanks very much! I'd love to see something on generators and iterators - and possibly how to use them with map()/reduce().
@LunchboxdadioMusic
9 жыл бұрын
Thank you for making these videos, I am really enjoying them. As for ideas I would love to see an explanation of prototype and also one on what functional programming means.
@funfunfunction
9 жыл бұрын
David Schenk The prototype is oft-requested already - adding to the suggestion box. Can you explain a bit more what you mean by "what functional programming means". :) What kind of video are you envisioning there?
@LunchboxdadioMusic
9 жыл бұрын
mpjme Most Other programming languages I've seen don't return a function inside a function. Like in jQuery they do this : jQuery = function( selector, context ) { return new jQuery.fn.init( selector, context ); } I guess I really don't know what I'm asking lol. Maybe this was a bad request, but I figured you would know since you obviously know JavaScript so well. As with the prototype question I understand that .fn.init is part of the prototype chain I still can quite grasp how it all comes together.
@LunchboxdadioMusic
9 жыл бұрын
mpjme I found this, it might help explain what I'm looking for. www.smashingmagazine.com/2014/07/02/dont-be-scared-of-functional-programming/
@funfunfunction
9 жыл бұрын
David Schenk Nice article! What do you want to see next in my functional programming in js series?
@MirkoFriedrich
9 жыл бұрын
If you finish ES6 i would love to hear about async/await in ES7 from you!
@kuldeepbhimte9246
6 жыл бұрын
I really like the way to present the stuff. Please also include links for the following videos in the series.
@Gato-Laranja-Mts
8 жыл бұрын
Awesome!!! Looking forward to seeing more of these!!!
@zapjelly
8 жыл бұрын
I really really love your videos!! You are the best teacher ever. Thank you!!
@akhilahegde4241
7 жыл бұрын
Such a good teacher You are! Your videos helped me a lot. Please keep teaching. If you can please make videos on APIs. Thank you so much :)
@renzogaspary8259
8 жыл бұрын
Omg! TIL that you can call an project by declaring it as a function and it carries over its properties. That blew my mind!
@calderarox
9 жыл бұрын
i need more of this! thanks you.
@HarleyBussell
8 жыл бұрын
Great introduction to this feature!
@ricardorien
2 жыл бұрын
Another great video!
@NamHoang-mq7vz
8 жыл бұрын
awesome video as always
@BurninAss
8 жыл бұрын
great and funny delivery at 8:50!!
@adenov-argen
8 жыл бұрын
Love this video , thanks @mpjme
@samjiman
9 жыл бұрын
Good video. What is the name of the Atom theme you use in these videos? I like the color scheme.
@andrescarbo3895
8 жыл бұрын
Your videos are amazing dude, keep it up!
@Napierniczacz
9 жыл бұрын
when the next part of ES6 features :) ?
@viniciusalbuquerque8030
7 жыл бұрын
MPJ, can you please make a video on symbols? I can't find a good "why" for that, and I really need it to make it stick in my head. Everyone seems obsessed with how to do it, but it is pretty simple and straight forward. I guess my experience as a professional developer has not given me many problems mistakingly setting object properties that shouldn't be set, or maybe I just haven't done something so big that would require that. For now, it seems just some workaround for a poorly designed code.
@sethortiz697
5 жыл бұрын
Great video man very helpful. I hear constant digital clipping though. Bringing down the pre-amp on your microphone would make this video much more enjoyable.
@funfunfunction
5 жыл бұрын
Thanks! Youre commenting on a video from the late Jurassic period though. I've gone through three microphones since back then. :)
@ariesviclamanilao7427
5 жыл бұрын
When every `animal says woof!` gives me the motivation. *relaxed*
@ShowersWithToaster
7 жыл бұрын
Great explanation Mattias, thanks!
@matthew_schrepel
9 жыл бұрын
Generators, man. Generators! A fun example is www.mongorito.com which is using generators in combination with asynchronous mongo find queries and cleaning up code with yield. example: var posts = yield Post.limit(5).find() As opposed to the familiar callback or promise patterns. In fact, I think the only real way to store something like that in a variable for later use as (somewhat) simply as this would be by currying the function and withholding the callback until some later invocation. I could be wrong on that, but I think this is essentially what futures/fibers does? Anyway, generators!
@robscom
9 жыл бұрын
I was expecting a part 2 of the reduce basics so this was a bit surprising to see. Cool stuff nonetheless. What are your plans moving forward with these different series' ? Will they be taking turns weekly, or are you just gonna be going with the flow?
@funfunfunction
9 жыл бұрын
robscom I'm still working this out. :) Buuuuut, my thinking is this - I'm probably going to keep a few series going simultaneously. While I aim to have a regular release schedule of videos on the channel as a whole, the series themselves are most likely *not* going to have that. The idea is to have a few options open every week so that I can pick the one that I'm most excited about doing, because if I'm excited that reflects on the quality of the video. Also constantly doing what I'm excited about makes it easier to release videos on a regular basis. But, as I said, that might change. It's all about balancing my own need to novelty and inspiration with the needs of the audience, so it's just as much depends on how you people react. :)
@robscom
9 жыл бұрын
As a viewer I'm not too sure if I like this kind of uncertainty when it comes to following a series. I mean just comparing it to a regular tv-series, I know to expect a new episode of Mr. Robot (great show btw) every thursday morning here in Europe, so that'll make me all the more excited for it when that day of the week is approaching. So what I guess I'm trying to say is that from a viewer's stand point I don't really see the point of a series being called a series if it doesn't have a sense of consistency. Would it be too odd to keep the videos as separate entities? Do they have to be a part of a series if that particular series won't be returning on a specific schedule? That's my two cents for now I suppose. Obviously you as the content creator should have the privilege of choosing the material you decide to share with us, but it's something to take into consideration. :)
@funfunfunction
9 жыл бұрын
robscom Yeah, I get what you mean. That is good feedback.
@armanmottaghi7763
9 жыл бұрын
Great video. The background music is gives a good mode to your video but keep its volume down please. For a next video, I would like to learn about es6 classes. What do they add to the prototype system of JS? When is it better to use them?
@funfunfunction
9 жыл бұрын
Arman Mottaghi Yeah, the volume is a bit too loud, tricky to find a balance. About classes and prototypes, I have not yet decided what kind of video I'm going to make there. The reason is that I'm of the same position as Douglas Crockford - I think classes as a concept is a bad idea and I think that using them should be a avoided, and I very seldomly use prototypes either. Crockford talks about this in his recent talk "JavaScript: The Better Parts (kzitem.info/news/bejne/w6VpnIGoe5iFnmk#t=28m51s) The classless programming bit is between 28:50 and 38:00, but you should watch the whole talk, because it's awesome. At some point, I will probably make some videos on my own about this, but for now I refer tot that part of the talk because he creates objects the exact same way I do.
@armanmottaghi7763
9 жыл бұрын
mpjme Thanks for the answer. I know it has taken a lot of your time, I appreciate it. Frankly, classes are not what I also see as something necessary and I believe a lot of developers are thinking like me and you. The main motive of having classes in es6 is giving coders more freedom on how they want to code, since Js is the only scripting language of front-end development. Imagine you've been given a source code of a native app and you don't want to revolutionize the whole structure. That's the reason I am curious about the classes even though I'm happy with the way I code. Anyway, the videos are awesome. Keep up the great work ;)
@VictorPotasso
8 жыл бұрын
You're friggin' awesome mate!
@MichaStolarskiPL
7 жыл бұрын
Great stuff!
@JnsWndlmth
9 жыл бұрын
Thumbs UP! I enjoyed your video, as usual :-)
@AISkillBoost
9 жыл бұрын
Amazing video! You are the PewDiePie of coding!
@funfunfunction
9 жыл бұрын
Rony Sheer Hahaha, thanks! I'm actually living in Gothenburg, where PewDiePie is from.
@leeroyescu
6 жыл бұрын
Be me. Be in bed, frolicking, listening to this wonderful vid. Get destructuring. Mind = blown. Immediately think of ugly function in personal project, and how can be improvd. So useful, much amaze. Jump to laptop. Scroll to function, is impossible to implement features learned on Internet. Need optional chaining ECMA feature too. 😢 & go back to bed.
@tmrs-smnl
8 жыл бұрын
great video! Can you explain Map, WeakMap and Symbols next time?
@ivankovbas
8 жыл бұрын
It's fantastic!
@duckhorse2563
4 жыл бұрын
Thank you.
@pavlo-vasylkivskyi
5 жыл бұрын
Dude! You are cool! Thank you!!!!!
@eduardorabanal2803
6 жыл бұрын
Great video
@raw9gone
8 жыл бұрын
Please make more videos about ES6...
@karanvalecha619
9 жыл бұрын
Every time you show an ES6 feature. It reminds me that we already do somewhat the same in ruby. It feels like ruby already had those neat tricks which will be in the future JS versions. Will they be building a new rails in JavaScript with those flexible power in hands? What would you like to say?
@funfunfunction
9 жыл бұрын
karan valecha I think Ruby stole it from Python, which probably stole it from Lisp. :) There are plenty of Rails-inspired frameworks written in JavaScript, but I don't think emulating what was done before in new technologies is the way we make progress. I like when people instead completely re-think things based on what we've learned the last years, and makes use of potential that we simply did not have before, such as how radically different Meteor and React are from what has been done before.
@karanvalecha619
9 жыл бұрын
Agreed and Appreciated 😊 This is probably the difference between Me & You, The Amateur and an Experienced mind's thinking.
@krzysztofkabat9166
9 жыл бұрын
I like very much the idea of the object.observe() feature from es7 but its more usefull for library builders I guess.
@funfunfunction
9 жыл бұрын
Odrin White What makes you say that Object.observe is only for library builders?
@gustavcoetzee5018
5 жыл бұрын
Thanks.
@solvm1652
8 жыл бұрын
Soo good!
@Gredddfe
8 жыл бұрын
Thumbs up for Tasty Planet Back For Seconds music!!
@williamespindola6966
8 жыл бұрын
That is really really good, But! It's good to avoid to use default parameters/optional arguments, because it says that your function doing more than one thing. Off course if you don't give a damn to single responsibility principe, just do it.
@funfunfunction
8 жыл бұрын
+William Espindola interesting point. It might be an indicator, but I'm not sure if you could make that a broad guideline. Maybe. It's easy to confuse SRP with cosmetics, and making superficial rules like "keep your functions short" or "one class per file" that gives an illusion of isolation. It makes me think in terms of separation into functions and classes and modules, rather than what I should be thinking of: separation of problems. There are plenty of functions that are single responsibility but have tons of optional s. For example, at some point, some function needs to tie other functions together. Also, some functions are data processing functions that normalize input from other systems. It's about doing one concept and being easy to reason about in isolation. I'm more a fan of detecting SRP violations by observing by own behavior when making a change - for example, needing to keep multiple files open because I need to reason about them all means that I've TRIED to do SRP (probably cosmetically) but really didn't think about the actual problem domain.
@aser2535
6 жыл бұрын
8:50 funny moment alert
@CarlParrish
9 жыл бұрын
Excellent video until I saw this I assumed Destructuring in JS was just going to be like using list() in PHP. The video showed me some interesting additional use case. Now the only problem is I want to use them *everywhere*. ;-)
@funfunfunction
9 жыл бұрын
Carl Parrish When you have a hammer, everything looks like a nail. :)
@errrzarrr
8 жыл бұрын
I'm not closed to new ideas and improvement at all, but don't you think most of the ES6 'new' features are same old things done differently - work arounds - while at the same time sacrificing readability, which is important for us humans and team mates, the person that needs to understand the code and maintain it.
@funfunfunction
8 жыл бұрын
Hmm, "most" is a very sweeping statement. I cannot agree with that, but some features will be, of course. I think that it cannot be expected that every new language feature offers a MASSIVE improvement. Some are just small increments. I definitely think that destructuring offers a pretty massive benefit for me. For example: ES5 function doRequest(url, options) { var headers = options['headers'] || [] var body = options['body'] || '' // code } ES6 function doRequest(url, { headers, body } = {} ) { // code } A lot cleaner for me. It's of course because I know ES6 (to someone that does not it's garble), but that brings me to the next point - what do you really mean to when you say "readability"? We don't really "read" code, so english rules of sentence structure and typography don't really apply - when most people say "readability" about code, I find that they actually mean "looks familiar". In order to optimise for familiarity, you should of course not introduce any new features, but then the language does not evolve.
@bemb4763
8 жыл бұрын
Trying to understand how a language evolve ... if readability (or as you said, familiarity--i agree on this) and language evolution are what makes a language better, shouldn't we sacrifice readability for only significant improvement in such language? A bit out of topic, A friend (a lot more experienced programmer than me--i'm a noob) once told me that javascript is in its puberty and will be changing a lot but will be more mature and stable in the future. I have different thought, as one of the most popular language there's a lot people with different backgrounds, problems, and perspectives programming in javascript. The result is more dynamic community, more dynamic language that will produce a lot of different writing styles, some new features that subjectively good or bad, and will always changing as fast as it can. I really hope that my friend is right, tho. What do you think? Thanks for all your videos, btw. I learned a lot! Have a good life and good health, so you can produce more!
@NoahNobody
8 жыл бұрын
It's neat, but it would be hard to realise that the makeSound parameter ({species = 'animal', ... meant species = species || 'animal' if I wasn't really familiar with this kind of thing.
@funfunfunction
8 жыл бұрын
+Noah Nobody It's also really hard to read German if you don't know German. That is why some people learn German.
@erickvoodoo1993
8 жыл бұрын
Where are other lessons about ES6 features? :(
@kamakazimike
7 жыл бұрын
undefined is such a good name for a dog
@funfunfunction
7 жыл бұрын
+Michael Carniato it really is!
@Todiros
6 жыл бұрын
9:03 Fuck Yeah! Hahaha.
@Schimshamity
7 жыл бұрын
Ever going to do a part 2? (Sorry... Just lasering through your playlists)
@funfunfunction
7 жыл бұрын
I'm not sure why I didn't do a second part. Possibly because the episode did badly in metrics, or I got bored. :) It's not even called ES6 anymore, hehe.
@Schimshamity
7 жыл бұрын
Thanks for the reply, man. "It's not even called ES6 anymore, hehe." Wait... what??? Im clearly behind the times. Do you mean because it's called ECMA201* now instead?
@rocmarkz6742
6 жыл бұрын
What a god
@BeoandIsa
9 жыл бұрын
was :D the whole video through..
@whatsdone
9 жыл бұрын
Why no semicolons?
@funfunfunction
9 жыл бұрын
whatsdone Hello! Glad you asked. I'm omitting them to provoke your mind into learning a bit. I've written quite a bit about this on Quora already: qr.ae/RTHZMk and qr.ae/RyQJZ5 I might make a little video about it since it's so "ranty". :)
@leandras1669
7 жыл бұрын
SpEEcies
@lucaslima1573
4 жыл бұрын
you have such a good skin drop your routine
@Lorinthe
8 жыл бұрын
Clear, great.... but please... the music does not add much. You can do without, you have enough to tell ! ))
@vitaklon
9 жыл бұрын
There is not enough trolling going on here :,-(
@funfunfunction
9 жыл бұрын
vitaklon You just don't understand the trolling, Bo. :)
@yaboirairai
7 жыл бұрын
I love your videos and think your English is amazing, but the way you pronounce ‘species’ as shpeesies and Babel as ‘babu’ is hilarious
@Asaloy
5 жыл бұрын
Great videos! But you should use something that immediately runs your code, the parts with "let me execute that.." and watching you 10s of typing isn't very exciting ;)
@AbhishekNigam
6 жыл бұрын
Just asking, have you ever thought about playing Steve Jobs in a biopic? :P
@iamdihan
6 жыл бұрын
this is a great channel, really enjoy watching these. i've started from the beginning
@BigBoxRetroCollector
6 жыл бұрын
Sweet! I start every working day by watching a 10 minute episode from you, just to get into the "flow" and the right mindset.
@DarkZoneGamingMain
5 жыл бұрын
Best destructuring video by far lol. Long live 'the animal says woof!'
@tomnassr2306
9 жыл бұрын
This is the first video of your's I've seen! Just subscribed 👍 You should have a video on Meteor.js
@Josh2edit
5 жыл бұрын
Thanks for making this otherwise complex concept for newbies easy to understand. Keep them coming!
@Voltra_
7 жыл бұрын
Destructuring, spread operator and rest parameters are the best features of ES6 so far.
@fhmtz
9 жыл бұрын
Excelente video! Thank you very much =) I have just seen your Funcional Javascript tutorial, also very useful! Keep the videos coming!
@victorighalo
6 жыл бұрын
You blew my mind with destructuring in the function signature. God!!! You're good...
@IshantMehta01
8 жыл бұрын
Please come up with more videos on ES6. I love watching them and learn a lot of things. Thanks.
@Anurag7376
9 жыл бұрын
The background music kind of grows on you. Great video. Keep'em coming
@ajaxx3
9 жыл бұрын
Can you please make a video about JavaScript closures and bind
@funfunfunction
9 жыл бұрын
Ajey C Both those subjects are good candidates for videos, adding to suggestion box.
@R6M3
8 жыл бұрын
I'm glad i found this channel, its fun learning js here.
@dho1115
5 жыл бұрын
Hello, mpj... I'm really enjoying your videos and was wondering if you have any videos on localStorage and sessionStorage. Thanks.
@mistery4437
8 жыл бұрын
Exceedingly useful video. Thanks a lot.
@Saiphes
6 жыл бұрын
Ah, De-structuring. So, if putting a collection of variables in a structure is "Structuring", then De-structuring is making variables in a structure available on their own .. would it be correct to say - outside the structure "closure"?
@RickyGarcia_Learning
7 жыл бұрын
9:02 "fuck yeah," I feel that!
@azazahamed
7 жыл бұрын
Hi, I have a question. Can we use template literals `` instead of '' quotation marks in our console.log()??
Пікірлер: 183