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 Jun 7 09:38:39 2013  
Should Start On: Thu Jun 6 22:00:00 2013Should be Finished on: Thu Jun 6 22:00:00 2013
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 Jun 7 09:38:39 2013, 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 Dec 26 22:56:09 2015ramackPlanned Releasebell=>curtiss
    Thu Oct 17 10:59:25 2013cadrianPlanned Releaseadler=>bell

    Back to the top

    Powered by Savane 3.1-cleanup1