|
|
|
|
|
by foobarian
4546 days ago
|
|
I would suggest Java. It has a really clean object model, is statically typed, and if you use Eclipse it will compile-as-you-write to highlight errors, suggest fixes, and autocomplete a lot of useful stuff like methods you can call on an object. While you are at it, read "Effective Java" by Josh Bloch--it's full of excellent advice about OOP, and applies way beyond Java itself. My biggest epiphany about OOP was realizing that just because you can use inheritance, you don't have to use it everywhere. You read a lot of toy examples where you have e.g. a shape, then you have children like square, rectangle, etc. and try to do everything this way in your projects. But it's actually often a really bad idea to overdo it, and Effective Java has some good explanations on the tradeoffs. |
|