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.
@stefantholet40362 ай бұрын
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!
@FredrikChristenson2 ай бұрын
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.
@creativedeveloper69212 ай бұрын
Having classes in react/redux codebase considers as an anti pattern right ?
@GeneraluStelaru2 ай бұрын
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.
@majorhumbert6762 ай бұрын
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.
@Okatogurui2 ай бұрын
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.
@creativedeveloper69212 ай бұрын
@@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.
@majorhumbert6762 ай бұрын
@@creativedeveloper6921 Redux (to my knowledge) can't serialise class instances, so you shouldn't represent state with them.
@federicobau86512 ай бұрын
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.