Hirdetés

Új hozzászólás Aktív témák

  • proof88

    addikt

    Vicces Ada beadandót írni, egyből belefutok abba, hogy szeretnék többsoros kommentet. Gugliztam, találtam egy Pythonos levelezést, részlet:
    Hi I have two questions. (...)? I find that annoying. Also, why aren't there
    multiline comments? Would adding them cause a problem of some sort?

    Thanks,
    Elliot

    Részlet válaszból:
    Personally, I think anyone who has two variables whose names differ
    only in case should be shot. No, let me extend that - anyone who has
    two variables whose names would be pronounced the same should be
    shot
    . I've had to debug such code, and it ain't fun.

    Variables whose name differs from the class they are instance of only
    in case is the only allowable exception. And should be used with care.

    On the same note, anyone who spells a variable name with different
    cases because the languge is case-insensitive should be shot. I want
    to be able to use various source analysis tools without having to
    worry about dealing with two different ascii strings being names for a
    single variable. :D
    Mondjuk igaza van. :U

Új hozzászólás Aktív témák