Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with formatter(s) #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PallHaraldsson
Copy link
Contributor

@PallHaraldsson PallHaraldsson commented Sep 11, 2019

Yes, you're more strict than Julia's style guide, that has this line:

for i = firstindex(a):lastindex(a)

and contradicts Karpinski's reasoning here: domluna/JuliaFormatter.jl#34

I'm not sure I agree, but it's not good if the formatter generates style incompatible with guide(s). Your guide was updated in 2018 to reflect JuMP's but I at least didn't locate wording on this (yet) there.

Yes, you're more strict than Julia's style guide, that has this line:

for i = firstindex(a):lastindex(a)
uur guide
and Karpinski's reasoning here: domluna/JuliaFormatter.jl#34

I'm not sure I agree, but it's not good if the formatter generates style incompatible with guide(s). Your guide was updated in 2018 to reflect JuMP's but I at least didn't locate wording on this (yet) there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant