#181 Allow collection argument for the 'Set' class method 'new'

Rejected
closed
nobody
Classes (154)
5
2012-08-14
2007-06-03
No

Allow an optional collection argument for the 'Set' class method 'new'.

After creating the set instance the collection argument should be sent to it via the 'union' message.

A constructor to handle the optional argument may look like:

  use arg coll=.nil

  if .nil<>coll then 
  do
     if \coll~isA(.collection) then
        raise syntax 93.948 array(1, "Collection")
     self~union(coll)
  end

Discussion

  • Rick McGuire

    Rick McGuire - 2007-06-12

    Logged In: YES
    user_id=1125291
    Originator: NO

    This is not a good idea, as it will make it difficult and awkward to extend the new method to add additional options to the collections in the future. For example, adding initial capacity and expansion strategy options to table, et al would be a good future enhancement. This feature overlaps with function already available to the particular collections, so it doesn't really add any capability while at the same time creates additional complications for the future.

     
  • Rick McGuire

    Rick McGuire - 2007-06-12

    Logged In: YES
    user_id=1125291
    Originator: NO

    This is not a good idea, as it will make it difficult and awkward to extend the new method to add additional options to the collections in the future. For example, adding initial capacity and expansion strategy options to table, et al would be a good future enhancement. This feature overlaps with function already available to the particular collections, so it doesn't really add any capability while at the same time creates additional complications for the future.

     
  • Rick McGuire

    Rick McGuire - 2007-06-12

    Logged In: YES
    user_id=1125291
    Originator: NO

    This is not a good idea, as it will make it difficult and awkward to extend the new method to add additional options to the collections in the future. For example, adding initial capacity and expansion strategy options to table, et al would be a good future enhancement. This feature overlaps with function already available to the particular collections, so it doesn't really add any capability while at the same time creates additional complications for the future.

     
  • Rick McGuire

    Rick McGuire - 2007-06-12

    Logged In: YES
    user_id=1125291
    Originator: NO

    Notice: This RFE is slated to be rejected.

    Reason: See the RFE item in the SourceForge Tracker system for the rejection reason.

    To appeal this rejection please contact the Appeals Committee via Mr. Chip Davis

    oorexx-rfe-appeals@oorexx.org

    All further correspondence on this RFE should be directed to the Appeals Committee and MUST include this RFE number.

    The decision of the Appeals Committee is final.

     
  • Rick McGuire

    Rick McGuire - 2007-07-16

    Logged In: YES
    user_id=1125291
    Originator: NO

    This RFE has now passed the 30-day mark since rejection without appeal. This RFE is now closed.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks