OOP
- Started
- Last post
- 26 Responses
- moth0
Oh yeah.
The down side to Ruby+Rails is that it's practically impossible to set up a development environment on a PC - except via virtual machine.
This is currently leaving me with the nasty prospect of buying a mac, or running linux.
- rounce0
@moth: RoR is slow as shit and breaks a lot of the guidelines of OOP, don't forget that... (DHH can suck my balls)
I found I truly reached OOP nirvana (well I really refined my game anyways) with codeigniter (http://www.codeigniter.com/). By being forced to use a nicely layed out OO/MVC system I got into the habit of working like that even when working in other languages.
Don't go overboard on the whole clean-code-OOP-maximum-portabili... thing. Small projects don't often need it, sometimes I find it easier to just code it from scratch in a day or two and usually end up with a more elegant solution than I had in my existing codelibrary which can then be updated with my new improved method.
Good luck, feel free to email if you need help with this, I've got lots of resources to help you get going (and candy, so get in my van)
- moth0
I don't think you can talk about guidelines and php in the same sentence rounce. I think you may have overlooked something in Ruby.
- maximillion_0
the Moock tamigotcha (sp?)(the creature he builds and feeds to keep alive) tutorial is a good example of simple OOP. I would recommend reading up on the theory and getting into using functions first and then classes (the objects) and packages (organisation of objects). Getting stuck in is always a good way to understand it. If you use AS3 there are loads of forums for support and it will be (more) applicable to what your doin now
- 1pxsolid0
I think the best thing to learn is OOP patterns and practices... once you learn these you can apply them to any language.
You use different patterns to solve different problems.