Code Review: Strongly Typed Accessor Function

TLDRThis video is a code review discussing options for the return type of a strongly typed accessor function, including the use of auto, trailing return type, and manually specifying the return type.

Key insights

🔍There are different options for the return type of a strongly typed accessor function

⚙️Option a: Using auto for return type deduction

🔡Option b: Using trailing return type

✍️Option c: Manually specifying the return type

Q&A

What are the options for the return type of a strongly typed accessor function?

The options include using auto for return type deduction, trailing return type, or manually specifying the return type.

Which option is the most popular among developers?

Option a, using auto for return type deduction, is the most popular option.

Which option is the least popular among developers?

Trailing return type (option b) is the least popular option.

Timestamped Summary

13:16The speaker explains the different options for the return type of a strongly typed accessor function.

14:38The audience votes on their preferred option for the return type.

15:30The speaker discusses the results of the voting.