BEGIN:VCALENDAR
X-ORIGINAL-URL:http://channel9.msdn.com/Events/GoingNative/GoingNative-2012/Keynote-Bjarne-Stroustrup-Cpp11-Style
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
DESCRIPTION;LANGUAGE=en:We know how to write bad code: litter our programs with casts\, macros\, pointers\, naked new and deletes\, and complicated control structures. Alternatively (or additionally)\, we could obscure every design decision in a mess of deeply nested abstractions using the latest object-oriented programming and generic programming tricks. Then\, for good measure\, we might complicate our algorithms with interesting special cases. Such code is incomprehensible\, unmaintainable\, usually inefficient\, and not uncommon. But how do we write good code? What principles\, techniques\, and idioms can we exploit to make it easier to produce quality code? In this presentation\, I make an argument for type-rich interfaces\, compact data structures\, integrated resource management and error handling\, and highly-structured algorithmic code. I illustrate my ideas and guidelines with a few idiomatic code examples. I use C&#43\;&#43\;11 freely. Examples include auto\, general constant expressions\, uniform initialization\, type aliases\, type safe threading\, and user-defined literals. C&#43\;&#43\;11 features are only just starting to appear in production compilers\, so some of my suggestions are conjecture. Developing a &quot\;modern style\,&quot\; however\, is essential if we don't want to maintain newly-written 1970s and 1980s style code in 2020. This presentation reflects my thoughts on what &quot\;Modern C&#43\;&#43\;&quot\; should mean in the 2010s: a language for programming based on light-weight abstraction with direct and efficient mapping to hardware\, suitable for infrastructure code.
LOCATION;LANGUAGE=en:
SUMMARY;LANGUAGE=en:Day 1 Keynote - Bjarne Stroustrup: C++11 Style
CONTACT;LANGUAGE=en:Bjarne Stroustrup
UID:Code: 
X-ALT-DESC;FMTTYPE=text/html:<p>We know how to write bad code: litter our programs with casts, macros, pointers, naked new and deletes, and complicated control structures. Alternatively (or additionally), we could obscure every design decision in a mess of deeply nested abstractions using the latest object-oriented programming and generic programming tricks. Then, for good measure, we might complicate our algorithms with interesting special cases. Such code is incomprehensible, unmaintainable, usually inefficient, and not uncommon.</p><p>But how do we write good code? What principles, techniques, and idioms can we exploit to make it easier to produce quality code? In this presentation, I make an argument for type-rich interfaces, compact data structures, integrated resource management and error handling, and highly-structured algorithmic code. I illustrate my ideas and guidelines with a few idiomatic code examples.</p><p>I use C&#43;&#43;11 freely. Examples include auto, general constant expressions, uniform initialization, type aliases, type safe threading, and user-defined literals. C&#43;&#43;11 features are only just starting to appear in production compilers, so some of my suggestions are conjecture. Developing a &quot;modern style,&quot; however, is essential if we don't want to maintain newly-written 1970s and 1980s style code in 2020.</p><p>This presentation reflects my thoughts on what &quot;Modern C&#43;&#43;&quot; should mean in the 2010s: a language for programming based on light-weight abstraction with direct and efficient mapping to hardware, suitable for infrastructure code.</p>
DTSTART;VALUE=DATE-TIME:20120202T173000Z
DTEND;VALUE=DATE-TIME:20120202T190000Z
END:VEVENT
END:VCALENDAR
