Is it acceptable to use a mix of object oriented style with procedural style in coding PHP?

前端 未结 3 1935
闹比i
闹比i 2020-12-06 06:37

So before I always used to use procedural style to code php, such as:

mysqli_connect

or

mysqli_prepare

An

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-06 07:07

    Worse things happen in the world of coding. Some would say that this is just plain wrong. And others would just get paid and be happy that the code works. It all depends on what sort of programmer you want to be.

    http://www.codingconfessional.com/

    or

    http://pragprog.com/the-pragmatic-programmer

提交回复
热议问题