Journal Articles
Browse in : |
All
> Journals
> CVu
> 302 (12)
All > Topics > Programming (877) All > Journal Columns > Code Critique (70) 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.
Type Mosaicing with Consultables and Delegates
Martin Moene
05 December 2015 09:40:18 +00:00
If several classes need to work together lots of boilerplate code is often needed. Nicolas Bouillot introduces type mosaicing to avoid this.
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.
The Universality and Expressiveness of std::accumulate
Martin Moene
04 December 2015 09:43:44 +00:00
Folding is a highly generic operation available through std::accumulate. Paul Keir goes beyond reduction, with the help of C++14’s polymorphic lambdas.
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.
QM Bites – The two sides of Boolean Parameters
Martin Moene
03 December 2015 09:46:25 +00:00
Boolean parameters are tempting but make life difficult. Matthew Wilson advises us to avoid them (almost) all the time.
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.
Identify your Errors better with char[]
Martin Moene
02 December 2015 09:48:19 +00:00
Error codes still get used instead of exceptions. Patrick Martin and Dietmar Kühl consider how to use char arrays for better information.
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.
CPU Clocks and Clock Interrupts, and Their Effects on Schedulers
Martin Moene
01 December 2015 09:50:15 +00:00
Instructions to sleep for a second almost never result in precisely one second’s sleep. Bob Schmidt walks us through the mechanics of why.
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.
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.
Building C & C++ CLI Programs with the libCLImate Mini-framework
Martin Moene
08 November 2015 08:55:43 +00:00
Matthew Wilson presents a framework for simplifying CLI programs.
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.
Raspberry Pi Linux User Mode GPIO in C++ (Part 3)
Martin Moene
07 November 2015 08:59:34 +00:00
Ralph McArdell demonstrates the library with two peripherals on the Pi.
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.
One Definition Rule
Martin Moene
06 November 2015 09:05:10 +00:00
Roger Orr explains an often misunderstood aspect of 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.
Functional Programming in C++
Martin Moene
05 November 2015 09:07:10 +00:00
Richard Falconer reports on an ACCU talk by Kevlin Henney.
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.
Code Critique Competition 96
Martin Moene
04 November 2015 09:11:52 +00:00
Set and collated by Roger Orr. A book prize is awarded for the best entry.
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.
Introducing Concepts
Martin Moene
04 October 2015 22:19:14 +01:00
Concepts in C++11 had many false starts. Andrew Sutton show why they are a big deal now they are with us.
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.
Building and Running Software on an Ubuntu Phone
Martin Moene
03 October 2015 22:20:50 +01:00
Many of us has a smartphone. Alan Griffiths shows us how to hack an Ubuntu Touch phone.
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.
Password Hashing: Why and How
Martin Moene
02 October 2015 22:22:01 +01:00
Password hashing is important. Sergey Ignatchenko explains how to do it properly.
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.
An Inline-variant-visitor with C++ Concepts
Martin Moene
01 October 2015 22:22:58 +01:00
Concepts are abstract. Jonathan Coe and Andrew Sutton provide us with a concrete example of their use.
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.
Refactoring Guided by Duplo
Martin Moene
11 September 2015 06:58:59 +01:00
Thaddaeus Frogley gets to grips with duplicated code.
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.
Ode to the BBDB
Martin Moene
10 September 2015 07:01:13 +01:00
Silas S. Brown remembers different ways of managing email contacts.
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.
Anatomy of a CLI Program written in C++
Martin Moene
09 September 2015 07:04:15 +01:00
Matthew Wilson dissects a small program to examine its gory details.
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.
The Cat’s Meow
Martin Moene
08 September 2015 07:06:20 +01:00
Gail Ollis reports from the App-a-thon World Record attempt.
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.
Raspberry Pi Linux User Mode GPIO in C++ (Part 2)
Martin Moene
06 September 2015 07:14:58 +01:00
Ralph McArdell continues developing a C++ library for Raspberry Pi expansions.