This makes it easier to print out multiple things at the same time without needing to do a bunch of string concatenation

Easy way you can remember it is thinking s for space and t for tab. When you want to print normally just call print. Otherwise add s for space or t for tab on the end of the function for the separators.

  • OwlPaste@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    27 days ago

    Yeah that seems weird don’t it Personally i find a custom logger useful in my projects and not just because of this print weirdness.