Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 Gradle 里写 Codegen 为 Kotlin 的每个类生成 xxxOf() | isekiのNote #40

Closed
iseki0 opened this issue Sep 26, 2020 · 0 comments

Comments

@iseki0
Copy link
Owner

iseki0 commented Sep 26, 2020

https://blog.iseki.space/2020/write-codegen-in-gradle/

在 Gradle 里写 Codegen 为 Kotlin 的每个类生成 xxxOf()这两天也不知道咋回事,和 codegen 杠上了,也未必节省多少时间,复杂的 codegen 写起来挺累的······ 上次在 Vert.x 里看到了 classnameOf(params...) 这种写法,例如 httpOptionsOf(port = 8080,...) 顿时感觉非常舒服,决定也给自己的代码加

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant