pollShould we drop the ability to select the default attachment status of types and keep `attached by default' all the time?

Yes, it completely makes sense
100% (13 votes)
No, I want the flexibility
0% (0 votes)
Total votes: 13

Comments

I don't even know what this

berend's picture

I don't even know what this means :-)

We will soon put a page

manus_eiffel's picture

We will soon put a page explaining more in the details the rational behind the question which is related to void-safety.

If you vote no to the above

manus_eiffel's picture

If you vote no to the above question, please put a rationale. We will put the rationale behind the question tomorrow.

Bertrand's article emphasizes

ericb's picture

Bertrand's article emphasizes the fact that 'attached' should be the default. No problem with that. But at work we are very far from having converted all our 20,000 Eiffel classes to void-safety. So keeping the possibility to override this default until all our classes are void-safe would be helpful. Not indispensable, but helpful.

After more thoughts I think

ericb's picture

After more thoughts I think that we can do without the option. We have to edit the class anyway when making it void-safe. So it's probably better to avoid confusion and use the standard settings right from the start.

Indeed, it is most likely

manus_eiffel's picture

Indeed, it is most likely that whenever you compile a class in void-safe mode some changes are required. So using only one way to set defaults will help code readability by making sure everything is consistent.

Some background to the poll

manus_eiffel's picture

From Eiffel The Language, appendix C

ETL appendix C deals with change. It suggests that change in a language feature should meet two conditions: 1. ... 2. The implementors must provide a conversion mechanism for existing software. Shouldn't that apply here?

Of course we will make sure

manus_eiffel's picture

Of course we will make sure that existing code still compiles but for new code, if the change is accepted, we will simply not allow changing the default attachment status.

Syndicate content