Journal Articles
Browse in : |
All
> Journals
> Overload
> 72 (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.
Compile-time Data Structures in C++17: Part 1, Set of Types
Bob Schmidt
02 August 2018 18:29:36 +01:00
Compile time data structures can speed things up at runtime. Bronek Kozicki details an implementation of a compile time set.
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 Assume Any Non-Zero exit() Will Fail!
Bob Schmidt
06 July 2018 17:13:44 +01:00
Silas S. Brown shares his finding on process exit codes.
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.
Everyday Coding Habits for Safety and Simplicity
Bob Schmidt
05 July 2018 16:54:46 +01:00
Arun Saha has some simple advice for forming good habits 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.
Code Critique Competition 112
Bob Schmidt
03 July 2018 16:27:33 +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.
Program Challenge Report 3 and Challenge 4
Bob Schmidt
02 July 2018 16:24:33 +01:00
Francis Glassborow comments on his last challenge and presents a new one.
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.
Type-agnostic Tracing Using {fmt}
Bob Schmidt
03 June 2018 17:07:06 +01:00
Tracing compound and custom types is a challenge. Mike Crowe demonstrates how {fmt} provides a safe alternative to printf.
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.
A Short Overview of Object Oriented Software Design
Bob Schmidt
02 June 2018 16:45:39 +01:00
Object oriented design has many principles. Stanislav Kozlovski demonstrates good design through a role playing game.
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.
Libraries, Console Apps and GUIs
Bob Schmidt
11 May 2018 18:39:48 +01:00
Chris Oldwood compares the use of different application interfaces.
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 New C++ Interview
Bob Schmidt
09 May 2018 18:07:29 +01:00
Pete Goodliffe introduces a new way to test programming skills.
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 111
Bob Schmidt
04 May 2018 17:23:55 +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.
No News is Good News
Bob Schmidt
06 April 2018 16:54:50 +01:00
Using ‘new’ without care can be slow. Paul Floyd uses Godbolt’s compiler explorer to see what happens when you 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.
5 Reasons NOT to Use std::ostream for Human-Readable Output
Bob Schmidt
03 April 2018 16:42:39 +01:00
C++’s ostream can be hard to use. Sergey Ignatchenko suggests we use the {fmt} library 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.
The Expressive C++ Coding Challenge in D
Bob Schmidt
06 March 2018 16:22:44 +00:00
Sebastian Wilzbach presents a D language solution to a C++ 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.
Code Critique Competition 110 Part II
Bob Schmidt
04 March 2018 22:19:03 +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.
CTAD – What Is This New Acronym All About?
Bob Schmidt
05 February 2018 16:39:05 +00:00
What is class template argument deduction? Roger Orr elucidates this new C++17 feature.
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.
Functional Error-Handling with Optional and Expected
Bob Schmidt
02 February 2018 16:17:18 +00:00
Exceptions should be exceptional. Simon Brand shows modern alternatives from the standard library and ways to improve them.
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 Times (Part 1)
Bob Schmidt
05 January 2018 17:35:11 +00:00
Pete Goodliffe explores how to test code to ensure it works as expected.
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 Last Word in Patterns
Bob Schmidt
04 December 2017 22:36:34 +00:00
What can you do in a single transaction in a database? Paul Grenyer writes us his Single CrUD pattern.
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 Type-Classes as OCaml Modules
Bob Schmidt
03 December 2017 22:27:28 +00:00
Type classes achieve overloading in functional paradigms. Shayne Fletcher implements some as OCaml modules.
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.
Afterwood
Bob Schmidt
01 December 2017 22:20:30 +00:00
Tabs are controversial. Chris Oldwood reminds us of their many guises.