JuliaQuantumControl / QuantumPropagators.jl

Propagators for Quantum Dynamics and Optimal Control
https://juliaquantumcontrol.github.io/QuantumPropagators.jl/
MIT License
16 stars 4 forks source link

Refactor to add underscores to method names #35

Closed goerz closed 1 year ago

goerz commented 1 year ago

The old names were based on the Julia Style Guide recommendation to name methods with "multiple words squashed together". I've come to regard this as a very bad idea. To quote the JuMP style guide, "This convention creates the potential for unnecessary bikeshedding and also forces the user to recall the presence/absence of an underscore, e.g., "was that argument named basename or base_name?". For consistency, always use underscores in variable names and function names to separate words.