HNHacker News
TopNewBestAskShowJobs

krazymelvin

8 karma · joined May 22, 2013

submissionscomments
krazymelvin··on High Quality PHP
And the obligatory response: https://news.ycombinator.com/item?id=4177516
krazymelvin··on Adventures in PHP Development: Composer
> I quite like the npm way of adding --save or --save-dev when installing a package to add it to the package.json file automatically. Composer does not do that, in any way that I could find at least.

You can install individual packages using the `require` command:

    composer require monolog/monolog:*
http://getcomposer.org/doc/03-cli.md#require
krazymelvin··on Mammouth is a small language that compiles into PHP
It's also unnecessary, you can just do this:

    foreach ($contacts as $contact)
        echo $contact;
krazymelvin··on Ewww, You Use PHP?
People really need to stop posting that fractal article. Any PHP dev worth their salt would be able to tell you that guy clearly has no major experience with PHP (or any understanding of OOP for that matter).

Here's a few discussions on just how wrong [1] and clueless he really is [2].

[1] https://news.ycombinator.com/item?id=4177516 [2] http://forums.devshed.com/php-development-5/php-is-a-fractal...