Posts by 1link@techhub.social
(DIR) Post #Ab20WSJZ77M4zAFD16 by 1link@techhub.social
2023-10-22T14:45:36Z
0 likes, 0 repeats
@stux 哈哈
(DIR) Post #Ahbh5TWupaX23618j2 by 1link@techhub.social
2024-05-06T07:10:01Z
0 likes, 0 repeats
@stux ?
(DIR) Post #Aiacg3EVbf0VhUqSOW by 1link@techhub.social
2024-06-04T16:11:59Z
0 likes, 0 repeats
@bagder 50% agree
(DIR) Post #AkDs43cbP0CHikoXxY by 1link@techhub.social
2024-07-23T12:56:21Z
0 likes, 0 repeats
@stux 物理学不存在了
(DIR) Post #AkvcuorpwIkAzvJW6q by 1link@techhub.social
2024-08-13T15:33:57Z
0 likes, 0 repeats
@stux ???what?
(DIR) Post #AoFXkBFmKVhxSc8cQy by 1link@techhub.social
2024-11-20T23:46:31Z
0 likes, 0 repeats
@art 哈哈哈哈
(DIR) Post #Ar8yiRok6EJ1lbWjo0 by 1link@techhub.social
2025-02-15T13:21:32Z
0 likes, 0 repeats
@foone may I have the link plz?
(DIR) Post #AtkoaegsHkNFKXdiFM by 1link@techhub.social
2025-05-04T15:11:45Z
0 likes, 0 repeats
@stux not surprise to programmer, we all been there: npm install -g npm
(DIR) Post #AvogMY68C6gh7adTVY by 1link@techhub.social
2025-07-04T09:05:58Z
0 likes, 1 repeats
2010 年写的 233 行 PHP 图床应用已经运行了 15 年 | a real programmer php imagebin文章作者从朋友手里接手了一个 233 行 PHP 代码的图床应用 imagebin(上传,缩略图,还带密码保护),实际上这 233 行还包括了 47 行的 changelog 注释,剩下的代码里包括了所有的业务逻辑,HTML / CSS 页面。接手之后,作者尝试用 Go 重新编写,并且比较了 2 者的区别, 发现 Go 语言版本的实现不仅需要编译,还得用 HTML 模板,行数还比 PHP 要多。而 PHP 代码简单,没有任何方法/函数,不需要编译,还不需要 router,扔到服务器上就能运行。由此作者认为,现在软件都是被设计的产物,功能拆分(router,html template),代码拆分(function, error handle),维护起来并不比那些看起来没什么代码结构的简单 PHP 代码。原文:https://incoherency.co.uk/blog/stories/the-story-of-max.htmlPHP 图床代码:https://gist.github.com/jes/330031f6c28331923a90df96f2555eee #1link1day