Closed AtiyahElsheikh closed 2 years ago
I don't think I understand what you mean. Do you want to automatise snake_case/camelCase?
Yes to automatically generate separate code with consistent / desired coding conventions? without modifying the input code
I know that some Ruby projects do that, but that seems like an awful lot of effort for something that's really only cosmetics. Can't we just adopt the "official" Julia style (which is basically what you have in your design document and what Agents.jl does as well)? Or if you really, really want camelCase go with that everywhere?
The source of mixture is because only recently I started to see that it makes sense to follow Agents.jl coding style. However, since both of us are comfortable with camelCase, then I would keep it this way, i.e doDeaths, removeDead! etc..
The proposed solution is that, whenever one sees underscore, e.g. kill_agents(*), one precieve it as a function coming from external package. I would then attempt to put the following comment into such code:
....
kill_agents(*) # from Agents.jl
....
My preference is: Julia/agents.jl style > camelCase everywhere > style dependent on external/internal
But that's not a hill I'm going to die on, so if you strongly prefer style dependent on external/internal then let's do that.
I don't have control over Agents.jl If there are easy solutions, I am open for it.
I feel the task of enhancing a package X with code like
with an additional package Y that reads X and generates
Is somehow manageable? what do you think?
related to issue #16