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"

Submitted by:  Cyril Adrian <cadrian>
Submitted on:  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 Percent Complete:  0%
Assigned to:  Paolo Redaelli <Tybor> 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>
Project Administrator


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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    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.6