Skip to the posts
Buffalo's neighborhood journals since 2003 🌱 Plant🌶️ Spice

carolinian’s journal

Propel mental unfitness water

· · 🌡️ 87°F

There's a reason why I've spent the last few days with a murderous glare in my eye and thoughts of getting all Voldemort on a few Open Source programmers (and the rest of the software industry for good measure while I'm at it). I've tried and tried to get a piece of software at work functioning, and it's absolutely fucking ridiculous. I'll pretty much leave it at that and defer to a guy who has already adequately described the general source of my ire.



I guess I should also try to find the humor in the situation (from )

"We believe that good documentaiton is probably the single most important thing for a successful project..."



128 words

💬 3 comments

  1. zobar ·

    Yeah, so much open source software is crap from a usability standpoint. I'm doing a project right now in PHP. You'd think that with so many people using and developing PHP, it would have been pretty mature by version 4.4. It ain't.* To whit: I have some code that puts together a fairly complex object-oriented data structure.

    Works:
    $template = &new KTDocument('skins/default/base');

    Fails in bizarre and subtle ways:
    $template = new KTDocument('skins/default/base');

    It took me hours to figure that out. If I, the developer, can't get it right, how can I expect other clients of my API to figure it out?

    - Z

    _______________
    • There is a version 5.2 now; I haven't tried it but I'm not optimistic.
  2. paul ·

    Holy crap @zobar, why on earth would you base your API on PHP 4.4. No one is going to use a PHP 4 based API very much longer. Your problem had to do with a fatal flaw in pre-php 5 that resulted in the developer needing to explicitly call objects by reference.

    All of the object orientation in PHP was completely rewritten after version 5 and is much more on par with other languages - it makes no sense to use version 4.4. You are also missing out on public, private, protected, __get, __set, __call, __construct, __destruct, __wake, __sleep, normal inheritance, passing by reference, argument typing and so much more. Why don't you just go back to OS 8 while you are at it, lol.

    I mean PHP 5 addressed these issues but by basing your API a non-current or even close to current version of an open-source project, how can you expect it to be great.
  3. paul ·

    Here is the updated manual on Object Orientation in PHP as of version 5 :::link:::

💬 Write a comment