¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

Chapter 6 Fruitful Functions

Usuario eliminado El usuario ha eliminado su información de asignaturas Inglés 12 fichas

Fichas del conjunto (12)

  1. 1Boolean FunctionA function that returns a Boolean value. The only possible values of the bool type are False and True.
  2. 2Chatterbox FunctionA function which interacts with the user (using input or print) when it should not. Silent functions that just convert their input arguments into their output results are usually the most useful ones.
  3. 3Composition (of functions)Calling one function from within the body of another, or using the return value of one function as an argument to the call of another.
  4. 4Dead CodePart of a program that can never be executed, often because it appears after a return statement.
  5. 5Fruitful FunctionA function that yields a return value of None.
  6. 6Incremental DevelopmentA program development plan intended to simplify debugging by adding and testing only a small amount of code at a time.
  7. 7NoneA special Python value. One use in Python is that it is returned by functions that do not execute a return statement with a return argument.
  8. 8Return ValueThe value provided as the result of a function call.
  9. 9ScaffoldingCode that is used during program development to assist with development and debugging. The unit test code that we added in this chapter are examples of scaffolding.
  10. 10Temporary VariableA variable used to store an intermediate value in a complex calculation.
  11. 11Test SuiteA collection of tests for some code you have written.
  12. 12Unit TestingAn automatic procedure used to validate that individual units of code are working properly. Having a test suite is extremely useful when somebody modifies or extends the code: it provides a safety net against going backwards by putting new bugs into previously working code. The term regression testing is often used to capture this idea that we don't want to go backwards.

Información

Descripción
El usuario ha eliminado su información de asignaturas Fichas sobre Chapter 6 Fruitful Functions, creado por Usuario eliminado el 22/09/2016.
Creado por
Usuario eliminado · sep 2016
Actualizado
14 dic 2016
Visitas
44
Historial
  • Creado por Troy Bowlin · 18 may 2016
  • Copiado por Troy Bowlin · 22 sep 2016
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?