Journal Articles
Browse in : |
All
> Journals
> Overload
> 55 (6)
All > Topics > Programming (877) 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.
Quality Matters #8: Exceptions for Recoverable Conditions
Martin Moene
05 April 2014 18:14:35 +01:00
Too many programs deal with exceptions incorrectly. Matthew Wilson suggests practical steps to improve your 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.
Static – A Force for Good and Evil
Martin Moene
04 April 2014 18:22:00 +01:00
We’ve all learnt to avoid the use of the static keyword. Chris Oldwood questions this wisdom.
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.
Search with CppCheck
Martin Moene
03 April 2014 07:03:33 +01:00
Finding code of interest is a vital skill but our tools are often too simple. Martin Moene tries something better.
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.
Windows 64-bit Calling Conventions
Martin Moene
02 April 2014 07:00:53 +01:00
How the stack works is useful to understanding your programs’ behaviour. Roger Orr compares and contrasts.
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.
Static Polymorphic Named Parameters in C++
Martin Moene
05 February 2014 11:29:49 +00:00
Adding parameters to an object can be messy. Martin Moene demonstrates how method chaining can make code more readable.
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.
Integrating the Catch Test Framework into Visual Studio
Martin Moene
04 February 2014 11:19:27 +00:00
Visual Studio’s Test Explorer allows native C++ tests to be run under a managed wrapper. Malcolm Noyes takes it a step further using Catch to drive the tests.
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 Java Decompiler
Martin Moene
03 February 2014 10:21:07 +00:00
Java byte code can be reverted back into source code. Lee Benfield and Mike Strobel show how.
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.
Optimizing Big Number Arithmetic Without SSE
Martin Moene
02 February 2014 07:53:06 +00:00
Addition and multiplication can be slow for big numbers. Sergey Ignatchenko and Dmytro Ivanchykhin try to speed things up.
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.
Capturing lvalue References in C++11 Lambdas
Martin Moene
01 February 2014 07:39:02 +00:00
How confusing does it get when references refer to references and references are captured by value? Pete Barber shows us that it all falls out in the C++ consistency wash.
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.
How to Program Your Way Out of a Paper Bag Using Genetic Algorithms
Martin Moene
03 December 2013 19:06:18 +00:00
It is often claimed people cannot program their way out of a paper bag. Frances Buontempo bucks the trend using genetic algorithms.
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.
Object-Environment Collision Detection using Onion BSPs
Martin Moene
02 December 2013 19:16:11 +00:00
Previously we considered 3D navigation. Stuart Golodetz demonstrates how to detect collisions using onion binary space partitioning.
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.
Migrating from Visual SourceSafe to Git
Martin Moene
01 December 2013 19:35:01 +00:00
Migrating from one version control system to another is a big change. Chris Oldwood records the trials and triumphs of migrating from VSS to git.
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 as a Crime Scene
Martin Moene
07 October 2013 20:01:31 +01:00
Forensic techniques can predict possible future crimes. Adam Tornhill shows how they can be applied 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.
YAGNI-C as a Practical Application of YAGNI
Martin Moene
05 October 2013 20:36:01 +01:00
YAGNI can seem vague. Sergey Ignatchenko offers a more precise definition.
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.
Has the Singleton Not Suffered Enough
Martin Moene
04 October 2013 22:46:58 +01:00
Singletons are much maligned. Omar Bashir considers 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.
Automatic Navigation Mesh Generation in Configuration Space
Martin Moene
03 October 2013 08:55:56 +01:00
Walkable 3D environments can be automatically navigated. Stuart Golodetz demonstrates how navigation meshes achieve 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.
C++ Range and Elevation
Martin Moene
02 October 2013 22:38:59 +01:00
C++ provides many features for higher-level programming, but lacks some common ones present in other languages.
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.
Hard Upper Limit on Memory Latency
Martin Moene
05 August 2013 19:53:37 +01:00
Achieving very low latency is important. Sergey Ignatchenko asks how low can we go.
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.
Simple Instrumentation
Martin Moene
04 August 2013 19:47:59 +01:00
Programs often run out of memory or grind to a halt. Chris Oldwood demonstrates how to add instrumentation to your code to track its performance.
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.
Portable String Literals in C++
Martin Moene
03 August 2013 18:11:08 +01:00
How hard can it be to make a file in C++ with international text literals in its name? Alf Steinbach shows us.