Get "Zero to Hero Dev" - a FREE roadmap for your future development career. CLICK HERE: iamdev.net/hero --------------------------- Really simple - abstraction is hiding stuff!
Пікірлер: 60
@Retrosenescent4 жыл бұрын
Correction: it doesn’t hide functionality; it hides implementation. Functionality is public, whereas implementation is private.
@IAmDevtube4 жыл бұрын
fair point
@marikselazemaj34282 жыл бұрын
Well said. What it does isn't hidden, how it does it is hidden.
@dosomestuff19498 ай бұрын
true, for example, you know the functionality of a print statement in java for example, but you don't necessarily know how that print function was made (
@kalibee62344 жыл бұрын
Jeez thank you so much. Clear and straight to the point.
@CarlosRodrigoB2 жыл бұрын
It helps me so much, thanks man... think understand abstraction as all code/form to resolve a project that's hidden form the final user, who send the enter and get back a result for this. That part are called Abstration because it changes from each person who create a method to resolve the project... Hope be right, and help someone...
@JayJay-sg7zl3 жыл бұрын
Saw 5 videos on this topic and this is the best explanation lol
@tabithae36792 жыл бұрын
I agree. This is the best explanation I've seen so far.
@JayJay-sg7zl2 жыл бұрын
@Darzalas where can u find a better explanation it his definition is incorrect?
@kaansener6 жыл бұрын
very simple and easy to understand explanation thank you
@chenyangwang72322 жыл бұрын
what would be the difference between abstraction and encapsulation? seems both are intending to hide the actual implementation
@PeachIsLive6 жыл бұрын
Great video , loved it
@isharamadusankadesilva71394 жыл бұрын
abstract class can't create object but video example create a phone object please explain ?
@ankush18806 жыл бұрын
Thank you ❤
@Donald__142418 күн бұрын
The future of Binance: an exclusive interview with the CEO
@nguyenngochuy41406 жыл бұрын
great video
@georgeabuladze770 Жыл бұрын
broooo you really cleared my mind thank you
@MBen_Delphi2 жыл бұрын
Just a correction and modification of some concepts ------- Abstraction is not that concept of showing or providing only the important things and hiding all unnecessary or complex details from the user (the programmer), as everyone thinks You kindly explained that Abstraction is to provide only what the user can get, in short, to provide only the Important points in the classes that will be instanciated using an Object, and this is unfortunately wrong.... And if it was actually in this sense, the name would have been Only-Important-members or Hidding Data and so on... --------- In short, your concept is part of the definition of Encapsulation and not Abstraction, and it is very close to the concept of inheritance more than Encapsulation --------- Linguistically: Abstraction means intangible or imaginary or virtual or the opposite of Concrete which means tangible, real or active --------- Programmatically: It specifically means the Class and the Interface (interface is not available in all programming languages). The important thing is the Class in itself. And any Class in OOP is considered as a Template, Model, or Map of something in Reality. That thing may be real or imaginary, and as it may be tangible or intangible, it does not matter the Projection and how .... but it matters The Classes that will Ultimately Express an Entity, Component, or Object that we will deal with later.... -------- So Abstraction in OOP will be like that: Modeling the Real World. and No more than this Definition .. -------- There are also inactive, intangible, or Abstract Classes that we call them Class Model, and they are somewhat similar to the Interface. This type has a directive of type Abstract and it does not accept instanciate with Objects, that is, it has no Objects to represent it (No Instances). And her task is Only to make a Model or Template for her children's that inherited from and finally can share members from base Abstract Classe. And this technique is also within the definition of the corner Abstraction And my concept here is in modeling and not in the role of the abstract class (because its role in terms of providing only what the sons classes can share as members and this is a part from the corner of inheritance) finally : Abstract classes is an Abstract Model for a Concrete classes Where this concrete will be a Models for some objects in our Real World... -------- Interfaces are also a Model or Abstract that Classes use them in-order to benefit from those members in that Interface.. So, Abstraction OOP is only about these three things in C Sharp, Java and Delphi and maybe C++ builder(because all of them have Interface as far as I know now) ------ As for the definition that you explained in the video, it is related to Encapsulation and Inheritance rules and not Abstraction at All .. ----- Abstraction is the first Step Rule of OOP Pillars wich is the Classes and Interfaces ... Abstraction is not more than a Modelling ... ----- And thank you for your understanding ...
@favaris_ Жыл бұрын
Thanks for this clarification! It's really better than the video itself.
@VagatorErro Жыл бұрын
thank you for his wonderful writeup which made things clearer for me and avoided faulty learning an important subject in OOP
@Geedimensions7 жыл бұрын
😂 that ending #dirtysecret
@IAmDevtube6 жыл бұрын
:D
@illmatic335 жыл бұрын
You are Dev! Damn right you are!!!!
@victorsolomon84273 жыл бұрын
You are a good teacher
@javafrm7 жыл бұрын
this video is very useful to me
@subodhsharma59287 жыл бұрын
very nice
@BhanuPrathap4 жыл бұрын
Thankyou
@vamsisaivenkatАй бұрын
your way of explaining the stuff is very nice I will take some of your style and use in my coding channel if you don't mind
@MrAnas1236543 жыл бұрын
best explanation on YT
@TheShafted178 Жыл бұрын
Man it's too tough to hide it ima do it I WAS NEVER A GOOD PROGRAMMER IN THE FIRST PLACE phew that felt nice
@IAmDevtube Жыл бұрын
Most of us still aren’t, but if your product works and you make money you don’t have to be perfect
@radiousis494 жыл бұрын
This is a way of seeing the world. Use abstractions irl!
@oguzcanaygun52672 жыл бұрын
thanks you so much
@cd-stephen Жыл бұрын
great vids - new sub
@tejasmankar716 жыл бұрын
but what is meaning for this sentence "object are python abstraction for data"...?
@deepdive13386 жыл бұрын
Tejas Mankar an object in programming is simply, wait for it, an object, wait wait, let me explain, think of a snake game, if u are building one, you need a snake object, maybe it's a function or a class called snake that has the properties of a snake, you could give it length, speed, etc. This is what an abstraction is, because u have already created the snake object, u dont need to recreate the snake if u want to use for something else later in the program, u can just the snake that u already have
@deepdive13384 жыл бұрын
@Username what is?
@akshatsharma16833 жыл бұрын
@@deepdive1338 Weird explanation...
@abbasafridi47322 жыл бұрын
so Abstraction is a blackbox, where you apply input and get output without caring about what’s inside!
@JevWD2 жыл бұрын
Out of sight out of mind
@Naobora3 жыл бұрын
Thank you so much, oh my god.
@adamloepker80578 ай бұрын
Why cant my teacher be this clear? Thanks!
@angelogarcia17004 жыл бұрын
So is abstraction the divide between Front-end development and Back-end?
@tko97533 жыл бұрын
Thank you for the clear example, I got sick of the car example.
@dimuthusudesh8503 жыл бұрын
👍
@pikanoob5 жыл бұрын
isnt this encapsulation not abstraction?
@skylarkenneth24075 жыл бұрын
It's more of the perspective. I think of it as this: abstraction is concerned with WHAT behaviors are available, while encapsulation is concerned with HOW to implement the behaviors. Business logic vs program logic.
@rlukinn6 жыл бұрын
IMHO You told us about encapsulation. I expected that you tell a story why in Java we call Interfaces an Abstract classes "ABSTRACTION"
@h0ph1p135 жыл бұрын
Abstraction is not only "interfaces" and "abstract" classes. It's not only in Java. In fact all programming AND human languages can abstract things and are doing it all the time. The principle of abstraction is deeply rooted in the human mind and we're using it to build a whole bunch of things. I think this video explains it well from a programming perspective. To widen your understanding check out this for example: kzfaq.info/get/bejne/bLxhptVhvbzDfps.html it gives you a true feel of what abstraction can do in the world.. and if your programming. Interfaces/abstract classes are like.. only one of many possible ways to abstract things away. and about your question if it's not just encapsulation - no, it's not. Go check on wikipedia and see what both words mean and you will see the difference. I trust your ability to discern those two terms when you have a little more info :)
@freshnuts8647 ай бұрын
LOL no need to attack me like that, TWICE.
@antisony20086 жыл бұрын
Fake it 'til you make it
@shuaidea2 жыл бұрын
this is how u explian a problem
@musandlala79915 жыл бұрын
The ending my guy lmfsao
@selena40825 жыл бұрын
no
@vandeljasonstrypper67345 жыл бұрын
why is this sound like API but btw the new ipad pro is our bruh get it for more productive video
@strengthandlove_4 жыл бұрын
said the same thing like 15 times, doesnt explain
@withstyle92165 жыл бұрын
The explanation is dead wrong. He is talking about encapsulation. Abstraction is totally different concept.
@ashleywilkonson3865 жыл бұрын
No, you're wrong. As I am typing this comment, I am using KZfaq's comment interface via abstraction. This is because I cannot currently see KZfaq's databases and as a user, I cannot perform queries. Everything is hidden from me.
@VagatorErro Жыл бұрын
this is a miss informed video on abstraction which a user has in detail explained, please delete it