Robert Martin

Clean Code

Notify me when the book’s added
To read this book, upload an EPUB or FB2 file to Bookmate. How do I upload a book?
  • Dimitrije Balabanovichas quoted2 years ago
    we can accept for granted that responsible professionals give some time to thinking and planning at the outset of a project
  • Олжас Даировhas quoted3 years ago
    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 eyehas quoted7 years ago
    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 eyehas quoted7 years ago
    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 eyehas quoted7 years ago
    FUNCTIONS SHOULD DO ONE THING. THEY SHOULD DO IT WELL.
    THEY SHOULD DO IT ONLY.
  • Green eyehas quoted7 years ago
    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 eyehas quoted7 years ago
    The length of a name should correspond to the size of its scope
fb2epub
Drag & drop your files (not more than 5 at once)