Is OOP a thing in JavaScript?

  Рет қаралды 538

Fredrik Christenson

Fredrik Christenson

Күн бұрын

Пікірлер: 13
@h.s3187
@h.s3187 2 ай бұрын
8 years ago we were migrating an Java backend codebase to JavaScript, what I felt the most mind blowing thing is that we eleiminated a bunch of classes from Java just by using an Immediately invoked function in Javascript.
@stefantholet4036
@stefantholet4036 2 ай бұрын
What would your advise be for self-taught javascript developers who have a lot of the knowledge gaps that you describe in this video and are already employed and therefore may not necessarily have all the energy and time to devote to filling those gaps in their free time? How would you use your work environment to get there, given that of course you can also devote some of your free time here and there? Thank you for the videos!
@FredrikChristenson
@FredrikChristenson 2 ай бұрын
A lot of companies care about the personal development of their devs. Usually it is enough to mention to your manager that you want to learn more about backend work. Request to pick up a few stories for backend work as part of your development plan.
@creativedeveloper6921
@creativedeveloper6921 2 ай бұрын
Having classes in react/redux codebase considers as an anti pattern right ?
@GeneraluStelaru
@GeneraluStelaru 2 ай бұрын
Redux is an antipattern in itself. I've seen projects where the combo has been applied like it's some sort of panacea for every front-end problem.
@majorhumbert676
@majorhumbert676 2 ай бұрын
In JavaScript/TypeScript, you don't really need classes because you have closures, mapped types, and union types. These features kind of correspond to private fields, open classes, and sealed classes. But the functional style makes more mathematical sense than the object-oriented style.
@Okatogurui
@Okatogurui 2 ай бұрын
Class *components* are an outdated pattern (in most cases). There's nothing particularly wrong with using classes for business logic outside of the react library's scope, even if used in a react app. It's more of preference, although most tend to prefer not writing classes.
@creativedeveloper6921
@creativedeveloper6921 2 ай бұрын
@@Okatoguruisorry if it wasn’t clear, I was referring to Class as non serializable data. In redux that is an anti pattern for sure, which it’s documented in redux official docs.
@majorhumbert676
@majorhumbert676 2 ай бұрын
@@creativedeveloper6921 Redux (to my knowledge) can't serialise class instances, so you shouldn't represent state with them.
@federicobau8651
@federicobau8651 2 ай бұрын
I agree . One personal opinion about specifically Java devs (or similarly as you say about "mainly javascript" mainly who write Java only), not sure if C# have the same but..they tend to be the dev type that you describe often as "philosphycal" . They tend to have their head full of abstractions patterns, theories and so and in many cases they are blind to understand some scenarios or make things harder than what they are.
What advantages does TDD have?
10:52
Fredrik Christenson
Рет қаралды 423
What to do about devs without domain knowledge?
8:54
Fredrik Christenson
Рет қаралды 1,8 М.
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 25 МЛН
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 13 МЛН
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 2,5 МЛН
Master Arrays in Java - Quick and Easy Tutorial for Beginners
16:20
Why don't universities teach software design?
9:00
Fredrik Christenson
Рет қаралды 178
Why do some devs never outgrow the junior level?
11:11
Fredrik Christenson
Рет қаралды 2,7 М.
All things are possible with God
14:56
The Temple
Рет қаралды 27
How to handle the fear of failing?
8:39
Fredrik Christenson
Рет қаралды 470
Would you accept a position that down-levels you?
10:04
Fredrik Christenson
Рет қаралды 448
What could an AI do for a software dev?
8:26
Fredrik Christenson
Рет қаралды 564
Why do senior devs hate coding interviews?
12:11
Fredrik Christenson
Рет қаралды 2,3 М.
Why do IT companies prioritize speed over quality?
10:26
Fredrik Christenson
Рет қаралды 1,3 М.
Why do senior devs drop out of the hiring process?
10:48
Fredrik Christenson
Рет қаралды 2,2 М.
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 25 МЛН