tokiwa-software / fuzion-idioms

Idioms from https://www.programming-idioms.org implemented in the Fuzion language.
Other
3 stars 3 forks source link

add idiom 303 Array with non-default lower bound #155

Open simonvonhackewitz opened 5 months ago

michaellilltokiwa commented 4 months ago

I think there is currently no really nice way to do this in fuzion. You can create an issue for this in the fuzion repo.

simonvonhackewitz commented 4 months ago

Personally I think this is not necessary, because this is probably only used in rare cases and if so it should be easy to add a helper feature that subtracts/adds the difference.

Aside from that I think the idiom description can be easily mistaken, I think for the Java implementation the same mistake was made.

But if you think it is important I will add the issue otherwise I think this pull request can be closed.