bookmate game

Nash Maverick

Citat

DDaudalagidhar citeratför 6 månader sedan
To avoid code duplication, we should follow the DRY principle and extract common code segments into functions or methods.
DDaudalagidhar citeratför 6 månader sedan
In addition to the `try` and `except` blocks, there is also a `finally` block that can be used to specify code that should always be executed, regardless of whether an exception was raised.
DDaudalagidhar citeratför 6 månader sedan
In addition to handling exceptions, you can also raise your own exceptions when necessary. This can be useful for indicating that something unexpected has happened in your code

Intryck

DDaudalagiddelade ett intryckför 6 månader sedan
👍Värt att läsa

Conciso

  • Nash Maverick
    Python Clean Code
    • 5
    • 9
    • 1
    en
    Böcker
  • fb2epub
    Dra och släpp dina filer (upp till fem åt gången)