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.

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.

Eight Rooty Pieces

Martin Moene

05 October 2016 21:13:48 +01:00

Finding a square root is a common interview question. Patrick Martin demonstrates eight different ways to find a root.

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.

Polymorphic Comparisons

Martin Moene

04 October 2016 21:17:05 +01:00

Polymorphic comparisons require much boilerplate. Robert Mill and Jonathan Coe introduce a template utility for such comparisons.

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.

C++ Synchronous Continuation Passing Style

Martin Moene

03 October 2016 21:18:23 +01:00

Direct and continuation passing styles differ. Nick Weatherhead explains a continuation passing style for synchronous data flow.

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.

Attacking Licensing Problems with C++

Martin Moene

02 October 2016 21:19:35 +01:00

Software licenses are often crackable. Deák Ferenc presents a technique for tackling this problem.

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.

Home-Grown Tools

Martin Moene

09 September 2016 16:11:36 +01:00

Chris Oldwood turns to custom tools when off the shelf won’t do.

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.

Why Floats Are Never Equal

Martin Moene

08 September 2016 16:14:05 +01:00

Silas S. Brown tries his hand at optimising floating point equality comparisons.

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.

Smarter, Not Harder

Martin Moene

07 September 2016 16:15:20 +01:00

Pete Goodliffe tries to solve the right problems the right way.

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 Introduction to OpenMP

Martin Moene

06 September 2016 16:16:39 +01:00

Silas S. Brown dabbles in multiprocessing to speed up his calculations.

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.

Random Confusion

Martin Moene

05 September 2016 16:35:15 +01:00

Silas S. Brown tries to clear up a muddle about Standard C’s rand().

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.

High Rollers

Martin Moene

04 September 2016 16:36:05 +01:00

Baron M proposes a new wager over a glass of wine.

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 100

Martin Moene

03 September 2016 16:37:23 +01: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.

Standards Report

Martin Moene

02 September 2016 16:38:11 +01:00

Jonathan Wakely brings the latest news.

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.

Some Big-Os are Bigger Than Others

Martin Moene

06 August 2016 22:08:48 +01:00

Big-O notation is often used to compare algorithms. Sergey Ignatchenko reminds us that asymptotic limits might not be generally applicable.

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.

Kill the Clones

Martin Moene

05 August 2016 22:10:40 +01:00

Problems in code can hide in surprising places. Adam Tornhill demonstrates how to detect software clones and uncover hidden dependencies.

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.

Implementing SNAAAKE

Martin Moene

04 August 2016 22:12:07 +01:00

Almost everyone knows the game Snake! Thaddaeus Frogley shares a diary of how his implementation grew over 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.

C++ Antipatterns

Martin Moene

03 August 2016 22:15:32 +01:00

Certain mistakes crop up frequently in C++. Jonathan Wakely offers some pro-tips to help you avoid common errors.

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 Propositions

Martin Moene

02 August 2016 22:17:25 +01:00

Is testing propositions more important than having examples as exemplars? Russel Winder considers this hypothesis.

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 Private

Martin Moene

07 July 2016 20:49:56 +01:00

Paul Grenyer shows that testing doesn’t need public access.

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 Codealow

Martin Moene

06 July 2016 20:51:56 +01:00

Pete Goodliffe presents a new software soliloquy.


  |<   <<   1   2   3   4   5   6   7   8   9   10   >>   >|
Sort by Date Title