Sorry for the late reply, I had somehow missed this.
Yes, I have used object literals in JavaScript. I have also coded in an OOP paradigm with php. As Avalander said, they're different things. An object literal is a list of name-value pairs. OOP is a programing paradigm based on objects.
Using objects doesn't make your code object-oriented programming any more than using functions makes it functional programming. At least not if we go back to Alan Kay's intent when he coined the term.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
So you never used an object literal?
Sorry for the late reply, I had somehow missed this.
Yes, I have used object literals in JavaScript. I have also coded in an OOP paradigm with php. As Avalander said, they're different things. An object literal is a list of name-value pairs. OOP is a programing paradigm based on objects.
Using objects doesn't make your code object-oriented programming any more than using functions makes it functional programming. At least not if we go back to Alan Kay's intent when he coined the term.