<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Attributes and API usability</title><link>http://blogs.msdn.com/stevencl/archive/2004/05/06/127212.aspx</link><description>I'm in the middle of running an API study this week with an API that makes heavy use of attributes throughout. Basically, much of the functionality that the API supports is largely exposed through the use of attributes. The API requires that you decorate</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Attributes and API usability</title><link>http://blogs.msdn.com/stevencl/archive/2004/05/06/127212.aspx#127308</link><pubDate>Thu, 06 May 2004 18:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:127308</guid><dc:creator>Andrey Skvortsov</dc:creator><description>Attributes as concept is a good thing no doubt,declarative programming and AOP is always good thing but implementation can be improved by providing completely decoupled alternative among other things IMHO.</description></item><item><title>re: Attributes and API usability</title><link>http://blogs.msdn.com/stevencl/archive/2004/05/06/127212.aspx#128629</link><pubDate>Sun, 09 May 2004 03:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:128629</guid><dc:creator>Mike Dunn</dc:creator><description>Preface: My only exposure to attributes has been ATL in VC 7.1 (I don't write managed code at the moment).&lt;br&gt; &lt;br&gt;I feel very uneasy about putting huge chunks of functionality in attributes, mostly because they seem to be this magical black box. Just a couple of days ago, I was working with a friend over IM to get an attributed ATL sample working for him. We were stumped on why the .rgs file wasn't being read. Because all the registration stuff was generated by attributes (the C code didn't have DllRegisterServer() or UpdateRegistry()) I had no way at all to debug it. In regular ATL I could just set a breakpoint on DllRegisterServer() and step through it.&lt;br&gt; &lt;br&gt;I also find heavily-attributed code extremely hard to read. When there's actual _code_ there, I can usually figure out what it's meant to do just by a careful reading. When there are attributes sprinkled all over, I have to bounce back and forth between the code and the docs, figure out what magic the attributes do, and then remember it all.</description></item><item><title>RE: Attributes and API usability</title><link>http://blogs.msdn.com/stevencl/archive/2004/05/06/127212.aspx#128861</link><pubDate>Mon, 10 May 2004 02:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:128861</guid><dc:creator>mearls@hotmail.com (Michael Earls)</dc:creator><description>I was thinking about this just the other day.  I think that generally, attributes in code are awesome.  I believe that they can provide very important functionality in with very little maintenance effort and extremely easy implementation.&lt;br&gt;&lt;br&gt;However, I also believe that as more and more library/framework creators catch the Attribute fever, we're going to have far too many of them decorating everything.  I think it might be time to search out an alternative way to represent the attributes (if not representation, then manageability, but that implies that there might be yet another tool to manage attributes, giving us a less usable IDE for our more usale API).&lt;br&gt;&lt;br&gt;Anyway, I think we'll start to see a problem as we get too many attributes in our code.</description></item><item><title>Attributes and API usability revisited</title><link>http://blogs.msdn.com/stevencl/archive/2004/05/06/127212.aspx#130827</link><pubDate>Thu, 13 May 2004 03:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:130827</guid><dc:creator>stevencl's WebLog</dc:creator><description /></item><item><title>Attributes and API usability revisited</title><link>http://blogs.msdn.com/stevencl/archive/2004/05/06/127212.aspx#130835</link><pubDate>Thu, 13 May 2004 03:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:130835</guid><dc:creator>stevencl's WebLog</dc:creator><description /></item><item><title>Attributes and API usability revisited</title><link>http://blogs.msdn.com/stevencl/archive/2004/05/06/127212.aspx#130871</link><pubDate>Thu, 13 May 2004 05:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:130871</guid><dc:creator>stevencl's WebLog</dc:creator><description /></item><item><title> stevencl s WebLog Attributes and API usability | Outdoor Decor</title><link>http://blogs.msdn.com/stevencl/archive/2004/05/06/127212.aspx#9745988</link><pubDate>Sun, 14 Jun 2009 00:27:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9745988</guid><dc:creator> stevencl s WebLog Attributes and API usability | Outdoor Decor</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://outdoordecoration.info/story.php?id=1291"&gt;http://outdoordecoration.info/story.php?id=1291&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>