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

前端 未结 20 938
你的背包
你的背包 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:40

    Don't.

    First, learn writing. Second, learn user experience and interaction design. Third, learn business analysis. Fourth, learn role modeling.

    Now that you know what objects are, you will come to see that objects are not found in code. They are found at runtime; in the space between the machine and the user's mind. This is what object orientation really means. Unfortunately recent academia has twisted it into an engineering concept. Nothing could be further off the mark. And try as they might to emulate, the end result is crap. Why? Because the "OOP" paradigm as the industry knows it today is built on a fundamentally flawed idea: decompositional analysis of identity. How is this flawed? Because identity in and of itself is meaningless. It is void. In a mathematical sense, in a philosophical sense. This is not how a human being perceives and interacts with the world.

    Canon: Alan Kay, Trygve Reenskaug, James (Jim) Coplien

    How I wish I was in your position. :)

提交回复
热议问题