Skip to content

Introduce a section on best practices #78

@theanalyst

Description

@theanalyst

Since this is a fairly generic idea, for starts we could introduce a simple slide linking to Core Guidelines (https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines). Maybe we could cherry-pick a few guidelines that are commonly considered good, for eg:

  • Interfaces -I.3 (singletons) as well as I.11 & I.13 (avoid raw_ptr ownership transfer, avoid passing arrays without length)
  • Errors - E.6 use RAII
  • Classes - C.131 Avoid trivial getters/setters

(Fairly opinionated list ;)

Metadata

Metadata

Assignees

Labels

EssentialsContent for the "essentials" course

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions