(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=43420477

Hacker News 最新 | 往期 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 C++26:弃用或移除库特性 (sandordargo.com) pjmlp 7小时前 13 分 | 隐藏 | 往期 | 收藏 | 2 条评论 zabzonk 6分钟前 | 下一条 [–] 我很惊讶竟然花了这么长时间才去除 `strtok()`。这是我见过的设计最糟糕、误用最多的函数之一——我遇到的几乎所有使用它的情况都是错误的。与其使用它,不如自己编写一个小型解析器。 回复 johnisgood 7分钟前 | 上一条 [–] `strtok` 从 C 语言中也移除了?该死。我想我还是要坚持使用 C99。 回复 加入我们,参加 6 月 16-17 日在旧金山举办的 AI 初创公司学校! 指导原则 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系我们 搜索:

相关文章
  • (评论) 2025-03-19
  • C++26:弃用或移除库特性 2025-03-20
  • (评论) 2025-03-17
  • (评论) 2025-03-18
  • (评论) 2025-03-20

  • 原文
    Hacker News new | past | comments | ask | show | jobs | submit login
    C++26: Deprecating or removing library features (sandordargo.com)
    13 points by pjmlp 7 hours ago | hide | past | favorite | 2 comments










    I'm amazed it has taken so long to get rid of strtok(). This is one of the worst designed and most misused functions I have ever seen - just about every use of it I have ever come across has been wrong. Write your own mini-parser rather than use it.


    strtok was removed from C, too? Damn. I guess I am sticking to C99 regardless.






    Join us for AI Startup School this June 16-17 in San Francisco!


    Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact



    Search:
    联系我们 contact @ memedata.com