SitePoint Sponsor

User Tag List

Page 5 of 5 FirstFirst 12345
Results 101 to 106 of 106
  1. #101
    throw me a bone ... now bonefry's Avatar
    Join Date
    Nov 2004
    Location
    Romania
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by McGruff
    I did think that was a good definition; I didn't think you should call people stupid even if you do disagree.
    I didn't called him stupid, I called his statement stupid, simply because, him too used the word stupid:
    Asking "Is PHP Enterprise ready" is a stupid question
    And no, his definition is not good, simply because a platform is enterprise-ready only when it provides necessary tools for making "enterprise applications". And just because some "enterprise code" exist, doesn't mean PHP is enterprise ready. This is not the chicken and the egg problem.

  2. #102
    simple tester McGruff's Avatar
    Join Date
    Sep 2003
    Location
    Glasgow
    Posts
    1,690
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I've got an XP perspective:

    PHP Code:
      $this->assertTrue($php_enterprise_application->isWorking()); 
    If it passes the test, php must be enterprise ready. It may not be perfect, granted, but it just has to be good enough.

  3. #103
    ********* Victim lastcraft's Avatar
    Join Date
    Apr 2003
    Location
    London
    Posts
    2,423
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hi...

    Quote Originally Posted by Website Rob
    ...and good Perl coders know that coding in 'strict' may take more time but you pretty much get bulletproof code; from a no-bugs and best security point-of-view.
    In practice a good Perl coder will use strict to catch reference errors because the Perl notation for referencing is even more insane than PHP4. Unfortunately it forces you to put "my" before every new occourance of a variable . This is utterly unnecessary and a constant irritation. At least Ruby had the good sense to throw it out.

    In PHP5 I would just change all of the "var $" strings to "private $" and then strip the now redundant underscores. We are pretty strict about not accessing object memebers from outside (or even subclasses).

    yours, Marcus
    Marcus Baker
    Testing: SimpleTest, Cgreen, Fakemail
    Other: Phemto dependency injector
    Books: PHP in Action, 97 things

  4. #104
    SitePoint Addict
    Join Date
    Jan 2005
    Location
    Ireland
    Posts
    349
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by lastcraft
    Hi...



    In practice a good Perl coder will use strict to catch reference errors because the Perl notation for referencing is even more insane than PHP4. Unfortunately it forces you to put "my" before every new occourance of a variable . This is utterly unnecessary and a constant irritation. At least Ruby had the good sense to throw it out.
    Well, to be fair, instead of using all of strict module, you can use certain parts of it. Like:
    Code:
    use strict 'refs';
    So at least you do have an option.

    That said, I hate perl

  5. #105
    throw me a bone ... now bonefry's Avatar
    Join Date
    Nov 2004
    Location
    Romania
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by lastcraft
    In PHP5 I would just change all of the "var $" strings to "private $" and then strip the now redundant underscores. We are pretty strict about not accessing object memebers from outside (or even subclasses).
    I like underscores and naming conventions especially when those variables are private (i.e. are not used from outside). What I mean is, who cares if the implementation of a class is ugly if the interface is beautifull .

  6. #106
    ********* Victim lastcraft's Avatar
    Join Date
    Apr 2003
    Location
    London
    Posts
    2,423
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hi...

    Quote Originally Posted by Ryan Wray
    Code:
    use strict 'refs';
    Now you tell me . Oh well, we are switching our Perl code over to Ruby.

    yours, Marcus
    Marcus Baker
    Testing: SimpleTest, Cgreen, Fakemail
    Other: Phemto dependency injector
    Books: PHP in Action, 97 things


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •