⚡Megatron LLM Hub
←返回搜索
Twitter

开发者做了个 gcc/g++ 插件,函数超过 20 行就直接编译报错。

工具开发
Sometimes I have a tendancy of writing functions with too many lines, which causes bugs and prolonged troubleshooting. So I wrote a tool which becomes like an add-on to gcc and g++, that counts the lines of every function and gcc errors out if any is >20 lines. Pretty cool. JB