Welcome Guest, Not a member yet? Register   Sign In
Best way to have multiple parent controllers
#6

[eluser]Dam1an[/eluser]
[quote author="Yorick Peterse" date="1241323980"]You could make 3 controllers, controller 1, controller 2 and controller 3. Next thing you need to do is to make controller 3 extend controller 2 and controller 2 should be extending controller 1. However, doesn't this kill the general idea behind Object Oriented programming ?[/quote]

How would that kill OOP? One of the big things with OOP is inheritence, so having 10+ levels of inheritence is fine, as long as it makes sense to do so


Messages In This Thread
Best way to have multiple parent controllers - by El Forum - 05-02-2009, 05:10 PM
Best way to have multiple parent controllers - by El Forum - 05-02-2009, 05:13 PM
Best way to have multiple parent controllers - by El Forum - 05-02-2009, 05:16 PM
Best way to have multiple parent controllers - by El Forum - 05-02-2009, 06:51 PM
Best way to have multiple parent controllers - by El Forum - 05-02-2009, 09:57 PM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 01:52 AM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 03:26 AM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 03:39 AM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 03:49 AM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 04:37 AM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 05:24 AM
Best way to have multiple parent controllers - by El Forum - 05-03-2009, 09:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB