@NeetCode

Holy shit, theprimeagen reacted to me! 🤯 Love it

@ericm97

Reasons I find these react type videos to be among the top best things to be happening to my career:
1) I find out amazingly informative tech YouTubers from the original videos
2) Primes constant interjections is basically 100x-ing the information
3) He’s so f*in funny.
4) This kind of gold only seems to flow from highly technical senior engineers in the creamy layer of companies 

Thanks prime, continue to make these !

@Lambda.Function

Interestingly there are also functional programming patterns. I've got the full list here:

1. Functions

@betterinbooks

2:48 - factory pattern
4:38 - builder pattern
6:36 - singleton arch user pattern
10:03 - observer pattern
11:40 - iterator pattern
14:21 - strategy pattern
16:09 - adapter pattern
17:56 - facade pattern

@sealsharp

I love how some of the patterns are "wtf is that monstrosity" while others are "oh, that's a pattern? I thought that's basic doing things".

@LogicEu

So many religions in software nowadays

@llave8662

(he works at Netflix btw)

@martinlutherkingjr.5582

Just realized 1994 is 30 years ago

@lorenzodrea4640

> Buys patterns book
> Looks inside
> Interfaces
> 😐

@norcal6181

The pattern of choice at my job: The Spaghetti Pattern

@icemojo

8:08 Well, as an avid Python programmer, I can vouch that while using decorators feels pretty nice (most of the time), writing them is an absolute mind numbing experience.

@DryBones111

I too love the strategy pattern. Higher order functions are the most beautiful way to do the strategy pattern. Functional programming is just the strategy pattern all the way down. I love the strategy pattern btw.

@purdysanchez

Builder and factory are just semantic variations on a constructor.  Builder just turns parameter assignments into individual functions that can be chained together.

@genghisdingus

The only thing wrong with the phrase "JavaScript was a mistake" is the implication that JavaScript is only one mistake.

@mechantl0up

I use the builder pattern for all my JS Web Components. I am surprised people are surprised at returning this. It works nicely with a functional style, too, with a builder class whose final commit returns a DOM node and other methods return this. The web component then basically builds as one function call that when returned returns the ready component. 

You may get away with using not a single if else for a full and fully parametrised component with ES6 if returning this from each build method except commit. Listeners and any other features are just properties inserted with the builder as each sub component is described by joining build calls with the dot notation. The build tree will thus extrapolate to any complexity, as a component can always comprise any of the builds, which can comprise any builds, and so on, till the call stack returns to the top level and a full HTML component with any child components is returned, and is inserted in the DOM with the final commit. In theory, the whole web page could be built thusly. 

Prettier than some React stuff I have seen.

@Santa1936

Some of the patterns are so ubiquitous that you almost don't need to know them. Like I don't need to know that air is called air because I just breathe it naturally

@highlanderdante

are we going to just ignore the fact that he's using camelCase on Python?

@PasiFourmyle

Youtube REALLY wanted me to watch this, popping up on my end screens and recommended list for like 2 weeks now. I finally watched it..... sadly I'm not far enough on my coding journey to have learned anything or understood what was going on other than the great Prime jokes🤣

@maxteer2800

I'm gonna take a shot every time you mention you work at Netflix

@cas97553

It would be cool to go through examples of patterns in rust. I haven't looked at the code for serde but it seems to use interesting patterns such as adapters to support different serialization formats.