Тёмный

Let's Review Your Backend Code | SHALL WE??? 

Amigoscode
Подписаться 1 млн
Просмотров 303 тыс.
50% 1

In this video I code review code sent by the Amigoscode community.
#amigoscode #programming #codereviews
Don't Forget to
===========================================
💯 Subscribe to Amigoscode - bit.ly/2HpF5V8
💯 Courses Available for free here - amigoscode.com...
💯 Join Private Facebook Group and Discord - amigoscode.com...
⭐ Table Of Contents ⭐
===========================================
🙊 Here are the goods for all my videos video 🙊
► Recommended Books
===========================================
- Clean Code - amzn.to/2UGDPlX
- HTTP: The Definitive Guide - amzn.to/2JDVi8s
- Clean Architecture - amzn.to/2xOBNXW
► Computer and Monitor
===========================================
- New Apple MacBook Pro - amzn.to/3464Mmn
- Dell 27 INCH Ultrasharp U2719D Monitor - amzn.to/2xM3nW1
- Double Arm Stand Desk Mount - amzn.to/3aYKKfs
- USB C Hub Multiport Adapter - amzn.to/2Jz7NlL
► Camera Gear
=============================================
- Sony ILCE7M3B Full Frame Mirrorless Camera - amzn.to/346QIJn
- Sigma 16 mm F1.4 DC DN - amzn.to/2wbic3Q
- Sigma 33B965 30 mm F1.4 DC DC - amzn.to/39G37Fd
► IDE & Tools I use for coding 💻 🎒
===========================================
- ITerm
- VsCode
- GoLand
- IntelliJ Ultimate
- Sublime
P.S
===========================================
💯 Don't forget to subscribe | bit.ly/2HpF5V8
💯 Join Private Facebook Group and Discord - amigoscode.com...
💯 Follow me on Instagram | bit.ly/2TSkA9w
❤️ Thanks for watching

Опубликовано:

 

