• Warl0k3@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    4 days ago

    The compiler/interpreter/etc will convert it to the most efficient implementation regardless of what you the human type. If you’re used to the if [boolean] convention use that, if you’re used to if [boolean] == true use that, it does not matter except to style commissars.