ays
Slavan
- Učlanjen(a)
- 18.08.2009
- Poruke
- 1,579
- Poena
- 200
Sinoc sam procitao sledeci tekst: http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ i mislim da je covek, u narednih par recinica opisao sve ono sto ne valja sa PHP-om:
Takodje, malko kasnije, sam procitao clanak na istu temu, ocigledno inspirisan prethodnim clankom, od Jeff Atwood-a:
http://www.codinghorror.com/blog/2012/06/the-php-singularity.html
Radio sam ASP.NET development, radio/radim i PHP development i od skora sam poceo da razvijam Web apps sa Ruby on Rails... u poredjenju sa druge dve platforme, PHP je jedna gomila nereda na koji se redovno natrpava jos novih i novih slojeva nereda. Nekonsistentost medju funkcijama, bugs as features, redovna "iznenadjenja" i fantomskim problemi... mogao bih tako u nedogled...
Ali ako bi mi sada dosao neko i rekao da treba da mu napravim takav i takav sajt/aplikaciju za 2 nedelje, najverovatnije bih izabrao PHP sa nekim njegovim framework(manje ili vise uspesnim kopijama Rails-a). Mozda je upravo to i problem... generalni stav: "Ali PHP obavlja posao... ne znam ni sam kako ali obavlja posao."
Sta vi mislite?
I can’t even say what’s wrong with PHP, because— okay. Imagine you have uh, a toolbox. A set of tools. Looks okay, standard stuff in there.
You pull out a screwdriver, and you see it’s one of those weird tri-headed things. Okay, well, that’s not very useful to you, but you guess it comes in handy sometimes.
You pull out the hammer, but to your dismay, it has the claw part on both sides. Still serviceable though, I mean, you can hit nails with the middle of the head holding it sideways.
You pull out the pliers, but they don’t have those serrated surfaces; it’s flat and smooth. That’s less useful, but it still turns bolts well enough, so whatever.
And on you go. Everything in the box is kind of weird and quirky, but maybe not enough to make it completely worthless. And there’s no clear problem with the set as a whole; it still has all the tools.
Now imagine you meet millions of carpenters using this toolbox who tell you “well hey what’s the problem with these tools? They’re all I’ve ever used and they work fine!” And the carpenters show you the houses they’ve built, where every room is a pentagon and the roof is upside-down. And you knock on the front door and it just collapses inwards and they all yell at you for breaking their door.
That’s what’s wrong with PHP.
Takodje, malko kasnije, sam procitao clanak na istu temu, ocigledno inspirisan prethodnim clankom, od Jeff Atwood-a:
http://www.codinghorror.com/blog/2012/06/the-php-singularity.html
Radio sam ASP.NET development, radio/radim i PHP development i od skora sam poceo da razvijam Web apps sa Ruby on Rails... u poredjenju sa druge dve platforme, PHP je jedna gomila nereda na koji se redovno natrpava jos novih i novih slojeva nereda. Nekonsistentost medju funkcijama, bugs as features, redovna "iznenadjenja" i fantomskim problemi... mogao bih tako u nedogled...
Ali ako bi mi sada dosao neko i rekao da treba da mu napravim takav i takav sajt/aplikaciju za 2 nedelje, najverovatnije bih izabrao PHP sa nekim njegovim framework(manje ili vise uspesnim kopijama Rails-a). Mozda je upravo to i problem... generalni stav: "Ali PHP obavlja posao... ne znam ni sam kako ali obavlja posao."
Sta vi mislite?