|
:
[2] 1
|
|
|
One of the absolute worst features of C++ is how it makes a lot of things so context-dependent - which just means that when you look at the code, a local view simply seldom gives enough context to know what is going on.:)
That is a huge problem for communication. It immediately makes it much harder to describe things, because you have to give a much bigger context. It's one big reason why I detest things like overloading - not only can you not grep for things, but it makes it much harder to see what a snippet of code really does.[...]
And C is a largely context-free language. When you see a C expression, you know what it does. A function call does one thing, and one thing only - there will not be some subtle issue about "which version" of a function it calls.
, C++ : , C . C, - " "? , " ", . , C . - C, , , . x=y, , . f(...), , , , , . , , , . . . [...]( , - . ).
C++ - , ; , , . , " " C, , .. , . [...] , : ( , ) . - , "Typename varname;", , - , , . - , , overloaded , . , , }, . copy constructor .
|
|
:D |
|
|
|
|
taskset 0x00000001 command
taskset -c 0,3 -p 12345
|
|
... |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
:
[2] 1
|