创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

AI 日志代码据称拖慢 Google Forms 欢迎页

AI 总结

一篇第一人称工程案例称,AI 为 Google Forms 插件生成的代码在显示欢迎页前,依次尝试获取用户邮箱和用户 ID,并触发多次 Google API 调用。作者称这使欢迎页加载耗时达到 15 秒,并主张开发者应负责架构设计、约束编程工具并复核生成代码。

深度见解

这个案例展示出,当开发者把职责扩大到编码之外时,AI 生成的实现选择可能引入未经要求的性能与可维护性取舍。

Image 1

Yesterday, I was debugging a performance problem with our Google Forms addon. It turned out my colleague had vibe coded the logging part, so that he could monitor the new installs every week. Monitoring new customers is the most important part of running a business, so he is absolutely right in doing that. Except, he was logging the user’s email and Google has severely restricted how much detail you can get about the user since last December. So, AI had written a series of try/catch statements:

  • First, try to get the email if the user gave consent to share it during installation.
  • If it fails, it would try to fetch his user ID.
  • If that fails, it would log an error saying the user has installed, but we don’t know his email or user ID.

#Google Forms#Google

原文约 5 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。