What's your experience with using % for accessing object members?

@aerosayan that’s a long standing issue that I also have with Fortran. I created an issue with many ideas here:

Some prior discussion at Discourse here and here.

You are bringing some other good ideas to use either -> or :: both of which I also feel are more readable.

Now when LFortran has a full parser (beta quality), we can try some of these ideas and see if it is possible to implement it robustly. I think just using . is the best, but it’s a bit tricky to implement, see the issue.

2 Likes