Тёмный

Prefer Arrays Over Lists. Seriously... 

Amigoscode
Подписаться 925 тыс.
Просмотров 40 тыс.
50% 1

In this Java tutorial I will explain why, it's essential to understand the logic behind Java Lists methods and why preferring Arrays can significantly enhance your understanding of data structures.
You'll learn:
1️⃣ The fundamental differences between arrays and lists in Java.
2️⃣ The logic behind list methods and why they're crucial in programming.
3️⃣ The advantages of using arrays over lists for beginners.
Not only will this knowledge help you to write cleaner and more efficient code, but it will also provide a strong foundation for understanding more complex data structures as you advance in your Java journey.
Don't Forget to
===========================================
💯 Subscribe to Amigoscode - bit.ly/2HpF5V8
💯 Courses Available for free here - amigoscode.com/courses
💯 Join Private Facebook Group and Discord - amigoscode.com/p/join-community
🙊 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/p/join-community
💯 Follow me on Instagram | bit.ly/2TSkA9w
❤️ Thanks for watching

Наука

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

 

20 май 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 158   
@Ben-xf5ix
@Ben-xf5ix Год назад
Unless you want to reinvent the wheel, stick with ArrayList. Some abstraction makes life a little easier, though. But of course, it is helpful to understand its underlying implementation.
@tino3420
@tino3420 9 месяцев назад
Sure, but when you are starting out, you should know the cost of each functions.
@TheLukasz222
@TheLukasz222 Год назад
What a clickbait title. Im sick of all this tech youtubers telling me that I do something wrong all the time.
@mohammadtoficmohammad3594
@mohammadtoficmohammad3594 Год назад
He mentioned from the start its ment for beginners to learn datasturcture, and even if clickbait what the problem he is depending on himself to make money independent from enslaving software companies
@guigolum
@guigolum Год назад
I understand (and partially agree) with you, but here he's basically saying "learn the internals before you use them", which is correct. When we are senior devs we think of arraylists as arrays with decoration, but that's not the case for juniors.
@diegoramos27
@diegoramos27 Год назад
True, title is very misleading, many people dont have the time to watch the video and they just keep the title in mind
@benson1ification
@benson1ification Год назад
Hi Nelson. I enjoy most of your videos, but please can you reduce the effects? It's hard to listen to what you say with the constant ADHD interruptions.
@hubertszy
@hubertszy Год назад
Thank You...
@kirkanos771
@kirkanos771 Год назад
Thank you, i was to type the same thing. I dont have ADHD, yet. I dont need those FX to contract it.
@vesakk72
@vesakk72 Год назад
Yep….i agree 😊
@martvisser
@martvisser Год назад
Agreed!
@shutanovac
@shutanovac Год назад
Completely unneeded
@osman_olgun
@osman_olgun Год назад
Unnecessary effects are distracting😊
@salehahmed8936
@salehahmed8936 Год назад
tbh the effects to emphasise on important parts but everyone has different cups of tea i guess
@bytecodeuz
@bytecodeuz Год назад
Totaly agree
@AlFredo-sx2yy
@AlFredo-sx2yy Год назад
​@@salehahmed8936 vine boom vine boom vine boom fart huh metal pipe falling vine boom Danger Alarm Meme Sound Effect taco bell bababooey Android notification meme sound effect vine boom vine boom vine boom AMOGUS goofy aaaaaaahhh snort vine boom fart huh far metal pipe falling metal pipe falling fart fart vine boom Fart Meme Sound
@MichaelMarques
@MichaelMarques Год назад
If you're a junior dev, you should absolutely be using List over arrays 99% of the time. You have to take into account that a senior dev will review your work and they will tell you to use a more reliable data structure like a List. The more you use lists, you will eventually have no choice but to delve into the underlying structure and learn how it works anyway.
@BloodyScythe666
@BloodyScythe666 Год назад
underrated comment. definitely agree 100%.
@lucasfkam
@lucasfkam Год назад
This is where the importance of studying data structure lies, because in real life you will use native Java implementations already knowing how the structure works internally. I find it very difficult to have to implement a structure from scratch (unless it doesn't exist) to use it in your project since there are already native implementations of it, so if you understand data structure you can use them without any weight in consciousness.
@nonelelacele9300
@nonelelacele9300 Год назад
Exactly. I remember back in my second year we had an investigation assignment of implementing abstract data structures it was actually eye opening to see how they were implemented.
@DarkCebolix
@DarkCebolix 10 месяцев назад
I'm a programmer for 13 y now, I work mostly with C#. Your channel is very good and very clear for newcomers. Congrats. That said, I would change the name of this video to "Prefer arrays over Lists if you are a beginner" And that's because in day to day programming one is not better than the other. You'll use one or another depending of your need. And even knowing it's essential for any programmer that want to be competent, to learn what's happening under the hood, this doesn't mean they should reinvent the wheel. I know you probably didn't mean that, but I can see a lot of beginners understanding the message this way. Well... Just thoughts. Keep up the good work
@V100X
@V100X Год назад
This was interesting for me, but the title is missing something like “If you are starting..” and maybe too much effects :)
@APPLAY
@APPLAY Год назад
Why so many effects? Its not an adobe premiere tutorial, isnit?
@salehahmed8936
@salehahmed8936 Год назад
Sorry grandpa
@erkin7138
@erkin7138 Год назад
When I was studying Collections, my mentor told us to create oour own List implementation using arrays and simple array methods to recreate ArrayList. That was fun and interesting for me as for learning and studying. However, I simply recommend you to proceed using already developed libraries and collections. Because this is just what Java creators want you to do and it simplifies evrything for you. If you want to know how a library works internally, you may just look inside it and read the methods. By the way, I have never used Binary Trees in my career (3 years). It would be super cool if you could show us a simple basics of using a binary tree in Java Development, Brother. Thanks for the video and for warm memories of being a student. As-Salam-u-Alaikum. Video title is a clickbait but a wise one :)
@WARHE8D
@WARHE8D Год назад
idk bro your editor sometimes put unnecessary sound clips and its annoying.
@tornikebuchukuri4114
@tornikebuchukuri4114 Год назад
please don't include those weird sounds in he future videos
@selvisokak
@selvisokak Год назад
It is the visual effects course that I have been searching for, thanks!
@marcin2x4
@marcin2x4 Год назад
Would you do separate video on Generics? I'm diving into Java and your videos with slides are very helpful!
@shashishekhar----
@shashishekhar---- Год назад
To the people saying 'clickbait' , 'misleading' etc: see he never said it was meant for advanced viewers,it is clearly for juniors/ beginners and please refrain from leaving any negative comments on this channel. You all have no idea how much this man has added value to many developers life, I am a testament to this. The way he teaches so selflessly and has created a valuable community that helps others learn. As far as I know Nelson is an absolute 💎 of a human being and so as a content creator , In each of his videos he tries to teach something new valuable and has never ever once tried to make clickbait video. Kindly be polite and be appreciative,thank you
@BloodyScythe666
@BloodyScythe666 Год назад
I think this video does not apply to junior developers at all, as long as they know, what an array is. you usually look an implementation of a list up, if you need to.
@th33xitus
@th33xitus Год назад
And yet a title like "Prefer Arrays Over Lists. Seriously..." is pure clickbait and misleading if the content of the video then just says that one should learn the inner workings of Lists before using them. Probably every developer agrees with that approach anyways. But especially BECAUSE people likely assume that Nelson is a developer with a lot of experience, they also expected a more serious reason for that statement he used for the title and expected a downside of using Lists. But there is none, at least he didn't mentioned one. Which makes the title even more clickbait and misleading. He stated himself that lists are one of the most used datatypes in Java, so yet again another reason why the title is clickbait/misleading. And that's why its more than appropriate to downvote this video into oblivion. The overall quality of this one particular video is way below his usual content quality.
@BloodyScythe666
@BloodyScythe666 Год назад
@@th33xitus yes very understandable. viewers should let the creator know what they don't like about a video.
@davelovesdrums
@davelovesdrums Год назад
I think this is brilliant! I was doing a coding challenge the other day, involving arrays, and found it really frustrating and difficult to figure out because I'm so used to just using list.add. Yes. It's easier to just use lists but you can't put a price on understanding how it all works. It will absolutely make you a better engineer/developer.
@LeafyConversations
@LeafyConversations Год назад
This is genius. Thank you for sharing your knowledge with us. I had no idea as I am a new java dev I run into the typical “copying code” and not knowing what I am truly using.
@igoerche
@igoerche 2 месяца назад
It'S totally making sence to satrt with arrays and stick with it a while! Thank you Nelson for you dedication!
@GJ22
@GJ22 Год назад
Your video makes perfect sense to me, i started with ArrayList with the uni study book i had then moved onto arrays but they never had anything in the study material about this.
@BloodyScythe666
@BloodyScythe666 Год назад
that sounds very weird, since arrays are some of the more basic types you can have and you should learn what arrays are in the first year.
@GJ22
@GJ22 Год назад
@@BloodyScythe666 open uni for ya, I had to use bluej too. I very quickly switched to eclipse when the module finished
@artur-rdc
@artur-rdc Год назад
I also have less than 2 years of experience with java, but I have studied data structures with other languages, so I'll stick with lists.
@pedrocosta9986
@pedrocosta9986 Год назад
I agree as a form of learning. Actually knowing about data structures is what differentiates many professionals when selecting an employee these days. But from the moment we understand how it works, let's use what is already created and tested.
@Namnguyen-xe6ej
@Namnguyen-xe6ej 9 месяцев назад
I think the topic's name may be misleading and some disagree with you. It always right to start with basics to learn something new, but use existing libraries and frameworks that make solving real-world problems much more efficient and less complicated. Inheriting inventions from our predecessors helps us to develop and create more value. That was my thought. An awesome video and very clear, pls continues
@omerfarukcengiz
@omerfarukcengiz Год назад
Someone is having fun while editing :)) Thanks for the amazing content as always!!
@simonebriffa9480
@simonebriffa9480 10 месяцев назад
Hi! This is a topic really close to me and I want to ask you a question. To be honest, I never get inside the ArrayList class to see how method are implemented (or maybe yes but not in deep). I am Java dev but first language I saw in my life at university was C. In C, the main difference between arrays and lists is that arrays have fixed size and each slot has a contiguous memory address to the next one; lists use a structure using pointers, they can grow dynamically and due of pointers they not have contiguouses memory address (this makes the search operation less efficient that in arrays). Now I see from this video that Java uses arrays inside lists... so ? There is not a real difference in Java between arrays and lists ? Are lists just a shortcut ?
@PbPomper
@PbPomper Год назад
Damn, this guy discovered the effects button XD J.J. Abrahms eat your heart out!
@I_EAF_19882
@I_EAF_19882 Год назад
I really appreciate your videos. Could you mix the sound effects a bit lower? They’re pretty loud compared to your voice. The graphics are nice!
@aayush5474
@aayush5474 Год назад
which ide are you using?
@codeexperience9998
@codeexperience9998 Год назад
Hey hi Nelson, I have one request pls make a complete session on spring cloud function so work with serverless programming like working with aws services and daily work like perform crud operation and if possible then working with video , image file upload and download pls it's my humble request ❤️❤️❤️
@bazar9000
@bazar9000 Год назад
Its ok to dive into libraries api used methods implmentations just to get a quick understanding but it becomes tirelessly when you are using several libraries in your application. If there is a library and a method that can ease your development life you should just use it without deep diving into it. Nonetheless great video!
@Namelessssssssssssssss
@Namelessssssssssssssss 7 месяцев назад
No One explains better than you this concepts on the tube.
@sonydedz
@sonydedz Год назад
Hi, i would like to see a tutorial on how to create a video call and chat functions using Java, Spring Boot and ReactJS. Would be much appreciated.
@isaacwhiz
@isaacwhiz Год назад
Obviously one should (must) learn data structures to become a good programmer and to have the knowledge of what happens under the hood then with experience, later you can shift to usage of Lists. Thanks.
@crimsonx_
@crimsonx_ Год назад
Mostly, I also use arraylist.. my senior said exactly what you've said 2 yrs ago..
@omarhadidi1067
@omarhadidi1067 10 месяцев назад
وعليكم السلام ورحمة الله وبركاته ❤❤❤ I learned Postgresql From you. It was a really simple tutorial and covered many many things. Really thank you ❤
@saschaAi
@saschaAi Год назад
Assalamualaikum, great video amigos !
@andresivan321
@andresivan321 Год назад
Thank you so much excelent video! btw what plugins are you using to have those icons?
@Md_sadiq_Md
@Md_sadiq_Md Год назад
Walekum assalam from India
@imdadabro4118
@imdadabro4118 Год назад
Walaikum Assalam Warahmatullhe brother amigos you are 100% right.
@tech-talks-with-shakeel0346
@tech-talks-with-shakeel0346 5 месяцев назад
What about arrays for enterprise applications where we deal a million records objects?? In this case arrays or list?? Can someone explain
@smarttrupti2007
@smarttrupti2007 Год назад
True for beginners.
@bli2008
@bli2008 Год назад
why should I fallback to arrays? any operations on the array, I have to reinvent the wheel again. When I want to optimize, I optimize somewhere else. How about concurrent list? how to use it in parallel stream? You give wrong advice here to newbies.
@sacmaliyoruz
@sacmaliyoruz Год назад
we need a playlist that complete course includes spring boot and react
@crashcode8503
@crashcode8503 Год назад
I found that following your channel is more worth
@DineSpack
@DineSpack 10 месяцев назад
This video feels like a fever dream
@atharpanahi3563
@atharpanahi3563 Год назад
I think you mentioned a good point that we should first understand how things work, but the title of the video is not good.
@gaben-agent
@gaben-agent Год назад
You must learn arrays and you must learn lists. But there is no use of slowing down your learning process by using arrays instead of lists. Just explore the internals of ArrayList.
@paulsnehasish5830
@paulsnehasish5830 Год назад
you can use ANYTHING that helps you get your job done :D
@brandonrussell734
@brandonrussell734 Год назад
Is it an intellij theme or is it other IDE you are using?
@thongnguyen5024
@thongnguyen5024 Год назад
It's new UI of IntelliJ
@jondevlin4754
@jondevlin4754 9 месяцев назад
Wow … used pure C to teach gifted grade 11 and 12 Programming classes for last 25 years…just changed schools and now I will be using Java … the way they teach coding using Java seems like an attempt to take the logic out of coding … yes I know OOP makes writing and maintaining larger programs easier but how many coders … like you are saying new coders should be getting some experience creating algorithms to solve problems rather than hunting for methods to do everything for them … say you want to delete all occurrences of a given character from a string … in C you could shift all chars one left every time you encounter the char to be deleted … but this solution is O(n^2) …there is an O(n) solution … give students a chance to solve this type of problem when learning to code!
@carlosredfield
@carlosredfield Год назад
so is bad practice using a cointains inside a loop? casuse is a loop insted of another loop
@RuslanSlobodian
@RuslanSlobodian Год назад
Hi, I agree with you. But at 8 second - ArrayLists vs Lists, not Arrays vs Lists
@ARAEGY
@ARAEGY Год назад
Akhi, when I first saw your face I said to myself "this man is probably a Muslim", then I opened the video and heard you saying "Assalamu Alaykum" 😃. May Allah bless you love you for the sake of Allah I'm your brother, Mohamed, from Egypt.
@arunyton
@arunyton Год назад
Need to cut down on the animation by half. Use it just at points that you want to highlight. Otherwise it's more of a distraction.
@btxf
@btxf Год назад
I mean I get the idea of inducing Java beginners to get familiar with data structures. But this is like saying that you should prefer JDBC instead of JPA for basic database operations.
@Fri3ndsMr.X
@Fri3ndsMr.X Год назад
I like the effect of this video
@friedec3622
@friedec3622 Год назад
I'm graduated from uni, so basically I'm no longer beginner? I don't see any advantage using array over list, unless you're absolutely sure you just need to store data.
@RamGorre
@RamGorre 8 месяцев назад
Not in agreement. Depending on the operations, you pick which one to use. If you know the max limit and if your operations are just traverse, add and remove (with no issues even if you remove somewhere in the middle) then you can prefer object array. Lists are more efficient and convenient for many operations.
@igorkolesnikov3700
@igorkolesnikov3700 Год назад
Bro just discovered that ArrayList is based on array :) Jokes apart - it's extremely important to know that, because the chance they will ask you about lists on interview is very high
@DevlogBill
@DevlogBill Год назад
Wow, I noticed Java has so many of the same built in methods Kotlin has but without all the boiler plating. I don't know if you know Kotlin? But I am guessing if you learn Kotlin well, you'll have a stronger understanding in Java and maybe be able to learn Java even quicker later on after you master Kotlin? I see so many similarities between the two programming languages.
@tyler8995
@tyler8995 Год назад
Kotlin is built off of Java, so that logic would actually go the other way. Better knowledge of Java would help you more with Kotlin
@DevlogBill
@DevlogBill Год назад
@@tyler8995 Thanks I maybe I should re-think it and start off with Java and later learn Kotlin? I just started with Kotlin about 8 days ago.
@tyler8995
@tyler8995 Год назад
@@DevlogBill I think you're good learning Kotlin first. While it builds on top of Java, you don't need an in-depth knowledge of Java to use it. Rather, it would be good to go back later after your comfortable to see how Java handles things such as variables. For example, where Kotlin uses var and val, Java requires that you specifically set each data type (String, int, boolean).
@DevlogBill
@DevlogBill Год назад
@@tyler8995 Thanks, I never used a strongly typed programming language before, Kotlin is my first. This is my second programming language I came from JavaScript. There is a different way in thinking with Kotlin. I was becoming over whelmed with JavaScript and the constant changes with the libraries and frameworks.
@soniablanche5672
@soniablanche5672 Год назад
Wait... so the implementation creates a new array with size+1 every time you add ? I thought the optimal solution was to double the size every time it reaches maximum capacity.
@abarakus722
@abarakus722 Год назад
You're right. It creates new array only if the size of list reaches current capacity. But capacity is not growing twice, only half.
@vbrao
@vbrao Год назад
any python videos for covering the internals
@govindgupta290
@govindgupta290 Год назад
Bro if we start implementing each and every method the code can become too complex and huge. These inbuilt methods are provided for our comfort
@akaCRock
@akaCRock Год назад
its not about not using them, its about not using them until you understand how datastructures work, especially as a beginner.
@adigunolamide3230
@adigunolamide3230 Год назад
This is why when I solve coding problems in codewars I dont use built in Java data structures.
@user-wt1hc4hm3t
@user-wt1hc4hm3t Год назад
Content TOP!
@rodrigovaccari7547
@rodrigovaccari7547 Год назад
All the visual and sound effects for zoomers degrade the quality. It's not a tiktok short. And sustained attention is a required skill for developers. The effects dont help retaining attention.
@caffeinejavacode1475
@caffeinejavacode1475 Год назад
clickbait video without value
@mohammadtoficmohammad3594
@mohammadtoficmohammad3594 Год назад
He mentioned from the start its ment for beginners to learn datasturcture, and even if clickbait what the problem he is depending on himself to make money independent from enslaving software companies
@caffeinejavacode1475
@caffeinejavacode1475 Год назад
@@mohammadtoficmohammad3594 it's like I have 24 hours course where I explaine what is value in Java
@caffeinejavacode1475
@caffeinejavacode1475 Год назад
@@mohammadtoficmohammad3594 Moreover, courses that I bough doesn't cost $10 because of lack of practise and people have been kpeople have been hooked
@salehahmed8936
@salehahmed8936 Год назад
@@caffeinejavacode1475 So you're basically a hater trying to steal viewers to your little channel, cute
@mohammadtoficmohammad3594
@mohammadtoficmohammad3594 Год назад
​@@caffeinejavacode1475 If its up to me i will take amigocode course instead of yours
@eranjeneabeysinghe8100
@eranjeneabeysinghe8100 Год назад
No you cannot 'prefer' arrays over 'arraylists'.. Abstractions are there for a reason. With abstractions we could visualize higher order functions much more easily. There could be small performance bottlenecks with ArrayList implementations but they will be next to unnoticeable with today's fast cloud compute instances. Therefore putting effort to optimize that level of detail with primitive datastructures is a waste of time and effort. If you think along this line, using SpringBoot will also be a waste due to its internal complexities.
@slavaM77
@slavaM77 Год назад
Too many effects. Very annoying while watching videos. Please don't do that again. Good luck! )))
@channelforcomments6657
@channelforcomments6657 Год назад
"Shift + Esc" to close the "Structure"
@budgeter4807
@budgeter4807 Год назад
Can we reduce the effects please, feels like an overdo
@indunayak9882
@indunayak9882 Год назад
Awesome explanation and helpful information
@rimeshsapkota7335
@rimeshsapkota7335 Год назад
Provide me intellij liscence
@smanqele
@smanqele Год назад
Try writing your own array logic in a real Sprint and see the fire you'll get in your reviews. Learning the underlying structures is still fine tho
@teputube
@teputube 9 месяцев назад
Title seems misleading, you are actually proposing a learning method for beginners....not suggesting a preference for arrays vs lists in general.
@AlFredo-sx2yy
@AlFredo-sx2yy Год назад
vine boom vine boom vine boom fart huh metal pipe falling vine boom Danger Alarm Meme Sound Effect taco bell bababooey Android notification meme sound effect vine boom vine boom vine boom AMOGUS goofy aaaaaaahhh snort vine boom fart huh fart metal pipe falling metal pipe falling fart fart vine boom Fart Meme Sound vine boom vine boom vine boom AMOGUS goofy aahh sound effect AMOGUS he's thicc boye dayumn son wow vine boom vine boom
@erickjhormanromero6905
@erickjhormanromero6905 Год назад
It's an amazing videos because it's really important to know how the things work in order to know what data structure or anything else match your use case. For example I need to know how stack or deque work in order to choose the best data structure for certain requirement. Yes, we should learn arrays before arraylist and even arrays makes part of the fist data structure that came with java 1.0. I thinks it's the same process with spring boot and spring framework in a certain point , I mean you can learn spring boot without spring framework but i'm so sure you must read somenthing about the core when you face any issue.
@angelleonardnamaycabanilla2831
Amigoscode please use "pista de audio" in spanish ❤
@wardibald
@wardibald Год назад
Try to limit the use of add and remove from Lists, unless they stay local, like in unit tests. Stream immutable Collections (or Arrays!) to new immutable Collections as much as possible.
@leandro-ds2vn
@leandro-ds2vn Год назад
Why?
@bli2008
@bli2008 Год назад
once you start thinking functional programming, you see everything as a collection where you perform an action. why is this better? you concentrate more on the real problem then on the small (almost not relevant details). that's why use library (3rd party jar files) instead solving those problem yourself
@wardibald
@wardibald Год назад
@@leandro-ds2vn Because that's how modern streaming works. Just like keeping regular Objects immutable, think the same way for Collections. Anyone can always make a copy constructor to get local mutable contents from it, and streaming made most of that even unnecessary, as one can always collect to a new Collection. I've seen many bugs happen because other programmers do mutable operations on Collections because they think it suits their immediate needs, failing to realize the contents will be needed as-is later on. Such things often even pass unit tests as the immediate functionality indeed functions as expected. This is why recent Java versions provided us with the record, the Collectors.toList, and the List.of functionality. This isn't a set in stone paradigm; by all means pass a mutable Collection if it suits your needs, but do it judiciously.
@gaiedmahdi8791
@gaiedmahdi8791 5 дней назад
the audio effects are so annoying but good content
@Stl71
@Stl71 5 месяцев назад
This is the reason Arrays are a little faster than ArrayLists.
@gleitonfranco1260
@gleitonfranco1260 10 месяцев назад
I´d like to think that beneath the surface of ArrayList there was an entirely new data structure =\
@IO_389
@IO_389 Год назад
Hi Nelson. The video is great as usual but, would you please lower the volume of the effects (Or even better, don't use it)? It was really annoying :(
@kamurashev
@kamurashev Год назад
(When learning)
@josephkalema1973
@josephkalema1973 10 месяцев назад
Thanks for the advice but not every time an ArrayList needs to grow because it has a DEFAULT_CAPACITY of 10 elements :) and a load factor of 0.75f
@diegoramos27
@diegoramos27 Год назад
You can’t use “List” because they are interfaces
@kalamataway
@kalamataway Год назад
subtitles was a nice feature in this video. Special effects and sounds made the video kind of videos for babies. Also the title was more like a clickbait
@davidgrajalesmirage
@davidgrajalesmirage 4 месяца назад
Per aspera ad Astra
@Squish888
@Squish888 Год назад
I guess this is why we’re forced to use C in the first few years of comp sci.
@BloodyScythe666
@BloodyScythe666 Год назад
I think this is absolutely useless. although I knew that in java/c# array size is immutable, I didn't even care for three years that lists use arrays internally, because it doesn't matter 99.9% of the time. I'd say, if you're interested in it or need to know, look it up.
@Sucheit
@Sucheit Год назад
nothing new lol
@giorgosterzis3331
@giorgosterzis3331 Год назад
Hey Nelson, this video is one of your worst videos
@salehahmed8936
@salehahmed8936 Год назад
Its for Beginners but anyway explain why
@giorgosterzis3331
@giorgosterzis3331 Год назад
@@salehahmed8936 It's a clickbait title, most of the times you should use lists instead of arrays. Also, too many unnecessary sound and video effects.
@salehahmed8936
@salehahmed8936 Год назад
@@giorgosterzis3331 video effects aside you give me junior dev vibes
@AlFredo-sx2yy
@AlFredo-sx2yy Год назад
@@giorgosterzis3331 i agree that there's tons of unnecessary editing effects, but why in the actual fuck would you use a list before an array in most situations? If anything, linear cases are far more common so what would the point of having a list be in most situations? go use some C, hippie. Once you cleanse your mind of perverted List thoughts you can come back and stop fucking around.
@maxnix9256
@maxnix9256 Год назад
@@salehahmed8936 the video is bad, because it is missleading. You use lists all the time and it is very important to get familiar with them and Collections. I also think it is not neccessary to know how exactly it is working, when you are a junor dev. Get down with the basics (how to use stuff rather than how it works) and then dig deeper in the code. With more experience you will have more to refelct and pay more attention on details like the grow function. Even though I think it is good to teach people to dig deeper and check out the functions you are using, a much better approch would have been to do exactly that and use a honest title. Show some examples and what to look for. Maybe even add a showcase where you talk about the runtime or memory usage.
@rbelatamas
@rbelatamas Год назад
the effects are too much, too loud 😂
@Lallushe
@Lallushe Год назад
Did you hire a new editor or something? The effects are unnecessary and distracting.
@kokojolo
@kokojolo Год назад
Hey i wanna see the exact same video about every Collection and Map
@michal234486
@michal234486 Год назад
With all respect - instead of publishing this content you could focus on finishing the paid course on microservices, where still plenty of videos are missing
@anchalavinash66
@anchalavinash66 Год назад
Too much of editing
@omarmahameed691
@omarmahameed691 Год назад
Nothing new
@mtc539
@mtc539 Год назад
These edits and transitions are a bit much. Totally distracting.
@user-fu2kg4ug2q
@user-fu2kg4ug2q 7 месяцев назад
Is there a point in this video besides wasting our time?
@lmax0001
@lmax0001 Год назад
If use Arrays instead of of some type of collection(list)your Code reviews will get destroyed. This is not a good video.
Далее
Learn SOLID Principles with CLEAN CODE Examples
28:35
Просмотров 258 тыс.
JAVA DTO Pattern Tutorial | Simplify Your Code
19:12
Просмотров 187 тыс.
UFC 302: Пресс-конференция
22:48
Просмотров 1,4 млн
Backstage or result?😈🔥 @milanaroller
00:12
Просмотров 7 млн
My Top 10 Advice To All Junior Developers Out There
8:06
Generics In Java - Full Simple Tutorial
17:34
Просмотров 1 млн
Markdown As Fast As Possible!
1:59
Просмотров 373
ARRAYLIST VS LINKEDLIST
21:20
Просмотров 46 тыс.
Java Streams Tutorial | 2020
19:13
Просмотров 254 тыс.
Optionals In Java - Simple Tutorial
15:53
Просмотров 195 тыс.
Mi primera placa con dios
0:12
Просмотров 328 тыс.
КАК GOOGLE УКРАЛ ANDROID?
17:44
Просмотров 52 тыс.