• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Implementation Patterns - using annotations

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Kent,

My question is, does your book introduce any patterns for usage of metadata (annotations)? As I can tell, this feature, implemented in many modern languages, is definitely useful for explaining your intentions not only to the compiler or to some high-level framework, but to other programmers also. What do you think?

Thanks,

Serge
 
author
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Serge,

I agree that annotations can be an excellent way of communicating intent, especially as the fashion moves from object-oriented frameworks to domain specific languages (e.g. JUnit 3.8 vs. JUnit 4). However, I wasn't confident that I had enough experience with annotations to explain them well, so I left them out of this book. If I did a second edition I would definitely include them.

Regards,

Kent Beck
Three Rivers Institute
 
reply
    Bookmark Topic Watch Topic
  • New Topic