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 UTCShould be Finished on: Thu 06 Jun 2013 10:00:00 PM UTC
Category: Kernel librariesPriority: 5 - Normal
Status: NonePercent Complete: 0%
Assigned to: Paolo Redaelli <Tybor>Open/Closed: Open
Fixed Release: NonePlanned Release: curtiss
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
  • -unavailable- added by ramack (Updated the item)
  • -unavailable- added by cadrian (Submitted the item)

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 26 Dec 2015 10:56:09 PM UTCramackPlanned Releasebell=>curtiss
    Thu 17 Oct 2013 10:59:25 AM UTCcadrianPlanned Releaseadler=>bell

    Back to the top

    Powered by Savane 3.1-cleanup1