taskLiberty Eiffel - Tasks: task #12675, Allowing "create...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #12675: Allowing "create my_collection"

Submitter:  Cyril Adrian <cadrian>
Submitted:  Fri 07 Jun 2013 09:38:39 AM UTC
   
 
Should Start On:  Thu 06 Jun 2013 10:00:00 PM UTC Should be Finished on:  Thu 06 Jun 2013 10:00:00 PM UTC
Category:  Kernel libraries Priority:  3 - Low
Status:  None Assigned to:  Tybor
Percent Complete:  0% Open/Closed:  Open
Fixed Release:  None Planned Release:  dennis
Effort:  0.00

Fri 07 Jun 2013 09:38:39 AM UTC, original submission:  

Currently each collection has different creation features; rightly so because each has its own peculiarity.

Many times tought a lazy developer would like to just create an empty collection, without thinking about the details of creation and which kind of collection is actually used.

I perfectly know that the right thing to do is having a factory.
 
Those coming from other "high-level", loosely-typed languages would love this. They will accept to define the type somewhere, but I'm pretty sure that they will hate to change all the creation commands anytime they switch from an ARRAY to a LINKED_LIST.

I propose to add "default_create" to the creation features of all collections, with "reasonable defaults" for fast hacks...

Cyril Adrian <cadrian>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ramack (Updated the item)
  • -email is unavailable- added by cadrian (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-14 ramack Priority5 - Normal 3 - Low
        Planned Releasecurtiss dennis
    2015-12-26 ramack Planned Releasebell curtiss
    2013-10-17 cadrian Planned Releaseadler bell

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code