Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

These stupid generalizations about PHP devs have to end some day, right? Symfony2 (as example) is a piece of software that is probably light years away from anything you have done in software engineering. And its community is way better both in knowledge and openness than the Rails one (I've been a Rails dev too, and have my own rants to make, but I don't go around saying Ruby devs are all noobs) IMO. Yet here you are, making generalizations based on having written code in plain php, working in a piece of software that I don't even know when it was created, but I guess it was here before we even started programming.

And for the sweet downvotes, I'll just drop this here:

Tell me more about how you read the GoF book, and applied the patterns in a language that does not even have interfaces or type-hinting. What a joke. On a recent article, another "Ruby expert" (who writes and sells programming books) was shocked by the fact that you can reuse code with inheritance. You should read it.



>Tell me more about how you read the GoF book, and applied the patterns in a language that does not even have interfaces or type-hinting.

<tongue in cheek>

If you're interested in examples of GoF patterns implemented in a language without typehints or interfaces, I highly suggest getting ... the GoF book -- it has examples in Smalltalk!

</tongue in cheek>


>Tell me more about how you read the GoF book, and applied the patterns in a language that does not even have interfaces or type-hinting. What a joke.

I don't see any joke. Jokes are of the type "Knock knock, who's there", etc. Using GoF patterns in a language without interfaces or type hinting? Not so much.

Most of the design patterns can be applied in any language, some languages even have inherent support for some of them. Not much to do with types or interfaces (besides them offering extra checks).

Facade, Decorator, Flyweight, Iterator, Proxy, etc... Equally at home in Java, C++, Smalltalk, Python or Ruby...

>On a recent article, another "Ruby expert" (who writes and sells programming books) was shocked by the fact that you can reuse code with inheritance. You should read it.

I guess you are referring to this:

http://clayallsopp.com/posts/the-story-of-pull-request/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: