Browse in : |
All
> Topics
> Programming All > Topics > Design All > Journals > Overload > o118 All of these categories |
- Options:
- View Article Map
- View Archives
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Deconstructing Inheritance
Bob Schmidt
05 April 2020 19:09:30 +01:00
Inheritance can be overused. Lucian Radu Teodorescu considers how it can go wrong and the alternatives.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Do Repeat Yourself
Bob Schmidt
05 June 2019 19:18:34 +01:00
Software developers are well aware of the ‘DRY Principle’. Lucian Radu Teodorescu investigates when this common wisdom does not always hold.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Don’t Use std::endl
Bob Schmidt
02 February 2019 16:52:53 +00:00
How do you add a new line in C++? Chris Sharpe suggests std::endl is a tiny utility that’s more trouble than it’s worth.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Diseconomies of Scale
Bob Schmidt
07 December 2018 16:48:13 +00:00
Bigger is not always better. Allan Kelly considers when smaller is more productive.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Don’t Assume Any Non-Zero exit() Will Fail!
Bob Schmidt
06 July 2018 17:13:44 +01:00
Silas S. Brown shares his finding on process exit codes.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
doctest – the Lightest C++ Unit Testing Framewor
Martin Moene
03 February 2017 15:57:47 +00:00
C++ has many unit testing frameworks. Viktor Kirilov introduces doctest.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Determinism: Requirements vs Features
Martin Moene
06 October 2016 21:12:15 +01:00
A program can easily be non-deterministic. Sergey Ignatchenko considers how to define determinism.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Debugging – What Has Changed in the Last Decade?
Martin Moene
03 July 2016 20:57:24 +01:00
Neil Horlock travels through time in search of bugs.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Dogen: The Package Management Saga
Martin Moene
07 June 2016 13:20:03 +01:00
How do you manage packages in C++? Marco Craveiro eventually discovered Conan after some frustrating experiences.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Deterministic Components for Distributed Systems
Martin Moene
04 June 2016 14:32:53 +01:00
Non-deterministic data leads to unstable tests. Sergey Ignatchenko considers when this happens and how to avoid it.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Defining Concepts
Martin Moene
06 February 2016 18:47:45 +00:00
Concepts provide a new way of constraining code. Andrew Sutton shows us how to define and use them.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Don’t Design for Performance Until It’s Too Late
Martin Moene
03 August 2015 13:15:39 +01:00
People claim optimisation can cause unreadable code. Andy Balaam argues good performance should be at the core of code design.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Delayed Copy Pattern
Martin Moene
06 January 2015 21:36:39 +00:00
Vassili Kaplan presents some techniques for making efficient use of the STL containers in C++.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Designing Observers in C++11
Martin Moene
04 December 2014 19:07:40 +00:00
The observer pattern is over two decades old. Alan Griffiths fits a venerable design pattern into a contemporary context.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Debuggers Are Still For Wimps
Martin Moene
04 November 2014 18:52:12 +00:00
Frances Buontempo shows how to remote debug python from Visual Studio.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Debug Complexity: How Assertions Affect Debugging Time
Martin Moene
07 October 2014 21:41:16 +01:00
Debugging any program can be time consuming. Sergey Ignatchenko and Dmytro Ivanchykhin extend their mathematical model to consider the effect of assertions.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Defining Visitors Inline in Modern C++
Martin Moene
04 October 2014 21:56:17 +01:00
The Visitor pattern can involve non-local boilerplate code. Robert Mill and Jonathan Coe present an inline Visitor in C++.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Does Test-Driven Development Harm Clarity?
Martin Moene
05 August 2014 16:05:50 +01:00
Is clarity the key thing to aim for when writing software? Andy Balaam considers if TDD harms clarity and if this matters.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Dynamic C++ (Part 2)
Martin Moene
02 August 2013 18:04:56 +01:00
Previously we saw how to use some simple dynamic features in C++. Alex Fabijanic and Richard Saunders explore more powerful dynamic tools.
Note: when you create a new publication type, the articles module will automatically use the templates user-display-[publicationtype].xt and user-summary-[publicationtype].xt. If those templates do not exist when you try to preview or display a new article, you'll get this warning :-) Please place your own templates in themes/yourtheme/modules/articles . The templates will get the extension .xt there.
Demons May Fly Out Of Your Nose
Martin Moene
04 June 2013 18:09:57 +01:00
Language standards give guarantees about valid program behaviour. Olve Maudel discovers what happens if you break your end of the bargain.