Journal Articles
Browse in : |
All
> Journals
> CVu
> 301 (10)
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.
Quick Modular Calculations(Part 2)
Bob Schmidt
03 February 2020 18:34:25 +00:00
The minverse algorithm previously seen is fast but has limitations. Cassio Neri presents two alternatives.
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.
Restaurant C++ and Pidgin Python
Bob Schmidt
09 January 2020 18:12:30 +00:00
Pete Goodliffe looks at the idioms of language.
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.
Python has setdefault
Bob Schmidt
06 January 2020 18:00:30 +00:00
Silas S. Brown shares a quick tip on Python.
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 C library and GNU Make
Bob Schmidt
05 January 2020 17:28:31 +00:00
Ian Bruntlett shares his experiences with using ‘make’ to build a small test project.
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 121
Bob Schmidt
03 January 2020 17:13:00 +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.
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-Recursive Compile Time Sort
Bob Schmidt
03 December 2019 17:36:24 +00:00
Compile time sorting usually uses recursion. Norman Wilson shows how C++14 features make this easier.
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.
Quick Modular Calculations (Part 1)
Bob Schmidt
02 December 2019 16:48:44 +00:00
Compilers are good at optimising modular calculations. Can we they do better? Cassio Neri shows they can.
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.
Exodep : A Simple External Dependency Refresher
Bob Schmidt
05 November 2019 18:22:46 +00:00
Pete Cordell introduces a library dependency tool for C++ projects.
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 Standard Report
Bob Schmidt
03 November 2019 18:14:18 +00:00
Guy Davidson reports from the C++ Standards Committee.
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 120
Bob Schmidt
02 November 2019 18:07:28 +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.
Scenarios Using Custom DSLs
Bob Schmidt
05 October 2019 22:05:39 +01:00
Natural-language BDD can be hard to maintain. Liz Keogh demonstrates a simple code-based alternative.
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.
I Come Here Not to Bury Delphi, But to Praise It
Bob Schmidt
03 October 2019 19:33:29 +01:00
What helps a programming language gain traction? Patrick Martin remembers why he used to use Delphi.
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.
Attitude, Accomplishment, Artistry
Bob Schmidt
06 September 2019 17:25:32 +01:00
Pete Goodliffe looks at our attitude to the code we write.
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 119
Bob Schmidt
03 September 2019 17:09:32 +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.
Empty Scoped Enums as Strong Aliases for Integral Types
Bob Schmidt
04 August 2019 19:36:52 +01:00
Scoped enums have many advantages. Lukas Böger demonstrates their use as strong types of numbers.
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++ Reflection for Python Binding
Bob Schmidt
03 August 2019 19:21:26 +01:00
There are various approaches to generating Python bindings in C++. Russell Standish shows how Classdesc can be used to 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.
A Case for Code Reuse
Bob Schmidt
08 July 2019 01:12:15 +01:00
Pete Goodliffe considers the case for code reuse.
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.
Who Are You Calling Weak?
Bob Schmidt
07 July 2019 01:06:16 +01:00
Spencer Collyer muses on the surprising strength of weak_ptrs.
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 118
Bob Schmidt
05 July 2019 00:55:29 +01:00
Set and collated by Roger Orr. A book prize is awarded for the best entry.