HabboCMS [HOMES/GROUPS/TAGS/FORUM]

Page 3 of 3 FirstFirst 123
Results 31 to 37 of 37
  1. #31
    Alpha Member Caustik is offline
    MemberRank
    May 2011 Join Date
    LondonLocation
    1,837Posts

    Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]

    Quote Originally Posted by FullmetalPride View Post
    Limit myself? OOP has just as many limitations as Procedural.

    You forget, they're the same language, but they're different approaches to it.

    It's like this. You and your friend are both at point A, backs to each other. Point B is located exactly opposite of point A, on the other side of the Earth, somewhere in China, let's say. Your friend travels one way, you travel another. On your walk, you'll probably go through Africa, then the middle east, then India, then you'll be at point B. Your friend will go across the Atlantic, the USA, then the Pacific, then be at point B with your friend.

    Both of them have their pros and cons. Your friend will have to deal with the water, the American coast guard, then more water (and probably more US coast guard considering we're Japan's defense), then getting into China. On your way, you'll have to deal with travelling across the desert, dodging bullets and bombs in the Middle East, then the Himalayas in India. If neither of you have died, you'll still get to point B, in the same distance, with equally intimidating and challenging problems
    Do you know what the word paradigm means?
    lol

  2. #32
    Ask me about Daoism FullmetalPride is offline
    MemberRank
    Nov 2010 Join Date
    2,172Posts
    Quote Originally Posted by Caustik View Post
    Do you know what the word paradigm means?
    lol
    Not in programming, but I know it's a sort of outline/layout/pattern that you follow or guides you.

  3. #33
    Web & Interaction Design Gangnam is offline
    MemberRank
    Dec 2010 Join Date
    Lincoln, UKLocation
    1,983Posts

    Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]

    Quote Originally Posted by FullmetalPride View Post
    Limit myself? OOP has just as many limitations as Procedural.
    You know very little of OOP then. Just FYI, OOP is way more flexible and far exceeds the pros (if any) of Procedural.

  4. #34
    Ask me about Daoism FullmetalPride is offline
    MemberRank
    Nov 2010 Join Date
    2,172Posts

    Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]

    Quote Originally Posted by n0minal View Post
    You know very little of OOP then. Just FYI, OOP is way more flexible and far exceeds the pros (if any) of Procedural.
    >exceeds pros

    LMAO! That's like saying the pros of using your right leg exceed those of using your left. It's the same thing. Just a different approach.

    OOP is not more flexible, lol. It's just a way of making things more complicated for yourself, which somehow, you crazies seem to adore.

    It's the exact same fucking thing:

    Procedural:

    PHP Code:
    $link mysqli_connect('localhost''my_user''my_password''my_db'); 
    OOP:

    PHP Code:
    $mysqli = new mysqli('localhost''my_user''my_password''my_db'); 

    This is what I use for my custom MySQLi class:

    PHP Code:
    $mysqli = new briteMySQLi($mysql_host$mysql_user$mysql_password$mysql_database);
    $mysqli->connect(); 
    Isn't that so much nicer than all of that ramen code?

    Or have I been using OOP this entire time and bashing it..

  5. #35
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]

    Quote Originally Posted by FullmetalPride View Post
    >exceeds pros

    LMAO! That's like saying the pros of using your right leg exceed those of using your left. It's the same thing. Just a different approach.

    OOP is not more flexible, lol. It's just a way of making things more complicated for yourself, which somehow, you crazies seem to adore.

    It's the exact same fucking thing:

    Procedural:

    PHP Code:
    $link mysqli_connect('localhost''my_user''my_password''my_db'); 
    OOP:

    PHP Code:
    $mysqli = new mysqli('localhost''my_user''my_password''my_db'); 

    This is what I use for my custom MySQLi class:

    PHP Code:
    $mysqli = new briteMySQLi($mysql_host$mysql_user$mysql_password$mysql_database);
    $mysqli->connect(); 
    Isn't that so much nicer than all of that ramen code?

    Or have I been using OOP this entire time and bashing it..
    OOP is used when you want to re-use code over and over. Would you rather type class function code constantly or just access the function in an OOP manner..

  6. #36
    Banned bugme is offline
    BannedRank
    Feb 2007 Join Date
    1,380Posts

    Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]

    Sorry I'm not as pro as you guys are when it comes to programming but some people did say that OOP is making PHP Shorter than normal PHP is that true or false because I'm at the moment learning for PHP but I'm not sure if i should move on learning PHP or just learn PHP OOP / PDO.

  7. #37
    Enthusiast Bertrude is offline
    MemberRank
    Jan 2012 Join Date
    31Posts

    Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]

    Looks nice! might be using this



Page 3 of 3 FirstFirst 123

Advertisement