• 请不要在回答技术问题时复制粘贴 AI 生成的内容
Hualin
V2EX  ›  程序员

Do no evil in your code, finish it and make your life happy

  •  
  •   Hualin · Sep 12, 2012 · 2804 views
    This topic created in 4993 days ago, the information mentioned may be changed or developed.
    Now let's face it. I do not like object-oriented programming nor do I with UML, simply do not believe in them, pretty evil things. The good code I learned so far is, if you writing a computer programe, you are building a machine or a toy, not a fancy world in the RAM. Design no more than it needs to be done and make it simple.

    https://twitter.com/kouhualin/status/245851720956141569/photo/1
    1 replies    1970-01-01 08:00:00 +08:00
    Hualin
        1
    Hualin  
    OP
       Sep 12, 2012
    and if you happen to write a GodClass, it is not your fault. if you want to refactor those attrbutes into more subclasses you are more in trouble. It is no your fault, it is the nature of OOP, be happy and no guilty. leave it.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   885 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:37 · PVG 04:37 · LAX 13:37 · JFK 16:37
    ♥ Do have faith in what you're doing.