issues
search
PureFuncInc
/
speaking-topics-and-ideas
let's brainstorm speaking topics and ideas together!
8
stars
0
forks
source link
[Idea] Custom Annotation
#3
Open
Jian-Min-Huang
opened
2 years ago
Jian-Min-Huang
commented
2 years ago
Language
All
Description
想知道 @Annotation 是怎麼個玩法
References
https://openhome.cc/Gossip/Java/CustomizeAnnotation.html
https://projectlombok.org/
linahbei
commented
2 years ago
觀眾提問:
Annotation 的 annotation
也是 annotation 嗎?(
@interface
)
我只會模仿某些框架,把 annotation 當成實作 mediator pattern 的語法糖,可是為什麼要這樣做?使用 annotation 改善了什麼問題?
如何對
我的 annotation
寫測試程式?或者 ... 要對
誰
測試?
Language
Description
References