OOP and FP are very important in their own way. I suggest learning these paradigms with a purpose in mind. FP is meant to control how we deal with assignments, basically understanding the immutability of variables and using assignment operators wisely. OOP is for memory management. In this case, if you understand assignments, you can manage memory very well.
@pookiepatsАй бұрын
get to the point holy hell
@gersonenriquez14772 ай бұрын
Really insightful talk! Thanks Artem.
@deanjames69972 ай бұрын
Thank you for the great presentation, I learned a lot !
@dirtdart812 ай бұрын
Why does this guy sound so terrified and nervous? It is really distracting
@KalibMartin-f5m2 ай бұрын
I was thinking the same thing. Lol 😂😂
@dovh492 ай бұрын
What I'd really like is: <noscript><p>Button will not work as scripting is not working.</p></noscript> <button traits="my-counter">1</button> The traits attribute could have multiple values space delimited. This way I don't have to junk up all my HTML with tags. Just add an attribute. Nice and simple. I know there is the `is` attribute. But it only allows for one trait and Safari says they refuse to implement it. But normally I only use one trait so, I suppose I could just polyfill it for now... But I think a lot of library creators don't use it since Safari refuses to implement it.
@thiagoneres81783 ай бұрын
Great explanation!🎉😊 ☝️ I wanted to point out that when you were using the term of "pointing" and "pointers" as an analogy, It might confuse people with the pointers that are managed by lower level langs as C and C++. This particular concept that she was referring to by "linking" some fragments of the code stored in the stack, to others in the heap, It's called "Reference", which is similar to "Pointers" but not exactly.
@KonstantinosFylaktopoulos4 ай бұрын
Amazing talk!
@robschannel11564 ай бұрын
var-👁-ible.
@GG_SYMBIOTE4 ай бұрын
9:40 Most of the primitive values are actually being stored in the heap. I feel like this statement is wrong. Correct me if I am wrong. But all the primitive values are stored in Stack. I asked chat GPT too for this. Here is what I found "Primitive Values (typically small): These are stored on the stack. These values include string, number, boolean, null, undefined, symbol, and bigint. They are usually stored directly on the stack because they are simple and fixed in size. Reference Values (larger and more complex): Objects, arrays, functions, and other non-primitive values are stored in the heap. The variable holds a reference to the location in the heap where the actual value is stored. Regarding the notion of "larger" primitive values being stored in the heap, in some JavaScript engines, there may be optimizations that handle large strings or other large primitive values differently. For instance, if a string is particularly large, the engine might store it in the heap to avoid stack overflow and manage memory more efficiently."
@peterlinddk4 ай бұрын
Perhaps unsurprisingly, ChatGPT's explanation is completely wrong, and seems made up rather than referencing anything remotely real. Primitives in objects are always stored on the heap, as are the objects themselves. The variable that reference the object might be on the stack, or it might be in a register. The stack isn't used as much in JavaScript bytecode as for instance in C, where all local variables are on the stack. JavaScript uses the stack for storing arguments, as well as local variables as part of the stack frame, but most of the time that variable is only a reference to somewhere on the heap. Meaning that every instance of say a floating point number like 3.14, will reference the same value on the heap, and not stored individually in each stack. Small integers (that can be stored as 32 bit signed int) are the exception, but most of the time they are stored and used in registers, even when passed along to other functions. Strings are NEVER stored on the stack, as they are - contrary to what ChatGPT says - NEVER fixed in size. Different engines might differ on how much or how little they use the stack, but most of the time, it only stores references to the heap.
@mmpcse5 ай бұрын
Any plan for India ?. Would love to see you guys here 😊
@jesslynnrose6 ай бұрын
Actively jealous about how good this talk is. Unacceptable that this is funny and informative at the same time.
@bramus6 ай бұрын
Again congrats on this year’s edition. The program contained a nicely curated set of talks, all was taken care of, friendly people, and the vibe was just awesome. Honored that I got to be part of this. Also: I see a filled pool in those drone shots … 🕵♂🩳
@mihaiudvar98306 ай бұрын
It was really nicely organised and informative. Thanks and see you next year :)
@SIGMA_BLYAT7 ай бұрын
yet another JavaScript teacher
@maxtsh8 ай бұрын
Awesome
@antonio_carvalho8 ай бұрын
Great talk, a pleasure to watch, thank you!
@SamyarBorder8 ай бұрын
Amazing, I'd like to learn more about it. What are the resources that you talked about at the end master 🥷?
@frontend-warrior9 ай бұрын
The way she represented the concepts is fabulous. Her teaching and presentational skills are exceptional.❣
@ratfuk934010 ай бұрын
I don't know JS or react at all but this was really entertaining
@emberchord10 ай бұрын
common yellow tint
@webb-developer11 ай бұрын
amazing🤩
@andypsolomon11 ай бұрын
this guy is hilarious, so much that i didn't learn anything i was just laughing the whole time. gonna have to watch again.
@pookiepatsАй бұрын
i find the endless sarcasm so annoying, different strokes. 😊
@shehab97611 ай бұрын
OOP is more versatile cz u have functions that is named of methods,and u may have constructor or just the inheritance and so much more u can imagine,function is just an element of OOP
@coder_one11 ай бұрын
A classic example of a genius who doesn't have a clue about the subject, but speaks up. I suspect you write even worse OOP than you comment on the FP topic....
@РайанКупер-э4о3 ай бұрын
In oop you don't have lazy evaluation, out-of-the-box parallelism and compiler that can prove that it's code that looks completely different is doing the same stuff you wrote but faster. You'll never get it in OOP language.
@hansschenker Жыл бұрын
Good and practical explanations, will try your library!
@nathanmiddleton1478 Жыл бұрын
I'm no expert, just a foggy from the 90s. How is it "server rendered"? The server doesn't layout the page, the server doesn't calculate the DOM. All the server is doing is caching and pushing data. Rendering of everything else is on the client, yes?
@benighted2 Жыл бұрын
The term/phrase has come to mean declaring/generating markup dynamically on the web server vs the client.
@hellerbarde Жыл бұрын
You can think of it like "rendering" a template. You're right that none of the layouting-related decisions are done on the server's side.
@patricknelson8 ай бұрын
To add to that: With the “server rendered” declarative shadow DOM, the component will take on the appearance defined in that HTML/CSS even if JavaScript isn’t even enabled. This is in contrast with the traditionally “client rendered” version where JS would still be required to execute and set the contents of the shadow DOM.
@antonio_carvalho8 ай бұрын
It's rendering the *html code* in the server, instead of using javascript locally. It's not about the visual rendering that the browser does.
@thearturotoledo2 ай бұрын
I agree. Kids use wrong terminology to describe things. It's like software development wokeness.
@CodecrafterArtemis Жыл бұрын
I'm a bit miffed that, when they talk about "server-side" they specifically talk about NodeJS-exclusive solutions and static site generators instead of things that can integrate with backend frameworks (Rails, Flask, Django, etc).
@patricknelson8 ай бұрын
With you on this. I run mostly PHP on the server side, but implement web components + Svelte on the client side. What’s more is that there are other JS runtimes and environment types (e.g. Cloudflare workers or WinterJS/WinterCG). Interestingly, runtimes _like_ those which are WinterCG compatible offer opportunities for SSR of JS-bound things (like web components) without necessarily having to have JS as your “back-end”. In this case, there are 3 total layers now (a traditional back-end, traditional front-end and a middleware layer of some sort to perform component SSR). It’s something I’m working on myself in my free time (sorta rare, but still an ongoing thing). 😅
@sambines3463 Жыл бұрын
I am moving away from a lot of these frameworks to web components. I got sick of the constant bullshit with vue/angular/react specific crap.
@patricknelson8 ай бұрын
Web components, while not quite as elegant in some ways as modern frameworks, they have one *huge* thing going for them: They’re a standard. That means that they’re here to stay. They work great to sorta bridge the gap as well, in many different ways, including between heterogeneous back-ends (like Ruby, PHP, Python, etc) and even between JS frameworks which support rendering custom elements.
@AliciaSykes Жыл бұрын
Just landed here looking for security Node talks, great to see Liran being awesome as always!
@starlederer Жыл бұрын
This talk is awesome! Will be definitely looking for more by Kateryna
@seyyedkhandon Жыл бұрын
Wow, That was super weird and cool at the same time mind blowing😍❤
@paulholsters7932 Жыл бұрын
FP or OOP that is the question. Anyway to me they seem equivalent. So it's obvious one isn't better than the other. Which is why OOP will never by replaced by FP since it conquered the market first.
@banatibor83 Жыл бұрын
In a Dave Farley interview it was said, OOP look like FP if done right.
@mnavneetkrishna7264 Жыл бұрын
Can you please share the additional material which was pointed out at the end of the session? Or even the corresponding slack channel would be super helpful!
@SamyarBorder8 ай бұрын
Did you find them?
@alexzinkevych3596 Жыл бұрын
Or you can use vite or parcel. They are both blazingly fast and have bare minimum to no configuration needed.
@ПетърТодоров-о7ф Жыл бұрын
This talk is hilarious :D Love it!
@heybran_ Жыл бұрын
:host-context() selector is depreciated I believe, there is a github issue for that.
@ZachLeatherman Жыл бұрын
Do you have a link?
@ehza Жыл бұрын
This is very intuitive.
@js-wtf Жыл бұрын
what a great topic, thank you
@cetincelik8339 Жыл бұрын
Hey Great talk thank you. One feedback: It would be great if you can share the slides or at least add links that were referenced in the slides
@aakashshah4942 жыл бұрын
That is a beautiful presentation. Absolutely informative and super captivating. May I know which tools you used for this presentation?
@volker594 Жыл бұрын
Thank you so much!! That's a very nice comment to read and I'm sorry for missing it! I used keynote animations on my mac all the way! Special shout-out to the Line Draw animation and Magic Move - you can do so many interesting this with them!
@raulrojas65522 жыл бұрын
a little bit advanced for me, but useful anyways Thanks
@giogio_77772 жыл бұрын
Many thanks Anjana, would you suggest studying functional programming to a beginner javascript student, who is normally taught object oriented programming?
@parth467672 жыл бұрын
Hi there, though I am not very experienced with functional programming I have however dabbled a little in Haskell and Scala. I would reccomend you at least try to learn the basics of Functional Programming "because" it is different from object-oriented programming. It will be non-intuitive at first and it will force you to think in a very different mind frame than what you use for OOP. Thinking of a problem from a functional perspective can often help you write better OOP in turn.
@giogio_77772 жыл бұрын
@@parth46767 Hi Parth, many thanks for your advice, I will do that for sure 👍
@王甯-h2x8 ай бұрын
@@giogio_7777 Did you :D Just curious about the experience because I'm in your foot now. (trying to learn it from the ground up)
@edgeeffect4 ай бұрын
YES YES YES YES!!!!!! JS is so much simpler and makes so much more sense if you ignore as much of the OOP as you can.
@markcuello52 жыл бұрын
HELP
@mishafiullah2 жыл бұрын
good
@lyndell95382 жыл бұрын
promosm
@ian324312 жыл бұрын
thanks!!!!!
@MechMK12 жыл бұрын
Great talk. Using AST manipulation for refactoring is quite powerful, though I feel like one has to make a decision whether the codebase is large enough to warrant that additional effort.
@zaboco2 жыл бұрын
A small correction at 7:07 - node apps _can_ import ES modules. They can't import ES modules _from the CDN_ (at least not for now).
@lacascadaobregon2 жыл бұрын
This dude is a freaking rockstar. I listened to a podcast a while back and I was like holy shit, this dude is an amazing programmer. I totally can relate to him too