On Mon, 02 Apr 2018 19:28:47 +0300, Paavo Helde wrote:
>On 2.04.2018 9:44, wrote:
>> why a little subset of C++ (sure without the massive use of exception handle,
>>and using only the easier to understand and write,
>>part of the language) is the best language?
>
>In my little subset of C++ there are RAII,
>exceptions
here we are not agree
>and templates.
>There are no C-style arrays, no C-style raw pointers and no C-style
>strings.
here not agree too
they are there with asm code too
>This makes it both easier to learn and safer to use.
easy and good to lern a pet language without to see the machine...
that pet languages with
the derive that make complex assembly language and cpu operation can
not be good; the result could be code not debuggable at level of cpu
>There is no point to have just C with a bit stricter type check if one
>can have a much powerful language without losing anything C can do.
RAII automatize all allocation deallocation of object it seems good
possible with something to say when memory is end or something is
wrong in the construction of objs