Hacker News new | past | comments | ask | show | jobs | submit login

For an illustration how PHP is 'different' from other languages, consider 'implode':

implode — Join array elements with a string

string implode ( string $glue , array $pieces )

Note:

implode() can, for historical reasons, accept its parameters in either order.

WTF! What other library has a major function which doesn't care about the parameter order? It goes against every notion of good design.

http://us.php.net/manual/en/function.implode.php




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

Search: