Hi Eric,
Thanks for your answer.
On Fri, 05 Dec 2008 19:49:04 +0100, Eric Bezault <
[hidden email]>
wrote:
>> a) I wish that 'last_string' (of "input streams") is renamed to
>> 'read_string_buffer' (or 'last_string_buffer') and a new 'last_string'
>> returns 'read_string_buffer.twin'. I have seen too many poor souls trip
>> over this one.
>
> It has been implemented like that in Gobo to be compatible
> with EiffelBase. I agree with you that it is not intuitive.
> I'll change it when/if it is changed in EiffelBase.
I think GOBO always tried to be better than EiffelBase, fixing its
problems. All it does is to disarm a well-known trap when coding. I cannot
imagine that people are relying on the fact that 'last_string' is the
actual read buffer.
>> (now the big wish)
>>
>> b) I wish that the 'put_*' implementations of dynamic data structure
>> really start behaving dynamically, even if they are implemented using
>> static containers. They should behave the same way that 'force_*' does.
>> The current behavior of 'put_*' is renamed ot 'brittle_put_*' or
> similar.
>>
>> Both points are common pitfalls. The thing that everybody is always
> using
>> 'force_*' instead of 'put_*', just to prevent problems, is ugly and
> feels
>> strange. It also makes changing back and forth between ISE and GOBO very
>> difficult.
>
> I do use `put_*'. For what it's worth, I do believe that EiffelBase's
> usage of `put' and `force' is inconsistent. In some classes it means
> something, in other classes it means something else.
That is my main reason to use GOBO (though it has many other benefits):
that GOBO has cleaned up the meaning of features and made them consistent.
This is great and clearly has been a huge effort. I love GOBO for that.
> In Gobo I tried
> to make it more consistent through out the whole library. In particular
> it is consistent with ARRAY. I'll be happy to rename `put' to something
> else (if only you provide more attractive names than the one you
> suggested), and `force' to `put' if this is done that way as well in
> a consistent way in EiffelBase (including in ARRAY). In the meantime,
> I much prefer to keep it like it is in Gobo.
(For my understanding, a DS_ARRAYED_LIST is not an ARRAY, there is no need
for consistency. I am probably not seeing the problem.)
I accept your final word here. You have walked the way, I did not.
> Bernd, you should stop believing in Santa Claus.
I never believed in Santa Claus (the tradition in our family is different).
I probably should have opened this discussion in a different way, or just
not opened it at all. Sorry about that. I will keep my mouth shut and just
'force' my way through GOBO.
Bernd
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/_______________________________________________
gobo-eiffel-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gobo-eiffel-develop