The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Where is the line between a property and a method?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jeff Key

Posts: 481
Nickname: jeffreykey
Registered: Nov, 2003

Jeff Key is legally sane, but questionably competent.
Where is the line between a property and a method? Posted: Nov 28, 2003 3:45 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Jeff Key.
Original Post: Where is the line between a property and a method?
Feed Title: Jeff Key
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/jkey/Rss.aspx
Feed Description: Topics revolve around .NET and the Windows platform.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Jeff Key
Latest Posts From Jeff Key

Advertisement

Brad Abrams has started some really interesting API discussions over the past couple months.  It's great to see what the .NET teams are thinking about and it's nice to know they're listening to “the people“.  I've always found API issues to be particularly interesting, and Brad's blog doesn't disappoint.

One of the more recent discussions is Properties vs. Methods.  Sure, they're both really methods, but what does the consuming developer expect?  Most treat them like fields and expect that the cost is minimal.  What if that's the case 95% of the time, but the remaining 5% are (very) expensive?  Do you use methods instead?  Do you consider a different design altogether?  Read about this and more at Brad's Pad of API Happiness.

Read: Where is the line between a property and a method?

Topic: NewsGator/.Text questions Previous Topic   Next Topic Topic: Microsoft aims for search on its own terms

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use