aimerforreimu

各位会不会感觉自己以前写的代码像💩

  •  
  •   aimerforreimu · Apr 9, 2019 · 2064 views
    This topic created in 2793 days ago, the information mentioned may be changed or developed.

    今天看了以前刚学 php 的时候写的代码,那个时候刚刚学完面向对象 和 mvc,凭借着自己的不怕💩的精神,写了一个人脸识别+树莓派的后台,今天突然翻到了这些代码,看起来五味杂陈,当年自己感觉牛皮的不行的代码现在感觉就像一坨 shit

    给大家看一下,心里承受能力比较弱的老哥就别看了,小心辣到眼睛😂

    Model 手动拼接 sql,虽然自己封装了 pdo.

    Snipaste_2019-04-09_19-10-29.png

    超级大的 if else

    Snipaste_2019-04-09_19-13-43.png

    瞎说的 api 状态码 Snipaste_2019-04-09_19-14-33.png

    感觉真的当时太沙雕了,怎么写出来的这些代码……

    mingyun
    mingyun
    Apr 9, 2019
    1
    几年后看现在的代码也差不多
    SamsonWang
    SamsonWang
    Apr 9, 2019 via Android
    2
    这说明你在进步
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4466 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 06:31 · PVG 14:31 · LAX 22:31 · JFK 01:31
    ♥ Do have faith in what you're doing.