C++ is bad, wrong, “slow train wreck”, disaster

This error was certainly handled

Like any other (software) undertaking, it is not going to end well if not started well.

One needs to know why is one using C++.

After a decision has been made and documented, to use standard C++, one should aim to fully understand the language and tools.

This is the best answer, I can give when people talk or write in anger about some programming language in general and C++ in particular.

C++ DBJ Error Concept, at last

Approximately 6 months ago I posted to Reddit. Under the title:

Decades have passed, standard C++ has no agreed and standard error handling concept.

That got attention and some important folks from the C+++ universe also chimmed in. More or less all approving.

I obviously had to show some code. No pressure there. Continue reading “C++ DBJ Error Concept, at last”

c++ metacall()()()™

A paradigm shift (or revolutionary science) is, according to Thomas Kuhn, in his influential book The Structure of Scientific Revolutions (1962), a change in the basic assumptions, or paradigms, within the ruling theory of science. It is in contrast to his idea of normal science.

metacall series


metacall broadly means: “call of calls”

Part 3 : C++ Binding

It is not attached to any programing language, yet metacall as a concept is born (and bred) in the domain of type-less JavaScript.  Slight difficulty is that good old/new/standard C++, is v.s. JavaScript, one strongly typed language. In English: types are everything.

Also, C++ is  compiled language, vs dynamic (interpreted) JavaScript. Although, metaclass is already implemented in C#. And conceptualy, as far as types are concerned, C# is somewhere in between, (but not in the middle !) even in it’s latest reincarnation.

Ditto, I think metacall must be implemented in C++ too. Let’s jump into the deep.
Continue reading “c++ metacall()()()™”