The Obvious Final Step -- Andrzej Krzemieński
During the construction of an XML file when you write an element, it is obvious that the last thing that you do is to write the closing tag. By obvious we mean: writing it down adds no new information (there is no other possible final instruction for this task), and it would be a bug if this instruction wasn’t there.
The Obvious Final Step
by Andrzej Krzemieński
From the article:
The title may be misleading, as I had to invent a new short term for the pattern that occurs in the code once in a while. Example first:
// write an element of an XML file xml.begin_element("port"); xml.attribute("name", name); xml.attribute("location", loc); xml.end_element("port"); // <-- the obvious final step

In a previous
Registration is now open for CppCon 2023! The conference starts on October 1 and will be held
Every year we run Pure Virtual C++: a free one-day virtual conference for the whole C++ community. Next month we’re doing it again!
This conference is organized by the C++ Community for the C++ Community. We want the whole community to be represented. We especially encourage those who identify as coming from an underrepresented community to apply to present and to be present. Presenting a talk is not limited to previous presenters or previous attendees.
The submission deadline is June 25th, with decisions sent by July 31st.
Registration is now open for CppCon 2023! The conference starts on October 1 and will be held