Thanks, took me some time to find an explanation that actually explains anything. I've got no clue why people start explaining OOP with just listing basic concepts without explaining the main overarching idea and purpose. This is so ass- backwards to my-kinda-brain sort of people.
Can I assume you need to know beforehand all the methods that a class has so you can create an object correctly, and call an object's method correctly? Where is the class defined ?
NOT good idea to have paper as input parameter to SimplePencil. A SimplePencil instance should not know about the outside world. What you need here is a Drawing class that aggregates both a pencil (or several) and a paper.
Thanks, took me some time to find an explanation that actually explains anything. I've got no clue why people start explaining OOP with just listing basic concepts without explaining the main overarching idea and purpose. This is so ass- backwards to my-kinda-brain sort of people.
f s
Really helpfull for beginners, thank you!
so basically, it's like making everything a class and that class can do lots so you don't have to fiddle with the constructor or class functions
Como siempre un fantástico gameplay, sigue así Vegetta777
THANK YOU!! So clear now. And quick.
Terms like,"object oriented" get tossed around without anyone explaining the meaning or substance.
Thanks!
What's a function? What's a structure? What's a code?
Thank you this helped me a lot.
Can I assume you need to know beforehand all the methods that a class has so you can create an object correctly, and call an object's method correctly? Where is the class defined ?
Without knowing the methods that are available to an object, you probably can't.
what is an adage?
well this sucks...
NOT good idea to have paper as input parameter to SimplePencil. A SimplePencil instance should not know about the outside world. What you need here is a Drawing class that aggregates both a pencil (or several) and a paper.