简体中文
Telegram
JJavaScript/Node.js 台灣

JavaScript/Node.js 台灣

@JavaScriptTw · 群组 · 科技 · 收录于 2026-07-05
1 999成员
630 天内发言的人
1130 天内的消息
103 350索引中的消息
const auth = G.headers().bind(headers => { // TODO 认证 return G.pure(void 0) }) const get = G.get().semiBind(G.pureText("get")) const post = G.post().semiBind(G.pureText("post")) const del = G.delete().semiBind(G.pureText("delete")) // 所有不需要鉴权的路由 const pubRoute = G.path("/pub").semiBind(G.alts( G.exactPath("/one/:a").bind(params => G.pureJson(params)), G.exactPath("/two/:a").bind(params => G.pureJson(params)), )) // 需要鉴权的路由 const authRoute = auth.semiBind( get.alt(post).alt(del) ) export const api = G.path("/api").semiBind( pubRoute.alt(authRoute) ) 自己设计的,自己用,自己难受。
H
意外的是,AI竟然能懂我懂逻辑,并很擅长这套思想似得
表面像,本质上不一样。 我这个说实话更加难用,理解成本更高,全是组合子
const server = serve({ routes: { // Serve index.html for all unmatched routes. "/*": index, "/api/*": req=> { return api.runWith404(req) } }, development: process.env.NODE_ENV !== "production" && { // Enable browser hot reloading in development hmr: true, // Echo console logs from the browser to the server console: true, }, });
只做了 request -> response 的 组合
链接
点击显示
https://github.com/diqye/piko vibe coding 了一个 胶囊 App, 19M 。 秒打开。 我只搭好了环境(vibe 或者 通过npx init搭建的环境太拉跨), 定好了文件规则,其它都是pi coding 做的。
你咋做的,全部程序完成的画面 录屏吗?
H
我也有在做类似的事情,不过我做的是2D的, 主要价值是,AI自动讲解,自动写画面,自动渲染视频,比较省心。
能叫ai檢查的都叫了,明天再問又檢查出另一些問題
C
Xcode Build又好慢
你把 AI 當作一個大學剛畢業的工程師就好
印
跟以前軟體開發一樣,其實沒區別

来自搜索索引的公开信息流 ChatCrawler ——“公开 Telegram 的 Google”;随着该社群被抓取而更新。 时间为 UTC。

仅限公开内容,使用 Telegram 官方 API。 关于 · 常见问题 · 索引限制 · 移除页面 · 目录 · 搜索 · 计算方法