Multi-Paradigm Programming with Modern C++ - What Makes a Good Function

Multi-Paradigm Programming with Modern C++ - What Makes a Good Function

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial discusses the importance of functions in C programming, emphasizing that good functions perform a single logical operation and should be kept small. It highlights the common issue of large functions leading to technical debt and provides strategies for refactoring them into smaller, more manageable pieces. The tutorial also introduces new C features like span and string view, and demonstrates how to organize functions into a class structure. Finally, it offers guidelines for naming functions effectively, stressing the importance of descriptive and consistent naming conventions.

Read more

1 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What new insight or understanding did you gain from this video?

Evaluate responses using AI:

OFF