4 ms·
Getters, setters, builders, special design patterns are not related to existence of type annotations. They are related to lack of different constructions or mis
by mateuszf 12y ago
Getters, setters, builders, special design patterns are not related to existence of type annotations. They are related to lack of different constructions or misusing existing ones.
- mercurial 12y agoThey're very much related to the point I was addressing, namely "What does it cost to add a new type in a language like Java". You're going to have type annotations in your signature no matter what, but adding a new type is relatively expensive.