60

PHP's lack of consistence in naming conventions with built-in functions. For example, str_split() and strlen().

Comments
  • 7
    PHP is an old but very good language.
  • 1
  • 15
    Well, the reason for the 'lack' of consistency is that strlen (and other str*) is a c lib and str_* are implemented in php core. And historically, without namespaces, one method could be implemented in the c lib, and would break php...
  • 1
    @bolovsky thank you so much for this information!
  • 0
    But that is the convention, you know, lack of convention itself
  • 0
    @bolovsky thank you for the information !
  • 1
    @Madeindjs can people stop defending the language we are criticizing in every rant? The whole point of this weeks special is to talk about bad things in the languages we love to use every day.
  • 1
    @gggggggggg, not criticize PHP, Ruby or Python. It's okay for C, C++, Java, etc..
Add Comment