• Fushuan [he/him]
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    We got that in python too!

    your_mom = "the best" if i_got_icecream() else "just good"

    Edit: on a more serious note, I’m not sure if python’s syntax helps with readability, in the real world everyone indents or you won’t really keep your job, and I’ve read some really shitty python code anyway, indented or not.

    If a c/++/js/whatever file is unreadable, grab your favourite flavour of autoformatter and run it to read the thing, but shitty naming won’t get fixed by that.