- #1
fog37
- 1,568
- 108
Hello Forum,
I understand that Java is an example of a computer language based on object oriented programming. I have read about objects, classes, etc. and I think I get those ideas. The other type of programming, opposite to OOP, is procedural programming: the computer simply receives a logical list of commands.
I have used Matlab in the past. To me, it seems like everything needs to be specified in the MATLAB code but it is also possible to write m-files and call them from other MATLAB programs. For example, I could write a m-file to draw a house and call that file from my main program. That said, I don't think Matlab is considered OOP. Is that correct? I am trying to compare Matlab to Java to see if I can better understand what OOP is about and what it is not...
thanks,
fog37
I understand that Java is an example of a computer language based on object oriented programming. I have read about objects, classes, etc. and I think I get those ideas. The other type of programming, opposite to OOP, is procedural programming: the computer simply receives a logical list of commands.
I have used Matlab in the past. To me, it seems like everything needs to be specified in the MATLAB code but it is also possible to write m-files and call them from other MATLAB programs. For example, I could write a m-file to draw a house and call that file from my main program. That said, I don't think Matlab is considered OOP. Is that correct? I am trying to compare Matlab to Java to see if I can better understand what OOP is about and what it is not...
thanks,
fog37