memecub
EN注册
How to find the length of a number

How to find the length of a number

一段 C 语言代码截图,函数 numLen 用一长串 if 语句逐级判断数字范围来返回位数,从 1 位一直罗列到 18 位,写法笨拙冗长,适合表达无语、吐槽烂代码或程序员摸鱼凑行数。

适合这些场景

  • 同事提交一坨烂代码时吐槽
  • 代码评审看到暴力枚举写法
  • 程序员自嘲写不出优雅实现
下载
来源网络 · 版权归原作者网络收集
许可证
Web collected
来源
programmerhumor.io
详细信息
480×295 · JPG

写文章用得上?让 AI 帮你配

粘贴文章,表情包自动配到笑点上。

Claude CodeCodexCursorChatGPTClaudeGemini CLIOpenClawGitHub CopilotTraeWindsurf支持 Claude Code、Codex、Cursor、ChatGPT 等 23+ 款 AI 工具→

相关表情