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.
Over-Generic Use of Abstractons as a Major Cause of Wasting Resources
Martin Moene
05 August 2011 19:27:36 +01:00
We often find ways to hide complexity. Sergey Ignatchenko looks at how this can be sub-optimal.
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.
Thread-Safe Access Guards
Martin Moene
03 August 2011 19:42:02 +01:00
Ensuring safe access to shared data can be cumbersome and error-prone. Bjørn Reese presents a technique to help.
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 Test Driven Development
Martin Moene
02 August 2011 19:44:51 +01:00
TDD is too often thought to be all about Unit Tests. Paul Grenyer works through an example to show the bigger picture.
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 [Insert Algorithm Here] Won’t Cure Your Calculus Blues
Martin Moene
01 August 2011 19:51:11 +01:00
We now know that floating point arithmetic is the best we can do. Richard Harris goes back to school ready to show how to use 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.
Some Objects Are More Equal Than Others
Martin Moene
06 June 2011 20:23:42 +01:00
Comparing objects is a fundamental operation. Steve Love and Roger Orr consider different language approaches.
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.
Exception Specifications in C++ 2011
Martin Moene
04 June 2011 20:34:21 +01:00
The new standard is almost finished. Dietmar Kühl looks at the new exception features.
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 Interval Arithmetic Won’t Cure Your Floating Point Blues
Martin Moene
03 June 2011 20:37:04 +01:00
We’ve looked at several approaches to numeric computing. Richard Harris has a final attempt to find an accurate 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.
The ACCU 2011 Crypto Challenge
Martin Moene
01 June 2011 20:45:52 +01:00
Ready for the biggest challenge yet? Richard Harris throws down the gauntlet.
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.
Benefits of Well Known Interfaces in Closed Source Code
Martin Moene
06 April 2011 18:32:28 +01:00
Designing a good API is a significant challenge. Arun Saha suggests taking inspiration from outside.
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 Computer Algebra Won’t Cure Your Floating Point Blues
Martin Moene
05 April 2011 18:54:54 +01:00
Numerical computing is proving quite a challenge. Richard Harris sees if a computer can do mathematics.
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 and Software Complexity Variability
Martin Moene
02 April 2011 19:21:08 +01:00
Most code bases could have their complexity improved. Alex Yakyma presents a model that suggests how to do 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.
Queue with Position Reservation
Martin Moene
05 February 2011 20:17:47 +00:00
Multiple threads can make processing a message queue faster. Eugene Surman needs the right data structure.
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 Rationals Won’t Cure Your Floating Point Blues
Martin Moene
04 February 2011 20:24:34 +00:00
Numerical computing is still proving hard to do accurately. Richard Harris considers another number representation.
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.
Overused Code Reuse
Martin Moene
03 February 2011 20:26:49 +00:00
It’s tempting to use someone else’s code rather than write it yourself. Sergey Ignatchenko reports that ‘No Bugs’ Bunny recommends caution.
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.
From Occam's Razor to No Bugs' Axe
webeditor
31 December 2010 21:37:00 +00:00
Designing good APIs that stand the test of time is notoriously hard. Sergey Ignatchenko suggests a radical guideline.
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 Fixed Point Won't Cure Your Floating Point Blues
webeditor
31 December 2010 21:35:00 +00:00
Numeric computing is very difficult to do properly. Richard Harris looks at whether a common technique will help.
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.
Interface Versioning in C++
webeditor
31 December 2010 21:34:00 +00:00
Updating a widely used DLL interface is non-trivial. Steve Love presents a practical approach.
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.
Quality Matters Christmas Intermezzo
webeditor
31 December 2010 21:33:00 +00:00
Sometimes it's good to reflect. Matthew Wilson considers what he's learnt so far.
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.
You're Going To Have To Think!
webeditor
10 October 2010 13:59:00 +01:00
Numerical computing has many pitfalls. Richard Harris starts looking for a silver bullet.
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.
To DLL or Not To DLL
webeditor
10 October 2010 13:57:00 +01:00
Shared libraries provide both benefits and problems. Sergey Ignatchenko introduces a rabbit's-eye view.