Journal Articles

Programming Topics or Student Code Critiques from CVu journal.
Browse in : 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.

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.

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.

Musings on Python – by a C++ Developer

Martin Moene

04 August 2014 16:10:10 +01:00

Python and C++ are very different languages. Sergey Ignatchenko walks through things in Python that can confuse a C++ programmer.

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.

Activatable Object

Martin Moene

03 August 2014 19:30:42 +01:00

Using locks will slow down threaded code. Len Holgate demonstrates how an Activatable Object can reduce the time spent blocked.

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.

KISSing SOLID Goodbye

Martin Moene

02 August 2014 19:38:51 +01:00

Can you remember what SOLID stands for? Chris Oldwood distills it down to two easy to remember principles.

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.

TDD Discussions and Disagreements

Martin Moene

01 August 2014 19:47:09 +01:00

Recently people have been arguing about the benefits and pitfalls if TDD. Seb Rose summarises the differing standpoints and presents his own.

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.

Branching Strategies

Martin Moene

05 June 2014 07:11:00 +01:00

Branching can either be embraced or avoided. Chris Oldwood documents the pros and cons of three main branching strategies.

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.

Beauty in Code

Martin Moene

04 June 2014 07:15:36 +01:00

Attractiveness matters. Adam Tornhill uses a Clojure example to show how generalisation can be more beautiful than special cases.

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 Code Is Not the Most Important Thing

Martin Moene

03 June 2014 18:48:21 +01:00

Choose the right sort of problem, focus on strategies for solving it, and the code will come easily. Seb Rose teaches kids to 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.

Stop the Constant Shouting

Martin Moene

02 June 2014 18:54:11 +01:00

CONSTANTS often shout. Jonathan Wakely considers why this happens in C and what the alternatives are in C++.


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