Skip to content
Hot storiesContinuously updated

提示词加入爱心符号促使Claude与GPT生成递归代码

1 reports1 reporting sourcesUpdated 11 hours ago

Start here

AI overview

2026年11月4日,据相关报道,在向Claude和GPT输入编程问题时,如果在提示词旁加上一个爱心符号,会导致这两个大语言模型输出递归代码。这一现象表明,在提示词中添加爱心标记会促使模型改变其原有的代码生成策略,转而倾向于采用递归方式编写解题程序。

AI-generated from reports · Updated 11 hours ago

Report timeline

Follow the reports to see different sides of the story.

Nov 4
  1. Hacker News · AI
    在编程问题旁加上爱心,Claude 和 GPT 会写出递归代码

    在编程问题旁边加上一个爱心符号,会导致 Claude 和 GPT 输出递归代码。这一现象表明提示词中添加爱心标记会促使这两个大语言模型改变生成策略,转而采用递归方式编写解题程序。

Story heat trend

Current heat 7·Comparable peak 10(Nov 4 18:00)·Comparable change, last 24 hours–

02.557.510Nov4Nov4Nov5Nov5

Trends compare only the same parties observed continuously, so the scope can be narrower than current heat counts. Move the pointer or tap the chart to see hourly heat; use the left and right arrow keys on a keyboard.