G
Grizlyk
Somebody have offered std colors to C++ in the msg here:
http://groups.google.com/group/comp...3d36ece543b/1acf6cd7e3ebdbcd#1acf6cd7e3ebdbcd
The main objection to the including "colors markup" is useless of the
marks, the marks is unneccessary extra information. The most used way
to make colored view of C++ programs is usage of classes of C++
language words (already included in C++): reserved words, user
identificators, operators, and so on.
Do you wish to have special color for each letter of program? Why?
It is evidently, C++ has another trouble.
1.
I think, the cause of the trouble, that when we have very many classes,
the interfaces of the classes and the links between the classes already
looks as _raw_ and _plain_ as, for example, implementation of all
functions in structured C program.
It is hardly possible to write C++ programs only with the help of
"free-standing" classes.
C++ is really weak for OO design, not for colors. C++ has no one design
tool or std features to help to build the tools.
OO design includes consideration of any task on conceptual level and on
"level of logical interfaces/behaviour" (specifications? - do not know
english term).
I think C++ must declare interface between design tools (UML for
example) and tools for compiling (ordinary files for example).
Look at the screenshot here: http://educh.chat.ru/pre/cpp/smtr.gif
This is smalltalk simplest design tool. You can see interface of
desired
class, tree of inheritance, description and implementation for any
desired
method of the selectted class. It can be implemented even on PC/XT.
I think, C++ must offer _standard_ way to convert ordinary class
declaration to standard "class items" - items of interface of design
(placed in each subwindow on the picture) and to convert back.
That is why C++ must
1. define std "class items" (items of interface of design)
2. and declare rules how to inlude them to ordinary C++ class
declaration.
It is easy to see, that building of any C++ module (ordinary C++ source
file)
is similar to preprocessing from "class items".
The "class items" marks (design information) is not extra information
(as colors do),
the information no need for compiling so is absent in C++ now.
It seems to me, the Stroustrup does not hurry to be going to be keen on
the idea of std design information.
http://groups.google.com/group/comp...3d36ece543b/1acf6cd7e3ebdbcd#1acf6cd7e3ebdbcd
The main objection to the including "colors markup" is useless of the
marks, the marks is unneccessary extra information. The most used way
to make colored view of C++ programs is usage of classes of C++
language words (already included in C++): reserved words, user
identificators, operators, and so on.
Do you wish to have special color for each letter of program? Why?
It is evidently, C++ has another trouble.
1.
I think, the cause of the trouble, that when we have very many classes,
the interfaces of the classes and the links between the classes already
looks as _raw_ and _plain_ as, for example, implementation of all
functions in structured C program.
It is hardly possible to write C++ programs only with the help of
"free-standing" classes.
C++ is really weak for OO design, not for colors. C++ has no one design
tool or std features to help to build the tools.
OO design includes consideration of any task on conceptual level and on
"level of logical interfaces/behaviour" (specifications? - do not know
english term).
I think C++ must declare interface between design tools (UML for
example) and tools for compiling (ordinary files for example).
Look at the screenshot here: http://educh.chat.ru/pre/cpp/smtr.gif
This is smalltalk simplest design tool. You can see interface of
desired
class, tree of inheritance, description and implementation for any
desired
method of the selectted class. It can be implemented even on PC/XT.
I think, C++ must offer _standard_ way to convert ordinary class
declaration to standard "class items" - items of interface of design
(placed in each subwindow on the picture) and to convert back.
That is why C++ must
1. define std "class items" (items of interface of design)
2. and declare rules how to inlude them to ordinary C++ class
declaration.
It is easy to see, that building of any C++ module (ordinary C++ source
file)
is similar to preprocessing from "class items".
The "class items" marks (design information) is not extra information
(as colors do),
the information no need for compiling so is absent in C++ now.
It seems to me, the Stroustrup does not hurry to be going to be keen on
the idea of std design information.