How do i get out of the habit of procedural programming and into object oriented programming?

前端 未结 20 887
你的背包
你的背包 2020-12-23 12:13

I\'m hoping to get some tips to kinda help me break out of what i consider after all these years a bad habit of procedural programming. Every time i attempt to do a project

20条回答
  •  遥遥无期
    2020-12-23 12:51

    A great step would be to start of with a OOP framework, you can still write procedural code in the framework but over time you can refine your coding habits & start converting functionality into objects.

    Also reading about patterns & data modeling will give you more ideas about to code your logic in a OOP style.

提交回复
热议问题