DAY 14

🔖 오늘 읽은 범위 : QUIZ


  1. Is better to write code that does not need comments.

    True

    False

  2. We write comments when we fail to communicate using only our code.

    True

    False

  3. We should try to minimize comments as much as possible by writing better code.

    True

    False

  4. The best place to find information about the code is should be the code itself rather than comments.

    True

    False

  5. Where should we declare our variables in a function?

    At the top of the function.

    Only just before we use them.

  6. If one function calls another, they should be vertically close.

    True

    False

  7. A function that is called should be below a function that does the calling.

    True

    False

  8. What does DTO mean?

    Data Transfer Object

    Date Time Object

  9. When do we use DTOs?

    When working with DBs or parsing WebSocket messages.

    When publishing and transferring our code.

  10. Objects expose functions to operate in their data.

    True

    False