issues
search
SolarLiner
/
bevy-kira-components
Experimental Bevy <-> Kira integration crate
https://solarliner.dev/bevy-kira-components/bevy_kira_components/
MIT License
9
stars
6
forks
source link
refactor: rename consts from NUM_ prefix to _COUNT suffix
#7
Closed
mgi388
closed
6 months ago
mgi388
commented
6 months ago
Description
Bevy generally seems to prefer
_COUNT
vs
NUM_
(approx 68 vs 9) and also uses
_count
for its existing diagnostics, e.g. see
https://github.com/bevyengine/bevy/blob/320ac65a9e0b1a6a510749e87a32368a412785a0/crates/bevy_diagnostic/src/entity_count_diagnostics_plugin.rs#L22
On a personal note, I find the _count form easier to read, and it has the benefit of not needing to deal with plurals
Description
_COUNT
vsNUM_
(approx 68 vs 9) and also uses_count
for its existing diagnostics, e.g. see https://github.com/bevyengine/bevy/blob/320ac65a9e0b1a6a510749e87a32368a412785a0/crates/bevy_diagnostic/src/entity_count_diagnostics_plugin.rs#L22