Join Slack
Powered by
Is there any advantage of declaring magic numbers ...
# compose
m
Michał Diner
07/29/2021, 7:44 AM
Is there any advantage of declaring magic numbers as constant variables outside composable functions?
🤔 1
g
gildor
07/29/2021, 7:57 AM
isn’t constants are inlined on compile time, so there is no difference hardcode number or use constant
30
Views
Open in Slack
Previous
Next