Journal Articles

CVu Journal Vol 30, #2 - May 2018 or Programming Topics or Student Code Critiques from CVu journal.
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.

Faking C Function with fff.h

Martin Moene

03 February 2015 17:07:46 +00:00

Faking functions for testing in C can ease testing. Mike Long overviews a micro-framework for mocking.

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.

Letter to the Editor

Martin Moene

01 February 2015 17:00:16 +00:00

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.

Simplicity Through Immutability

Martin Moene

08 January 2015 21:38:28 +00:00

Chris Oldwood considers the benefits of unchangeable data.

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.

Advice for the Young at Heart

Martin Moene

07 January 2015 21:35:41 +00:00

Pete Goodliffe offers sage advice, and asks you to do the same.

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.

Const and Concurrency (part 2)

Martin Moene

05 January 2015 21:37:39 +00:00

Ralph McArdell continues musing on comments to Herb Sutter’s updated GotW #6b solution.

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.

Non-Superfluous People: Testers

Martin Moene

04 December 2014 19:10:36 +00:00

Software development needs a team of supporting players. Sergey Ignatchenko takes a look at the role of professional testers.

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.

Order Notation in Practice

Martin Moene

03 December 2014 19:18:12 +00:00

What does complexity measurement mean? Roger Orr reminds us of the academic definition and looks at some real life situations.

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.

Testing Drives the Need for Flexible Configuration

Martin Moene

01 December 2014 19:28:31 +00:00

Inflexible configuration will cause problems. Chris Oldwood demonstrates how to support multiple configurations flexibly.

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.

Const and Concurrency (Part 1)

Martin Moene

07 November 2014 15:36:22 +00:00

Ralph McArdell comments on comments to Herb Sutter’s updated GotW #6b solution.

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.

Parsing Configuration Files in C++ with Boost

Martin Moene

06 November 2014 18:49:36 +00:00

Giuseppe Vacanti describes how to deal with program options, C++ style.

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.

Perl is a Better Sed, and Python 2 is Good

Martin Moene

05 November 2014 07:07:56 +00:00

Silas S. Brown sweats the differences between tools on common platforms.

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.

Code Critique Competition 90

Martin Moene

02 November 2014 21:04:36 +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.

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.

Alternative Overloads

Martin Moene

06 October 2014 21:50:13 +01:00

How do you return a default value given a condition? Malcolm Noyes presents solutions using older and newer C++ techniques.

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.

Everyone Hates build.xml

Martin Moene

05 October 2014 21:52:51 +01:00

Using Ant build tool can be tricky. Andy Balaam shows how to structure and test the build 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.

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.

Paper Bag Escapology Using Particle Swarm Optimisation

Martin Moene

02 October 2014 22:20:39 +01:00

Some attempts at programming one’s way out of a paper bag need an upfront model. Frances Buontempo simplifies things using particle swarm optimisation.


  |<   <<   11   12   13   14   15   16   17   18   19   20   >>   >|
Sort by Date Title