C++ User Group
Mittwoch, 10. Juli 2024 -
14:00
Montag, 8. Juli 2024
Dienstag, 9. Juli 2024
Mittwoch, 10. Juli 2024
14:00
Welcome & Introduction
-
Matthias Kretz
(
GSI Helmholtzzentrum für Schwerionenforschung GmbH(GSI)
)
Welcome & Introduction
Matthias Kretz
(
GSI Helmholtzzentrum für Schwerionenforschung GmbH(GSI)
)
14:00 - 14:05
Room: C27 3.010 - C27 Ebene 3
Setting expectations
14:05
Preconditions: good or bad, necessary or dangerous ... and why?
-
Matthias Kretz
(
GSI Helmholtzzentrum für Schwerionenforschung GmbH(GSI)
)
Preconditions: good or bad, necessary or dangerous ... and why?
Matthias Kretz
(
GSI Helmholtzzentrum für Schwerionenforschung GmbH(GSI)
)
14:05 - 15:00
Room: C27 3.010 - C27 Ebene 3
Preconditions are the conditions under which a function/operation can be called. If a precondition is violated all things are possible (UB). The effects of hitting UB can be fatal. So why are there people that insist on preconditions (narrow contract) over functions that handle all erroneous inputs (wide contract). And what can you do to guard against coding errors that violate preconditions? And what's all this talk about Contracts in C++? Style: Discussion. No slides. Live hacking.