• Anomandaris@kbin.social
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    1 year ago

    I don’t know if I’d go that far. If you’re talking about a quick script then sure, whatever gets the job done. But for any actual project the use of good, consistent typing does a lot for readability and future-proofing. And in strongly-typed languages it can have a notable affect on the overall functionality too.

    If you can’t tell from context whether something is a float or if it’ll overflow the int max then you probably need to re-think the entire method.