Actually a subject.
Maybe quite a stupid question, but nevertheless, I realized that I can't understand the relationship of a scripting language and object-oriented. Here, for example, is Groovy. It is a OOP language, and thus can be used as a script. Same — PHP(a scripting language initially, but supports the PLO). What does it mean, explain please?
As is the case now I understand: OOP language, it is thought objects and classes of these objects themselves. And scripted is when the user language are set immediately, and they are interpreted in the course. It is possible to create classes, methods, and immediately write the program instructions that will be converted. So how, then, can still fall within the scope of one language? In my head I had the(apparently wrong) contradiction. After all, if the PLO language all classes conceived, why then it is possible to write instructions, avoiding classes and methods?