Coffeehouse Post

Single Post Permalink

View Thread: Unconventional use of indexers
  • User profile image
    dcuccia

    stevo_ said:
    Ion Todirel said:
    *snip*
    I'd be honest and say I don't think it adds anything or makes it really different, to me it just serves as a barrier for people to realize whats actually going on here..
    Thanks for the thoughts Ion and stevo_.

    Is the "Get" class a barrier too? If you had factory methods, which would you prefer (assuming "Get" is used for many purposes in the DSL)?

    A[Get.Range(0,5,255)]


    or a classic

     A[Range.GetRange(0,5,255)]