Register your interest here for Amigoscode Bootcamp: amigoscode.hopp.to/bootcamp-register-interest
@michelchaghoury96292 жыл бұрын
there is a problem with the link it gives an error page
@flyingrecordofficial2 жыл бұрын
Mashaallah bro
@flyingrecordofficial2 жыл бұрын
you smart work
@flyingrecordofficial2 жыл бұрын
@@michelchaghoury9629 Hi
@andrekreou12 жыл бұрын
I've already built the biggest part for my MSc thesis project because of you... Don't know how grateful I am for your contributions, not only for me but also to the developer community.
@TeslaDo2 жыл бұрын
You may join the courses?
@meanstoandend2 жыл бұрын
I very much appreciate and enjoy your content and the way you teach. I’ve been learning a lot from you and just wanted to say thanks for doing what you do 🙏
@moathdw9102 жыл бұрын
It's a fine content but he still always acts religious in a very annoying way, it would be better if he keeps his beliefs to himself and keep it professional
@meanstoandend2 жыл бұрын
@@moathdw910 when you grow up you'll realize a few things. First - just because someone is religious, doesn't mean they're acting religious. You're angry at something that literally isn't referenced or talked about in any of his videos. Just because he wears traditional clothing? Man - people still have a long way to go. Second - even if he did bring his religion into this, it's a good thing to get different perspectives from different people. Don't be so afraid of things that are different from you and maybe one day you'll be able learn all the world is willing to teach you.
@TeslaDo2 жыл бұрын
@@moathdw910 It is authentic way of professionalism. Change your vision, saying hello in Arabic does not make the content religious. I have never heard of anything about "create" action as a religious way. he also says "Voila!" which does not makes him a francophone
@hitstick5672 жыл бұрын
Could you do the same video but with interfaces? I feel like they have become more complex with each Java release. You seem to have such a great understanding of it
@MrBraga7762 жыл бұрын
Would be great. He already said that programing oriented to interfaces is better and is quite difficult to learn how to use it.
@TheSpiderWalk2 жыл бұрын
Amazing, I saw that there are abstract classes but never knew what are they really for. Thank you for sharing
@snoopie51 Жыл бұрын
Thanks for going further than the "Animal" "Shape" stuff. I never understood how to "Actually" do it with those examples.
@dudnik3993 ай бұрын
Great example, thanks for breaking it down. Cheers.
@TkmMusicProduction2 жыл бұрын
Very very clear explanation!,with real example, yes, thats true, you will never see Dogs, Cats,Squares, rectangles, foo and bar in production!, you will see business procesess like this!.. Thank you very much for your useful video! 👍👍
@abdedaimehicham26502 жыл бұрын
Thank you for your explanation I have one remark about the method parse i think you can imporve it by avoiding boilerplate code and leagcy classes to read file and you can use Files.lines and It will return a stream and you can do filter on this stream and create another method to test the regex and apply this method on filter method .
@davaa84720 күн бұрын
Very good example. Thanks
@wgalloPT2 жыл бұрын
i so thankful for everything you do over here!!! ALWAYS amazing. Thank you
@ravienu99122 жыл бұрын
Hi @Amigoscode, I have been following your content for quite long. It's really incredible work you are doing to help all of us. Thank you very much. And I always face challenge in understanding the existing code (mostly I work on Java) when I am moving across new projects. I really appreciate if you can prepare a video on how to understand existing code base of JAVA. Thank you once again.
@johnronaldraviz40522 жыл бұрын
I never thought of using abstract methods declared on an abstract class. Thanks a lot.
@dansmar_2414 Жыл бұрын
This is a great explanation, thank you so much!
@DebugWithAdam2 жыл бұрын
Of course it makes sense as always. Thank you so much man.
@patco101 Жыл бұрын
This is a gem.
@CityCata Жыл бұрын
Im preparing for interviews in January so now Im just browsing youtube reviewing stuff 😄
@mandanakhashayar96782 жыл бұрын
The very clear explanation. Thank you. Even we can have default implementation for method clear in abstract class. That can help us to modify the code much easier when the method is just needed to be implemented by some classes. Thank you so much for your useful videos.
@cesarhinojosa7679 Жыл бұрын
I was so annoyed at being taught complex design patters and design principles with squares, circles, apples, bananas, etc. Thank you for this very helpful example!
@daironperezfrias78192 жыл бұрын
Thanks for all your content, from Cuba !!!
@genprimabiocakti61592 жыл бұрын
That non abstract method inside abstract class which call abstract method is make me understand after all. Thank you
@fipabrate2 жыл бұрын
Wouldn't it be better to have default implementation of clean function (in this case only return input) in abstract class and then override it in child classes only where you want new functionality?
@noss4032 жыл бұрын
It is good idea.
@hieubui51222 жыл бұрын
Thanks you amigoscode
@zimmtheking2 жыл бұрын
great example and thanks for not using "cats and dogs"!!! please more of this pragmatic and uselful stuff.
@anastasiagavrilita65672 жыл бұрын
finally: an explanation hitting its target 100% huge youtube, yet so many videos are too "abstract" :D
@isahbala25402 жыл бұрын
Funny, but more interesting than Java classes in College! :)
@carlkarama2 жыл бұрын
Since you are producing/exporting reports, you could implement the visitor behavioural pattern on the abstract class and implement a visitor interface that accepts an export feature
@RajkumarAdhikari2 жыл бұрын
Watching from Nepal,🇳🇵 lots of love😊
@fonte11842 жыл бұрын
Hello sir. Please someone recommended your channel for me. Please can you show me how to start with jsp from downloading intellij to running a first program. Thanks for reading
@kamertonaudiophileplayer8472 жыл бұрын
It is a very good designed video and very helpful for software developers.
@stevegatspaul2 жыл бұрын
what is difference between interface and abstract class?
@fdov42 жыл бұрын
Thanks for your content, great quality. Greetings from Mexico my friend :D
@nedimkulovac63942 жыл бұрын
Hey Nelson - great content! Love to see patterns like this explained.
@natanaelsc2 жыл бұрын
Thanks bro!
@adilwise2 жыл бұрын
Hey, great job brother
@brioquery2 жыл бұрын
Nice and concise.
@rounder10002 жыл бұрын
Salam aleykoum amigoscode, hi everybody Can you make a video of what do you think about remote work. What is your experiences, how did you live the COVID time working from home? What are the pros and cons of remote working? Thank you and big up !
@0001240212 жыл бұрын
Awesome explanation, thank you!
@igorsantanas2 жыл бұрын
Wow, I liked that a lot, thanks! Strong content!
@wildjoe62592 жыл бұрын
thx for real example!
@alexyspol52212 жыл бұрын
Very good! Thank you
@wagnernoise2 жыл бұрын
Since I was aware of the factory design pattern (very similar to this) I use it whenever I see it can fit :) Thanks for the great video! Cheers
@petroniobonavides35302 жыл бұрын
Wonderful lesson!!!! Thanks a lot
@rajendranaik73172 жыл бұрын
Sincere request to create a Java playlist where an order of the videos for a complete beginner sir...
@Mac13552 жыл бұрын
hello very nice video about important thread in Java. is good review some principies abou t the way to code better all days. Many thanks
@autoexec5367 Жыл бұрын
Brilliant! :)
@talbiabdelali59142 жыл бұрын
Great bro! Thank you
@caffeinejavacode14752 жыл бұрын
as usual, your example is just Hello World *_Can show examples Spring+Abstract class + Generics_* I think it will be more useful Thank you for your effort
@KangoV2 жыл бұрын
Only subclass if the phrase "is type of" is true. Also, keep this in your head whenever you are designing..,.. "prefer composition over inheritance" and you'll not go far wrong. Also remember a class should only do ONE thing and do that thing well. As soon as you start mixing concerns, your class becomes needlessly complex and breaks the Single Responsibility Principle.
@modoulaminceesay92112 жыл бұрын
I might learn java, i know c++ , python and javascript
@mamadoubobodiallo12162 жыл бұрын
Very useful video bro 👏🏾. Definitely what I need to improve a project I’ve been working on
@inoobbeyt1031 Жыл бұрын
Can make video on method return abstract class ?
@mikesabiking Жыл бұрын
Instead of making the clean() abstract, would it be better to implement it to return unmodified value. That way existing classes don't need to be modified with clean if it's not needed?
@harrabiyosri17852 жыл бұрын
Thanks so helpful
@christopherabelet46722 жыл бұрын
Thanks very interresting. However I do not understant thé diffences wirh the interfaces
@zzzzzzzzzz25882 жыл бұрын
Amazing video. Could you please tell me what theme are you using?
@treeteqs2 жыл бұрын
very clean, machallah
@jesper93342 жыл бұрын
Thanks for the great video, what color theme are you using?
@hoangtuan45922 жыл бұрын
Thank you very much
@sovrinfo2 жыл бұрын
Thanks!
@thanhlocnguyen49102 жыл бұрын
Nice video ! Can you have a video how to deploy microservices into AWS ?
@ianneilagasen28422 жыл бұрын
Good content as always, Nelson! Just one question, is it better to make the non abstract methods become static on the abstract class? So that we dont need to instantiate an object. Example, instead of new NumberExtractorReport().prepareAndSendReport(path) We could do this: NumberExtractorReport.prepareAndSendReport(path)
@noss4032 жыл бұрын
It is not better, but you could do this, if you want.
@EnchikO2 жыл бұрын
Why should I use Open JDK instead of Oracle Open JDK when both can be use commercially. Thank you.
@alimrad77602 жыл бұрын
Make a video about design pattern in java, thanks🙏
@alexeygopro12822 жыл бұрын
Is it possible to use interfaces here instead of abstract classes? What are pros and cons? Thank you for video
@TransitionPhase2 жыл бұрын
Depends on your situation. If you would use interfaces in this specific example you can not have a common parse() method and you will have to copy the same code in the parse method of every implementation of the interface. And this exceeds the DRY (dont repeat yourself) principle
@noss4032 жыл бұрын
@@TransitionPhase Interfaces can have default methods (methods with implementation). Since Java 8.
@TransitionPhase2 жыл бұрын
@@noss403 Its true thx for noticing, I forgot that's possible. Then i guess it's the best to use abstract classes in this case cause interfaces are more generic in what they promise to do.
@milanschacht39202 жыл бұрын
What do you think about naming abstract classes like AbstractEmailExractor? I know naming is controversial and sometimes hard. :D
@pavanrai61962 жыл бұрын
Please launch design patterns course on your website
@sayyedmuaaz Жыл бұрын
But what is the difference between polymorphism and abstract classes then? Are they serving the same goal?
@francksgenlecroyant2 жыл бұрын
Hats-Off 🙌🙌🙌
@thapelomorare14842 жыл бұрын
Do Servlets and jsp
@EdwardNorthwind6 ай бұрын
No. You needed to override the parent method in the EmailExtractorReport class and wrap the parent method in your new clean method. You yourself say that classes should be open for extension but closed for modification.
@sadiulhakim78142 жыл бұрын
Where should i use final class?
@MudassirKhan-sx9jy Жыл бұрын
Wa alaikum Salam.
@terabhai49552 жыл бұрын
please make video on tomcat!
@trungthanh41342 жыл бұрын
what font do u use in this video
@nikhiljose20292 жыл бұрын
Is regex testing available in intellij community?
@FahadAli-km3ll2 жыл бұрын
As-salamu 'alaykum bro. Can you do a video on CI/CD? :)
@Danish_Khan_2 жыл бұрын
Please please, guid me which tech skill i should learn so I land a job in halal compony. There are so many haram stuff in software development and many tech industry. Please please guid me. ❤️🙂
@brimabah21632 жыл бұрын
I would like to join your boot camp
@aayush54742 жыл бұрын
when to abstract class and when to use interface?
@travelers41782 жыл бұрын
First comment ☺️ Assalamu aleykum my brother 👍 good video! We need to refresh our memory all the time.
@traviswhitten64522 жыл бұрын
Why make the PATTERN static?
@TeslaDo2 жыл бұрын
Abscract / abstract? Is it only a typo or a slang?
@94JulianDavid Жыл бұрын
Why don't use interfaces ?
@raulrahaman98632 жыл бұрын
I don’t understand anything after the reading of the files part :(
@TheStrategist3142 жыл бұрын
how come when I click the discord, it doesn't work?
@rabbyhossain95372 жыл бұрын
How much salary give your company for you
@noss4032 жыл бұрын
Wouldn't it be better to write code like this: (in parse method) if(!scanner.hasNext()) { return "Empty file"; } scanner.nextLine(); ....
@bakre_dev8728 Жыл бұрын
@USONOFAV2 жыл бұрын
what's the difference between Abstract classes and Interface with default methods. Anyone? You can have common functionality on both abstract class and interface.
@mychellmotta66392 жыл бұрын
You can't implement methods on interfaces, so in his example, he would have duplicate code on both NumberExtractor and NumberExtractor with the parse method.
@94JulianDavid Жыл бұрын
@@mychellmotta6639 Since java 8 you can have default methods in interfaces
@erickshaffer6615 Жыл бұрын
Says he won't do the typical animal example. Proceeds to do exactly that