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

Naming scheme #2

Open
jakobbossek opened this issue Jun 1, 2021 · 1 comment
Open

Naming scheme #2

jakobbossek opened this issue Jun 1, 2021 · 1 comment
Labels
interface Naming scheme for variables, functions etc.

Comments

@jakobbossek
Copy link
Owner

In ecr v2.0 function names were in camelCase. Now we switch to snake_case with all-lowercase letters. IMHO this is much more readable and less error-prone. Nevertheless, a lot of thoughts should be put into this issue to come up with a harmonic overall solution.

@jakobbossek jakobbossek added the interface Naming scheme for variables, functions etc. label Jun 1, 2021
@jakobbossek
Copy link
Owner Author

jakobbossek commented Jun 4, 2021

  • mut_* for mutation operators
  • cx_* for recombination/crossover operators
  • sel_* for selectors
  • plot_* for plots
  • ind_* for indicator? or rather get_indicator_*? Maybe the latter is better. We can still offer shortcut alias, e.g. r1 for get_indicator_r1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interface Naming scheme for variables, functions etc.
Projects
None yet
Development

No branches or pull requests

1 participant