• kryptonianCodeMonkey@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    5 months ago

    Tabs should be 4 spaces because it can be replaced 1:1 with “tabs”.

    For example…

    def foo():
        if bar:
            foobar()
    

    vs…

    def foo():
    tabsif bar:
    tabstabsfoobar()
    

    Put that in your code review, cowards!