My Coding Experience with AI LLMs evolve so fast. I feel it’s worth recording my current thoughts on how this technology changes my day to day experience in writing code.
一个初始化结构体的用法 近来敲代码的时候,由于技术含量不高,所以就格外注重“代码好不好看”这个问题。 在无聊的Coding中看到一个没有用过的语法还是小有惊喜的。 记在这里: 主要是这段 DemoStruct demos[4] = { {.val = 1, .point = &a}, {.val = 2}, {.point = &b}, {.val = 3, .point = &c}, }; 对于结构复杂一点的struct,这么写是不是挺好看的 :]