(Apr-29-2020, 06:09 AM)astral_travel Wrote: so a class is really a description of an object, true ?
yes - in general sense it's a "blueprint" of a thing. You can read more
https://en.wikipedia.org/wiki/Class_(com...ogramming)
so, for example, in this case it would make more sense if the class is named FileLoader (i.e. thing), than file_load (i.e. action)
(Apr-29-2020, 06:09 AM)astral_travel Wrote: and still i haven't understood why is it called a class...
what exactly worries you in class? Even outside of programming one of meanings of class is set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.
https://www.merriam-webster.com/dictionary/class (see 3)
https://www.oxfordlearnersdictionaries.c...sh/class_1 (see 8)
https://www.lexico.com/definition/class (see 1)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs