Want to master Clean Architecture? Go here: bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
@RaZziaN1
Ай бұрын
Really good video, you should keep going with videos like this. Especially how to unmess this e-commerce enterprise mess, it happened many times while working as programmer
@YehorBachurinDev
Ай бұрын
💀💀💀
@MilanJovanovicTech
Ай бұрын
Do you have a repository I can use as an example?
@jawadsrour8490
Ай бұрын
You listened to me and did it! Man your the goat! Superb video💪🏻
@MilanJovanovicTech
Ай бұрын
Open for more ideas 😁
@jawadsrour8490
Ай бұрын
@@MilanJovanovicTech connected on Linkedin, will send you good stuff there
@helen6400
Ай бұрын
I love it. I definitely would like to see more refactoring videos. That will help a lot when doing my job. Thanks
@MilanJovanovicTech
Ай бұрын
More to come!
@JamesYGGoY
Ай бұрын
yeah, more of this please. this was good
@MilanJovanovicTech
Ай бұрын
Awesome, appreciate the feedback 👌
@gustavoftrindade
20 сағат бұрын
Thank you so much for sharing 😃
@MilanJovanovicTech
16 сағат бұрын
Any time!
@PierreM970
5 күн бұрын
Cool. What I would personally first do is write a Player class (a prop for Score, an WinPoint method and a WonPoint event). Then remove the WonPoint method from the tennis game interface (what if the given string does not match any players names?) and add instead 2 TennisPlayer props. The implementation of the interface can then become even more meaningful...
@MilanJovanovicTech
5 күн бұрын
Cool! I wasn't considering going down that path at all, but it can work.
@MatheusLB2009
Ай бұрын
I've been a huge fan of Switch Statements since 2017 and even I didn't know of those tricks. Kudos
@MilanJovanovicTech
Ай бұрын
Awesome 😁
@yuriy5376
18 күн бұрын
To be precise, these are switch expressions. Switch statements were used originally and then replaced by expressions.
@wilsonmori949
Ай бұрын
For a clearer explanation, you must activate the file selection in the solution explorer. Thank you so much for your explanation.
@MilanJovanovicTech
Ай бұрын
There was 6-8 files in total
@seefaros
Ай бұрын
Please make more video about refactoring :3
@MilanJovanovicTech
Ай бұрын
Noted!
@antonmartyniuk
Ай бұрын
Nice video. Many years ago I was doing one type of refactoring quite often. Some time later, when I was learning the essentials of software architecture, I found out how this refactoring pattern is called - Boy Scout Rule. It says thay you should leave the code better than you found it.
@MilanJovanovicTech
Ай бұрын
Something I try to do often. But the tricky part is not going overboard with refactoring.
@antonmartyniuk
Ай бұрын
@@MilanJovanovicTech 100% sure
@abo1428
Ай бұрын
Thank You Millan! 👏🏻
@MilanJovanovicTech
Ай бұрын
My pleasure!
@RezaRajaei-lv9fs
3 күн бұрын
Amazing
@MilanJovanovicTech
2 күн бұрын
Ty
@vukilesimelane2033
Ай бұрын
This is soo good!! Thanks Milan
@MilanJovanovicTech
Ай бұрын
Glad you liked it 😁
@saveliebabaianu9888
Ай бұрын
Hey Milan, can you make a video about how to identify the Bounded Contexts and how to structure the entities in microservices please?
@MilanJovanovicTech
Ай бұрын
Good suggestion
@CRBarchager
Ай бұрын
This is an excellent exercise for junior developers and a good way to show that there are never just 1 way of doing things.
@MilanJovanovicTech
Ай бұрын
Especially if you try all the refactoring katas in that repo
@AlexxXRecorD
Ай бұрын
Thanks so much! Very interesting
@MilanJovanovicTech
Ай бұрын
Glad you enjoyed it!
@ShahedAlMahmudMoni
Ай бұрын
Please make more video about refactoring
@MilanJovanovicTech
Ай бұрын
Will do!
@sinthonseng8981
Ай бұрын
15:32 first time I have heard you laugh. 🤣🤣
@MilanJovanovicTech
Ай бұрын
I broke character 😂
@raycarlbrown-amory3509
Ай бұрын
Really Really good video
@MilanJovanovicTech
Ай бұрын
Thanks a lot!
@whosgotrythm
Ай бұрын
Thanks not enough videos of refactoring code.
@MilanJovanovicTech
Ай бұрын
Thank you, that's good feedback
@marvinxulu7816
Ай бұрын
use generics on the next ep 🔥🔥🔥🔥
@MilanJovanovicTech
Ай бұрын
Where would they fit?
@marvinxulu7816
Ай бұрын
@@MilanJovanovicTech refactor using Genetics ? or any example using genetics
@ayasaber2567
28 күн бұрын
When I make Ctrl+. I don't find the option of 'convert to switch expression', any idea pls
@MilanJovanovicTech
28 күн бұрын
Not sure. Not even when you hover over it with your mouse?
@ayasaber2567
28 күн бұрын
@@MilanJovanovicTech Yes, when I chose 'quick options and refactoring' nothing appeared, should I install NuGet package or something related?
@DavidSmith-ef4eh
Ай бұрын
Enterprise solution scared me.
@MilanJovanovicTech
Ай бұрын
Try to refactor it 😁
@DavidSmith-ef4eh
Ай бұрын
@@MilanJovanovicTech nope. Even if you did it in a video, I'd probably be too scared to watch it.
@rafazieba9982
Ай бұрын
1) Stop using Hungarian Notation. Both "m_..." and "_..." are Hungarian notation. If you want to show that something is a private field use "this.variableName". 2) By adding the default case you changed the behavior. 3) What would be your name for the constant equal to "-1" and how would it help you understand what it does?
@MilanJovanovicTech
Ай бұрын
@@rafazieba9982 1) No thanks, I like my style. 2) True, acceptable for me. 3) We're not looking at the shortcomings of the implementation here (and there are many), as I didn't write the original code.
@antonmartyniuk
Ай бұрын
"_..." notation for naming private variables is a standard that is used by Microsoft, you even have built-in analyzer in the IDE that suggest using this notation
@rafazieba9982
Ай бұрын
@@antonmartyniuk Microsoft switched from leading underscore to no prefix some time ago. Microsoft doesn't always follow its own advice. Check the IDE options. You can chose between underscore and no prefix. Use .editorconfig file to promote single code guidelines to whole repository.
@jchandra74
Ай бұрын
If I need to depends on ceremony, I rather have one that is shorter. Therefore, _ is shorter than this. It's a known convention and it met my laziness and requirement. 😊
@LilPozzer
Ай бұрын
Why do people keep calling it an enterprise lol, it's barely laboratory work 1 back in my university
Пікірлер: 67