16 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 460   
@1309CV
@1309CV 2 года назад
This style of content is actually really great. You should definitely do more of this. It's incredibly educational.
@infinteuniverse
@infinteuniverse 2 года назад
when you're on the job. Your team is expected to give you regular code reviews every time you want to merge changes.
@dwikikurniawan9878
@dwikikurniawan9878 2 года назад
yes, another video like this, please! 😉
@KawoskiKoh
@KawoskiKoh Год назад
agree especially when you write code similar to these you can see where you improve
@Kotik112
@Kotik112 Год назад
Agreed. I'm looking for my first job as a spring boot developer so these sort of code reviews are "gold".
@phil86_
@phil86_ Год назад
Absolutely agree. Getting code reviews from Senior devs is crucial and it’s not so obvious unfortunately. This is gold actually.
@dc4539
@dc4539 2 года назад
"Add some tests, it's not difficult", as a support engineer I wish it was more difficult. So many engineers write crap tests that validates their work. It's like awarding yourself a medal
@lion816
@lion816 2 года назад
i feel this. test driven development is something everybody should look into imo. i learned it once and will never write code without it. improves quality of tests and production code
@matthewchunk3689
@matthewchunk3689 2 года назад
@@lion816 Just learning how to write fuzz tests. Are there any good resources?
@lion816
@lion816 2 года назад
@@matthewchunk3689 we dont really use fuzz testing at work atm, im not so familiar with it sorry :(
@ProxyDE
@ProxyDE 2 года назад
hey, i did a great job and my tests prove it. i deserved that medal
@heliophobicdude
@heliophobicdude 2 года назад
@D C what do support engineers do? Thanks!
@N7Tonik
@N7Tonik 2 года назад
cool video idea! but it would be much more helpful if you would explain shortly why you would do things different (and not just what). So a few questions came up for me: 1. why to use "BigDecimal" instead of "Double" for prices 2. why you think that "implements Serializable" can be removed for the dto class 3. which response code is returned if we throw an exception in a controller, 500? 4. why to additionally add the "@Query" annotation to the method declarations of the repository interface, instead of relying on the method name
@RaviYasas
@RaviYasas 2 года назад
I have the same question "why do you think that "implements Serializable" can be removed for the dto class"?
@stevenr3537
@stevenr3537 2 года назад
I'd actually suggest using the jpa function is better than query, unless you actually have something custom to do. Computer is best at generating these basic queries. The big thing people forget is to ensure their queries hit indexes they have on their table.
@codebitcookie8053
@codebitcookie8053 2 года назад
Computers can sometimes miscalculate floats with rounding errors. See the video about Floats from Computerphile. Since Double is just a bigger float. You should rather use Integers for dollars and cents so 1 dollar = 100 cents, 1.25 dollar = 125, etc.
@stevenr3537
@stevenr3537 2 года назад
You should use Big decimal for money amounts, more precision again then Integer
@climatechangedoesntbargain9140
@climatechangedoesntbargain9140 2 года назад
@@codebitcookie8053 what do you do with 0.9 cents? -> decimals
@felipedossantos7246
@felipedossantos7246 2 года назад
I know this first code. It was written in Semana DevSuperior in Brazil. The instructor is quite nice, a really smart guy. But it's really awesome when we can see a feedback like this from Mama Samba.
@downfall991
@downfall991 2 года назад
I liked this a lot! Thanks! Would be nice if you could do these types of content from time to time and also explain like how and why it could be better implemented when you don't agree with some of the stuff you review. Or even make a video for best practices, programming principles, designs like package by feature vs package by layer and etc.
@kristiyangerasimov6708
@kristiyangerasimov6708 2 года назад
Dear Nelson, thank you for the great content. Please do more of these code-review-style videos. As a beginner it is one of the best ways to see different projects through someone's more experienced eyes. Truly invaluable!
@williamokano
@williamokano 2 года назад
Bro, simply amazing channel. That's awesome that you're doing this public reviews for the people and pointing the improvements. The community needs more people like you.
@ownagejuice1394
@ownagejuice1394 2 года назад
i enjoyed this. you're one of the few YT instructors I respect
@xanxusvaria8492
@xanxusvaria8492 2 года назад
we aleykum Selam, a Muslim doing code Videos, damn I am happy to see a brother sharing his knowledge with The World! We need more people as amazing and nice as you representing there religion in such a good manner! May Allah bless your Heart jazakallahu khairan!
@DevMadeEasy
@DevMadeEasy 2 года назад
Hey amigos code I just loved the "old lady" you used on your Thumbnail, she's in a lot of my own videos. About your video? A great Job as always. Congrants!
@michelchaghoury870
@michelchaghoury870 2 года назад
hello nelson great content, can you show us how to test a secured endpoint in spring boot and how to user swagger with spring security
@pmoieni
@pmoieni 2 года назад
If anyone asked me what's the difference between junior and senior developer I will show them this video
@vrvr82
@vrvr82 2 года назад
I strongly disagree on 2 points: 1) There is no bad thing about using Instant, it's part of Java 8 Date/Time API as LocalDate. 2) The bad practice in repositories is actually to write a @Query when it can work automagically thanks to the method name (I really don't understand why would that be a wrong practice tbh)
@sinamarki
@sinamarki 2 года назад
Im agree with you. I use @Query only for complex query or optimisation and instant is not a bad practice
@tyvain
@tyvain 2 года назад
@@sinamarki yes, use the power of jpa without typing the query most of the time is great / easy / readable
@xxcsokixx
@xxcsokixx 2 года назад
Yes please. Dont write unnecessary queries...
@DavisTibbz
@DavisTibbz 2 года назад
Yes
@jorgerst
@jorgerst Год назад
This. Thanks for also pointing that fact about the unnecessary @Query annotation.
@diogoluizzzzzz
@diogoluizzzzzz 2 года назад
Greetings from Brazil ! Congratulations for your content, it has helped me a lot! I don't understand English very well, but your diction is very good and you don't speak super fast like other people lol, so I can follow your content more easily! thank you !
@javablackstack
@javablackstack 2 года назад
I learn english by watching your content, thanks for your efforts! From Russia with love ❤
@bogdanspirea9050
@bogdanspirea9050 2 года назад
Why is it considered a bad practice not having @Query on top of the methods in the repository?
@Quillraven
@Quillraven 2 года назад
I also did not get that. Why define a query when spring is automatically doing it for us? I get it for complex queries but for simple ones I personally prefer it without @Query unless someone has a good reason for it.
@theyreMineralsMarie
@theyreMineralsMarie 2 года назад
It's not bad practice, it's just his opinion. Not everything this guy says is law.
@TheN0odles
@TheN0odles 2 года назад
@@Quillraven Agreed
@yasmin_jsmn
@yasmin_jsmn 2 года назад
I wish I had the chance to see code review like this earlier in my career. You are doing a great job جزاكم الله خيرا. I have a question please, why it's not good practice to have an interface for each service? Without interface you're depending on implementation not abstraction.
@zlarak
@zlarak 2 года назад
Completely agree with you. Having dependencies in the constructor is nice, but Dependency Inversion requires you to reference an Interface and not the implementation itself. Otherwise you're introducing unnecessary coupling to that one implementation. Interfaces also are usually easier to mock during tests.
@31redorange08
@31redorange08 2 года назад
@@zlarak No, no interface required. Unneeded bloat.
@ThiagoLimaRocks
@ThiagoLimaRocks 2 года назад
I have been working on Software Development for the last 8 years and I never had a code review. Recently I have been promoted to be a tech lead, and I didn't know how to do code reviews. Please, do more of this, and maybe I'll learn how to work better. Thanks.
@shiningass
@shiningass 2 года назад
LGTM
@mishikookropiridze
@mishikookropiridze 2 года назад
Looks good 👍
@LeadNevertell
@LeadNevertell 2 года назад
@@shiningass HHAHAHAHAHAHAHA That killed me.
@ogookafor2137
@ogookafor2137 2 года назад
I LOVE THIS! We need more of this . Thanks Amigos
@pedro.carara
@pedro.carara 2 года назад
omg!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! im the frist one in the video omggggggg!!!! :D :D
@Alberto_Cavalcante
@Alberto_Cavalcante 2 года назад
Boa Pedro
@pablon3115
@pablon3115 2 года назад
This is a truly channel for developers unlike other channels that shows any kind of crap except programming itself.
@jorgerst
@jorgerst Год назад
9:03 - Why "always add the @Query" even if spring boot provides you the implementation based on the method name on many cases?
@KolosBros
@KolosBros 2 года назад
awesome video! This is the best way to learn how to properly write code ! It's awesome to learn good practices from such pro as You! Please do more in the future !
@user-stevegjffuhdry
@user-stevegjffuhdry 2 года назад
I usually skip most of your videos, but this one was an eye catcher. You should keep on doing this type of format. Another idea to consider, you do an open source project with fans and do code review/coding sessions with them.
@exprove2496
@exprove2496 2 года назад
It's wrong to catch every `Exception` at 6:00, since there are many things that could go wrong. However I think you should catch a custom service exception NotFound (or findById exception if it already throws a DoNotExistException) on the controller and return a HttpStatus.NOT_FOUND. I don't use Spring for years but I don't think IllegalStateException will automatically map to a 404 response. Normally unhandled exceptions will throw a 500 internal error on webservers.
@fauzrukendworld1633
@fauzrukendworld1633 2 года назад
I don't know Spring but on my projects I usually use some kind of exception event or at a higher level than the actual action that does this exception conversion from Not Found from the ORM to the HTTP 404 exception. This avoid having to repeat the try catch in all the controller actions I might have.
@lucasfrancisco1502
@lucasfrancisco1502 2 года назад
I'm from Brazil and your "Olá, tudo bem?" was perfect. Congrats! You have a little of brazilian in your life.
@Lolnigaaaaaaaaa
@Lolnigaaaaaaaaa 2 года назад
Just look at this guy inspiration for all the Muslims, glad to see this guy following sunnah with prayer cap.
@FedericoFavaro
@FedericoFavaro 2 года назад
Hi there, great video there, enjoyed watching it a lot. If you want to make this format even better, you could go a bit more in depth about why things are not working. Well, maybe not naming conventions because they are just conventions, but say: - constructor injection -> you say multiple times to use it over field injection, but you never explain the reasoning behind this - exceptions in controllers -> you say not to throw exceptions in controllers, but never explain why that should be avoided And so on. Basically, I feel like this type of content could have GREAT potential, but that it calls for a more in-depth analysis
@YT_Zorro
@YT_Zorro 2 года назад
The @Query is usually the bad practice in this case when using JPA. Only use @Query if JPA cannot make the query you are trying to do. Also wrap your repositories in service layers for cleaner implementation.
@DavisTibbz
@DavisTibbz 2 года назад
Yep i agree ☝️
@kadusalles
@kadusalles 2 года назад
Hey man! :D Awesome video, you could explain more, detailing why he should do it the way you told him.
@ogwokwilliam3891
@ogwokwilliam3891 2 года назад
am a MERN developer - this is the most helpful content I've found all month. Thanks alot
@eli-tutos
@eli-tutos Год назад
I wanted to give a like every time you said "TEST YOUR CODE". RU-vid is full of guys teaching bad practices so this video is GOLD. I'll save it for future reference.
@Japhu
@Japhu 2 года назад
@ 33:00 not sure what exactly thats doing but creating new threads on runtime is not a good practice in java because of cpu overhead and vulnerability for dos attacks. Always use a threadpool.
@mrcoder9401
@mrcoder9401 2 года назад
Walaikum as Salam..... Masha Allah , this is great man ,this helped alot analyzing myself. Looking for more such reviews. Thanks!
@aykborstelmann8623
@aykborstelmann8623 2 года назад
The reason for writing tests is not just to be sure that everything works but also to improve your code. Testable code is usually much cleaner. Just to give you guys extra motivation for testing.
@somdaarnaud
@somdaarnaud 2 года назад
Please do expand on the feedback you make so people know why doing 'xyz' is not a good idea rather than just this is not good practice, helps strengthening the point as to what can happen if this is not done. Appreciate the video though, one of the most informative ones I've seen in my career!
@dabbopabblo
@dabbopabblo 2 года назад
Your sense of fashion is amazing dude, also props for being so informed and knowledgable
@ourybarry2983
@ourybarry2983 2 года назад
19:03 In my opinion returning numbers of deleted row isn’t actually a good idea as the method takes a single row id in param it we already know that it will always return 1 in case of success, so i think’s it’s better to return a boolean that will tell if the deletion was successful or not
@anhquantranle961
@anhquantranle961 2 года назад
yeah return the number of deleted row is actually bad because it is not flexible enough for a change to an interface. Imagine if for example later they decide to change the implementation to another database technology that don't support returning number of deleted row -> we now have to change a lot of code to accomodate that. Besides, returning the number of deleted row is such an unnecessary detail which the dependent class need to know: why number of deleted row but not the data that get recently deleted? why number of deleted rows but not boolean value like you said.
@mjdev-i1p
@mjdev-i1p 2 года назад
Really good advice. You always have to remember that the Tech-Lead is not the one who is hiring you but he has to defend your application and if you follow Amigos advice you make it very easy for somebody to defend your position.
@Lucas-ej1si
@Lucas-ej1si 2 года назад
The "olá, tudo bem?" made a big smile on my face, thank you
@marupakasrikarsharma9371
@marupakasrikarsharma9371 2 года назад
Hello Nelson! Thanks for sharing great content. I have a doubt, why are we removing @Autowired and adding constructor injected ?
@stevenr3537
@stevenr3537 2 года назад
It's switching from setter depending injection to constructor based injection. Constructor based, using final is a immutable dependency injection method, whereas with setter based technically the dependency could be changed after initial instantaniation of the controller
@carlosrenesoto9650
@carlosrenesoto9650 4 месяца назад
Great video! I Always learning new things from watching your videos. Regards from Tijuana, México
@plankton383
@plankton383 2 года назад
Code reviews are my favorite programming content on the internet. Subscribed. Please do more! 🙏🏻
@istainblack
@istainblack 2 года назад
This content is awesome! I really enjoyed this video. Its really cool to get an inside look into what is going through an experienced developers mind in a code review!
@Michaeljamieson10
@Michaeljamieson10 2 года назад
please keep doing this! I didnt quite understand why not to have an interface for each service... if anyone can explain it would be appreciated!
@UsernameUsername0000
@UsernameUsername0000 Год назад
My understanding is that it’s superfluous because it’s not like you’re going around creating multiple versions of that service. You don’t need a contract for something that you won’t write more than one version of. At least that’s what I think it is. This way you’re forcing yourself to synchronize two classes instead of one, when you only need one.
@tommasochiti4237
@tommasochiti4237 5 дней назад
@@UsernameUsername0000 The reason you create mono interfaces like that is exactly for testing, so you can mock an IGameService.
@patrickbelanger6253
@patrickbelanger6253 2 года назад
I really enjoy watching these code reviews! I learned a lot watching you review Spring Boot-based app. Well done!
@ParadoXxGER
@ParadoXxGER 2 года назад
You have a very positive influence on our coding-community. Nice work!
@asandax6
@asandax6 2 года назад
The money using double or float problem is real. I've seen too many students use it when I help them with assignments. The most infuriating thing about this is that most when I ask to see the books they are using it's written that never use floats to do financial calculations and give examples of why.
@lxdzii
@lxdzii 2 года назад
Wow beautiful content as always 😊😻, haven't been seeing ur channel in a while,(RU-vid algorithm hasn't been recommending me ur videos :( ) i realised i missed a lot of interesting videos💫👌... Will be catching up soon
@infinteuniverse
@infinteuniverse 2 года назад
No interfaces for services? I thought standard practice was to do something like: UserService as the Interface and UserServiceImpl where the actual implementations go. Same with DAO: UserDao, UserDaoImpl.
@stevens1665
@stevens1665 2 года назад
I also wonder why he said it was bad practice
@zebra9389
@zebra9389 2 года назад
can I ask why the standard practice requires you to use interfaces for service?
@Japhu
@Japhu 2 года назад
You do facade your impl. with an interface. What he meant is the throwing exceptions in the apis because you should handle exceptions at the service layer.
@andreujuanc
@andreujuanc 2 года назад
"What is this, man? Have some tests!" XD haha that was so good.
@iiikawaiii9098
@iiikawaiii9098 2 года назад
I stumbled upon your video by accident, why didn't I do this earlier?? Your content is the best I have ever seen. And yet, what are your background configurations and so on? The appearance of the IDE with the code makes the eyes happy
@tobiowolawi7989
@tobiowolawi7989 2 года назад
I'm always glad whenever I see smart young black software engineers, this was never usually the case like 10 years ago in which very few of us existed. keep up the good work buddy
@aadlani
@aadlani 2 года назад
I can't thank you enough for putting this together. 💖💖 May Allah reward you well
@speedfastman
@speedfastman 2 года назад
Allah's not really rewarding Ukraine rn. 🤕☹😥
@forevermist3838
@forevermist3838 2 года назад
@@speedfastman God gave all of us free will and a ruleset of moral obligations to live by. Now just because a war happens or someone close to you dies. You don't blame God you blame the person who used his free will to cause deaths.
@speedfastman
@speedfastman 2 года назад
@@forevermist3838 Why would God be so silly to give us free will when he knows we'll have pain and suffering because of it!
@forevermist3838
@forevermist3838 2 года назад
​@@speedfastman Without free will you are just a robot, you won't have the ability to make your own choice .This life is not given to us for free, Through out your whole life you are tested. You have the capacity to do good or bad, Hence the reward and punishment according to your actions. You will get reward if you do good things in this life and in the hereafter and for wrongdoers Justice prevails. If not for God you can do bad things and hopefully justice serves but sometimes you get away with it. You don't have a punishment waiting for you in the afterlife and you don't have the fear of being punished by God. Same argument can be put against athiests, Why do humans have the ability to think and make choices? If not then the world wouldn't be so bad right?
@speedfastman
@speedfastman 2 года назад
@@forevermist3838 Is God good and omnipotent? Yes? Then he wouldn't have created suffering. End of story.
@akires47
@akires47 2 года назад
Hello, I don't know if in Java is different, but in C# at least as I know is good to segregate all your services or dependencies by interfaces so you can unit testing them, and also accomplish the Interface Segregation Principiple of SOLID.
@-Chris_
@-Chris_ 2 года назад
In this case its the dependency inversion principle, and it should be enforced in every language
@blighthornsteelmace820
@blighthornsteelmace820 Год назад
there is also something called YAGNI
@faisalalghamdi2066
@faisalalghamdi2066 2 года назад
Really enjoyed watching this. Great stuff, thanks!
@testaenzo620
@testaenzo620 2 года назад
Nice video ! Can anyone explain why controllers should not throw errors, but only services should ?
@noone-gz4pc
@noone-gz4pc 2 года назад
RU-vid brought me here and I'm so happy I found you! subscribed.
@maulanaiman4448
@maulanaiman4448 2 года назад
This is what I often looking for on youtube, the only channel that doing code review is Laravel Daily, it's hard to find a content like this.
@youssefelmoro1464
@youssefelmoro1464 2 года назад
we need another video like this Bro
@renanbrayner984
@renanbrayner984 2 года назад
1:53 that "olá, tudo bem?" was soo smoooth
@Influras
@Influras 10 месяцев назад
This channel is a gem for the java community
@aminshoman1
@aminshoman1 2 года назад
I am happy you are a good Muslim, proud of you bro, hopefully this content will be Hasanat for you ❤️
@eugenesmith9940
@eugenesmith9940 Год назад
I was taught that while using spring you either do injections via @Autowired on fields or constructor. It was said that both ways were correct and we should just pick one and stick with that choice. So, now I see that you remove @Autowired from fields and don't use it on constructor. Am I right that constructor itself is enough for dependency injection and @Autowired annotation is redundant in this case? Because I do use @Autowired on my constructor to do dependency injections having my fields private and final.
@spiritofliquid
@spiritofliquid 2 года назад
The IDE has also the option to optimize the imports for you when u commit something in your repo. I saw so often unused imports....
@tseby1172
@tseby1172 2 года назад
This is incredibly usefull and helpfull especially to someone like me (who has not landed a job yet) to get insights on how things should be
@vinaychaurasiya719
@vinaychaurasiya719 2 года назад
i encountered so many problems in my project just by watching this video, thank you so much sir.
@returncode0000
@returncode0000 2 года назад
Nelson, whats that IntelliJ theme you use? looks nice!
@WilmanArambillete
@WilmanArambillete 2 года назад
i totally loved this video. It is super useful to have your feedback since you seem to have a lot of experience with Springboot and Java. Kudos for this video
@michelnicholas
@michelnicholas Год назад
Thankful for you Amigos I remember being a beginner and you guided me thank you
@arancle154
@arancle154 10 месяцев назад
@AmigosCode, can you do a video on the different log framework and which to use and best practice for it and maybe too how to connect it ot splunk? Ive noticed multiple companies uses diff and i wnat to know whats like the best practice and preferred logger
@NkosiMlambo
@NkosiMlambo 2 года назад
This video was helpful. Thanks Amigo.
@oscarmiranda9532
@oscarmiranda9532 2 года назад
Hey Salim, (Sorry if that isn't how you spell your name), but you should considered a video where you explain architecture on how to build our projects
@squ34ky
@squ34ky 2 года назад
This video is amazing! Got to learn so much from reviews. Thank you!
@mohamedbensalah7169
@mohamedbensalah7169 2 года назад
Oh man, this type of content is great, thanks bro
@Soromeister
@Soromeister 2 года назад
I did not understand the name of the project that replaces RestTemplate. Is that OpenFae or OpenFey cause I couldn't find anything searching either.
@lukagolubovic3641
@lukagolubovic3641 Год назад
Please do some more videos of this type, they are very useful and it is secured to have at least 150k+ views because people are looking into watching and learning from videos like this one. Thank you
@GetDone96
@GetDone96 2 года назад
Incredibly useful, it's like a video version of pull request review. Keep it up!
@ramasauge
@ramasauge 2 года назад
why is programming services to interfaces bad? like in teh case of IService, for now there is only one implementation, but what if for some reason a need arises to have a -slightly-different implementation of this service? I though programming to an interface always gives more flexibility whether its needed or not?
@oguz7392
@oguz7392 2 года назад
It was great video man. Thank you so much for all this tips.
@ashwinraghunath4453
@ashwinraghunath4453 Год назад
Hello :) 6:49 : if orElseThrow is used, where is the exception caught since you removed the catch clause? 7:54 : why is serializable being removed?
@rStudius
@rStudius 2 года назад
IMO is bad to say that you should not use method naming to query on repository. Because it's documented and it must be used
@coreykuehl8519
@coreykuehl8519 Год назад
Definitely more of these videos. It would be great for them to go a little longer as well.
@kaliljanan
@kaliljanan 2 года назад
it would be nice if you take some time to explain the diference between DAO and Repository. Also the util folder could be a exemple of anemic domain or primitive obsession.
@31redorange08
@31redorange08 2 года назад
The difference is that they have nothing in common.
@lovetocode
@lovetocode 2 года назад
really like this kind of professional code reviews. Would be great if get to see more.
@akshayrc
@akshayrc 2 года назад
Great content here.. Thank you Nelson for making one! Please bring more code review videos.
@contactdi8426
@contactdi8426 2 года назад
This is the best series!! I really liked and learned, please keep on giving these review videos
@mitch0210
@mitch0210 2 года назад
I didn't understand why in RequestMapping we use "/api/v1/name"? Is there a video that explains it?
@blvckchocolvte
@blvckchocolvte 2 года назад
This is basically a server side route definition standard, simply specifying the api version and the name referring to the resource being accessed.
@yeinermorales
@yeinermorales 2 года назад
@@blvckchocolvte It is best practice to handle it globally in the configuration file. I do it as a question For example server.servlet.context-path=/api/v1
@vitamin2845
@vitamin2845 2 года назад
Hello, Nelson. What are hotkeys for writing the same on multiple line?(final in this video 7:40)
@user-kh9nm3tr1v
@user-kh9nm3tr1v 2 года назад
Выделяешь слово которое нужно выделить ещё где то и жмешь alt j
@arturjoshi8905
@arturjoshi8905 2 года назад
7:04 There is also no need to save entity, as it's being managed by persistence context in @Transactional methods.
@420_FORTNITE
@420_FORTNITE 2 года назад
Thank you so much! Please do more of these :)
@OlajhideyYT
@OlajhideyYT 2 года назад
From this video, i am so guilty of not writing test. from henceforth imma start writing test
@kpr3729
@kpr3729 Год назад
Hello, what's the reason why we avoid using the @Autowired annotation when injecting dependencies in our Controllers and Service?
@SealedSaucer
@SealedSaucer 2 года назад
The algorithm have blessed your channel.
@Yahyazini
@Yahyazini 2 года назад
Wallahi… this video is awesome brother!
@titzko987
@titzko987 2 года назад
First time Im seeing this kind of content on youtube, but its really good. Please more of it
@tartorstyx5104
@tartorstyx5104 Год назад
Hi! LocalDateTime has no time zone info. Why would you use it instead of Instant in business logic? (related to 11'05'') Thanks!
@Alberto_Cavalcante
@Alberto_Cavalcante 2 года назад
Grande Nelson! Hope you keep doing more videos like this.
@hamadimhissen5072
@hamadimhissen5072 2 года назад
Same
@theanswer3sixers
@theanswer3sixers 2 года назад
7:29 What's wrong with using a UTC Instant in the dto?
@fredheladrienkissie1404
@fredheladrienkissie1404 2 года назад
Hello, I liked your video and how you did the review. But ´I’ve been distracted by your mic 🎤, the sound is so nice, what brand is it ?
Далее
OK i need to change your code. SORRY
43:18
Просмотров 166 тыс.
Junior Developer Sent Me Another PR For Review
15:44
Просмотров 103 тыс.
Solid Programming - No Thanks
32:00
Просмотров 295 тыс.
When You Ask the Intern to Review Your Code
4:01
Просмотров 589 тыс.
Forget Controllers and Minimal APIs in .NET!
14:07
Просмотров 68 тыс.
10 Most Common Java Developer Mistakes
16:13
Просмотров 106 тыс.
How Senior Programmers ACTUALLY Write Code
13:37
Просмотров 1,5 млн
Junior Developer Sent Me A PR For Review
17:26
Просмотров 168 тыс.
SOME UNIQUE C++ CODE! // Pacman Clone Code Review
26:42
Why You Shouldn't Nest Your Code
8:30
Просмотров 2,7 млн
Code Review, you said? - Venkat Subramaniam
46:06
Просмотров 12 тыс.