Michał Diner

    Michał Diner

    1 year ago
    Is there any advantage of declaring magic numbers as constant variables outside composable functions?
    gildor

    gildor

    1 year ago
    isn’t constants are inlined on compile time, so there is no difference hardcode number or use constant