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.
Standards Report
Martin Moene
05 September 2015 07:17:16 +01:00
Jonathan Wakely reports the latest on C++17 and beyond.
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 95
Martin Moene
04 September 2015 07:20:30 +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.
Multi-threading at Business-logic Level is Considered Harmful
Martin Moene
05 August 2015 13:10:58 +01:00
Multi-threaded code promises potential speed-up. Sergey Ignatchenko considers how it often slows things down instead.
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.
Two Daemons
Martin Moene
04 August 2015 13:13:36 +01:00
Most people have come across C++11’s forwarding references. Dietmar Kühl explains what && really means.
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.
Don’t Design for Performance Until It’s Too Late
Martin Moene
03 August 2015 13:15:39 +01:00
People claim optimisation can cause unreadable code. Andy Balaam argues good performance should be at the core of code design.
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.
Template Programming Compile Time String Functions
Martin Moene
02 August 2015 14:10:23 +01:00
Practising old exercises in new ways can keep you sharp. Nick Weatherhead demonstrates some well-known code katas using C++ compile time tricks.
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.
Numbers in JavaScript
Martin Moene
01 August 2015 14:12:14 +01:00
JavaScript floating point numbers can confuse C++ programmers. Anthony Williams draws our attention to some surprising behaviour.
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.
Are we nearly there yet? Refactoring C++
Martin Moene
11 July 2015 21:42:29 +01:00
Alan Griffiths evaluates two tools for developers with some simple use-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.
Golang programming on AppEngine
Martin Moene
10 July 2015 21:43:46 +01:00
Silas S. Brown tries his hand at writing native code for the Cloud.
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.
Split and Merge Revisited
Martin Moene
07 July 2015 21:49:04 +01:00
Vassili Kaplan makes improvements to the Expression Parser.
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 94
Martin Moene
05 July 2015 21:56:30 +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.
Meet the Social Side of Your Codebase
Martin Moene
06 June 2015 10:23:57 +01:00
Programming requires collaboration. Adam Tornhill suggests some ways to uncover communication paths in your organisation.
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.
Mocks are Bad, Layers are Bad
Martin Moene
05 June 2015 10:26:09 +01:00
Many people use mocks in their unit tests. Andy Balaam asks if there’s a better 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.
Non-Superfluous People: Architects
Martin Moene
04 June 2015 10:28:31 +01:00
No developer is an island. Sergey Ignatchenko continues his series of non-superfluous people by looking at the role of architects.
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.
Terse Exception Messages
Martin Moene
03 June 2015 10:30:02 +01:00
Log files often contain ‘error’ information. Chris Oldwood suggests they rarely contain anything that could be considered helpful.
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.
Get Debugging Better!
Martin Moene
02 June 2015 10:31:04 +01:00
The GNU debugger has several useful features you may not know. Jonathan Wakely shows us how to save time and pain with some simple tricks.
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.
Make and Forward Consultables and Delegates
Martin Moene
01 June 2015 10:32:45 +01:00
Sometimes forwarding to a contained object requires lots of boilerplate code. Nicolas Bouillot introduces consultables and delegates to automate 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.
Wallowing in Filth
Martin Moene
08 May 2015 14:17:03 +01:00
Pete Goodliffe wades into the dreaded cesspit of ‘low-quality 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.
Writing Good C++ APIs
Martin Moene
07 May 2015 14:21:03 +01:00
Tom Björkholm examines some common pitfalls that make code hard to use.
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.
Split and Merge – Another Algorithm for Parsing Mathematical Expressions
Martin Moene
05 May 2015 16:53:19 +01:00
Vassili Kaplan presents an alternative to Dijkstra’s algorithm.