en
Robert Martin

Clean Code

Értesítsen, ha a könyv hozzá lesz adva
Ennek a könyvnek az olvasásához töltsön fel EPUB vagy FB2 formátumú fájlt a Bookmate-re. Hogyan tölthetek fel egy könyvet?
  • Олжас Даировidézett4 évvel ezelőtt
    I like my code to be elegant and efficient. The

    logic should be straightforward to make it hard

    for bugs to hide, the dependencies minimal to

    ease maintenance, error handling complete

    according to an articulated strategy, and per-

    formance close to optimal so as not to tempt

    people to make the code messy with unprinci-

    pled optimizations. Clean code does one thing

    well.

    Bjarne uses the word “elegant.” That’s

    quite a word!
  • Green eyeidézett7 évvel ezelőtt
    Truth can only be found in one place: the code. Only the code can truly tell you what it does. It is the only source of truly accurate information. Therefore, though comments are sometimes necessary, we will expend significant energy to minimize them.
  • Green eyeidézett7 évvel ezelőtt
    The ideal number of arguments for a function is
    zero (niladic). Next comes one (monadic), followed
    closely by two (dyadic). Three arguments (triadic)
    should be avoided where possible. More than three
    (polyadic) requires very special justification—and
    then shouldn’t be used anyway.
  • Green eyeidézett7 évvel ezelőtt
    FUNCTIONS SHOULD DO ONE THING. THEY SHOULD DO IT WELL.
    THEY SHOULD DO IT ONLY.
  • Green eyeidézett7 évvel ezelőtt
    If a function does only those steps that are one level below the stated name of the function, then the function is doing one thing.
  • Green eyeidézett7 évvel ezelőtt
    The length of a name should correspond to the size of its scope
fb2epub
Húzza és ejtse ide a fájljait (egyszerre maximum 5-öt)