3

通过文字描述生成代码?距离失业又进了一步

 2 years ago
source link: https://www.v2ex.com/t/795534
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
通过文字描述生成代码?距离失业又进了一步 - V2EX

V2EX  ›  程序员

通过文字描述生成代码?距离失业又进了一步

  vvzhao · 1 天前 · 1417 次点击

OpenAI Codex 可以通过英文描述生成代码?感觉距离失业不远了

12 条回复    2021-08-14 11:29:31 +08:00

daweii

daweii   1 天前

失业有点夸张了。不过确实挺有意思的。太空飞船那个例子里背景为黑色。然后增加一个分数的文字时候默认字体颜色是黑色的。在输入“make score visible”以后,明明没有指定字体颜色但是字体自动变白了。

ericls

ericls   1 天前

代码是 liability,生成那玩意儿干嘛?

hackyuan

hackyuan   1 天前

挺有意思的。
那给我那个波浪般运动的效果,而波浪运动效果还不是先得有个人写出来,又不能凭空诞生。

chengyiqun

chengyiqun   21 小时 45 分钟前

夸张了吧. 这种应该只是减少重复性代码的编写, 方便 copy 了, 但是直接生产的代码一般是不能直接用的, 比如涉及到设计模式, 和项目结合, 数据交互, 总不能几句话就搞定了吧?
以前还有草图生成前端代码的呢, 你可以看下? 反正离真正的好用还差远呢.
https://github.com/ashnkumar/sketch-code

chengyiqun

chengyiqun   21 小时 40 分钟前

我想起来一句话: 图灵计算机是对于特定的输入经过确切的计算, 得出明确的结果.
真正的智能是针对不确定的输入, 输出不确定的结果, 这正是机器缺乏的创造性.

需求是千变万化的, 特定的生成工具只是帮你减少工作量, 不能取代你的工作的.
机器学习也不行, 像图像和音频之类都是通过大量素材模型训练出来的, 代码这种东西可不能类比.
类似 tabnine 这种, 只能帮你补全代码片段, 也问题很多.

securityCoding

securityCoding   19 小时 47 分钟前

来做个需求试试 , 看看它怎么处理兼容性

wolfie

wolfie   19 小时 42 分钟前

去年也出过一个
/t/694359

lithiumiilithiumii   19 小时 38 分钟前 via Android

不要慌,以後程序員都是能精確描述需求的產品經理

chenstack

chenstack   19 小时 31 分钟前

给我来段代码,功能是“判断一段 js 代码是否有死循环”

Visitor233

Visitor233   19 小时 8 分钟前

不知道这个是不是和 Copilot 一样

vvzhao

vvzhao   19 小时 2 分钟前

@Visitor233 官网介绍:Codex is the model that powers GitHub Copilot, which we built and launched in partnership with GitHub a month ago.

janxin

janxin   1 小时 59 分钟前

LZ 试用过 Github Copilot 了吗?你可以先试试再下结论...

关于   ·   帮助文档   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   1979 人在线   最高记录 5497   ·  

创意工作者们的社区

World is powered by solitude

VERSION: 3.9.8.5 · 17ms · UTC 05:28 · PVG 13:28 · LAX 22:28 · JFK 01:28
♥ Do have faith in what you're doing.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK