Programming with Contracts in C++20 - Björn Fahller [ACCU 2019]

Описание к видео Programming with Contracts in C++20 - Björn Fahller [ACCU 2019]

#Contracts #Cpp #ACCUConf

Design by Contract is a technique to clearly express which parts of a program has which responsibilities. In the case of bugs, contracts can mercilessly point a finger at the part that violated the contract.

Contracts are coming as a language feature in C++20. I will show how they can make your interfaces clearer with regards to use, but also point out pitfalls and oddities in how contracts are handled in C++.

Writing good contracts can be difficult. I intend to give you guidance in how to think when formulating contracts, and how to design your interfaces such that good contracts can be written, because contracts have effects on interface design.

Warning: Parts of the contents are personal opinion.

-------------------------

Björn wrote his first program in 1980, and programming has been the primary source of income since 1994, mostly from writing embedded software for communications systems.

Occasionally Björn has been seen tinkering with unorthodox software constructs, pondering "what can be done with this?" He lives in Stockholm

-------------------------

-------------------------
Future Conferences:
ACCU 2019 Autumn Conference, Belfast (UK):
2019-11-11 and 2019-11-12.
ACCU 2020 Spring Conference, Bristol (UK), Marriott City Centre:
2020-03-24 to 2020-03-28.
-------------------------
ACCU Website: www.accu.org
ACCU Conference Website: conference.accu.org
ACCU Twitter: @ACCUConf
ACCU YouTube:    / accuconf  

Filmed and Edited by Digital Medium Ltd - events.digital-medium.co.uk
Contact: [email protected]

Комментарии

Информация по комментариям в разработке