Re: Euphoria Object Oriented Programming
- Posted by Jason Gade <jaygade at yahoo.com> Jan 02, 2007
- 1084 views
Ricardo M. Forno wrote: > > My 2 cents: > I don't even think OO is good. Reasons: good programming practices favor > high cohesion modules and low coupling between them. Polymorphism and > inheritance do exactly the opposite. > Regards. Can you explain a little better? While I'm in the anti-OOP camp right now I always thought that OOP reduces coupling between modules. I thought that was one of the points behind it. Right now with Euphoria to expose an interface you have to do it with global routines and variables. With OOP you would just create an object and in most cases you wouldn't even have to worry about inheritance. -- "Any programming problem can be solved by adding a level of indirection." --anonymous "Any performance problem can be solved by removing a level of indirection." --M. Haertel "Premature optimization is the root of all evil in programming." --C.A.R. Hoare j.