tokiwa-software / fuzion-idioms

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

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

Open simonvonhackewitz opened 2 weeks ago

michaellilltokiwa commented 1 week 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 1 week 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.