Try to encapsulate
Lua
To
C ++
The binding breaks through a lot of detailed problems. When it is about to be completed, it is naturally frustrating to find that it cannot work. Struggling for an afternoon with templates and macro techniques, killing countless brain cells and drawing a tragic conclusion. Every time
C ++
It does not seem to belong
C ++
Whether it is successful or not, I feel guilty. The language itself is born to solve engineering problems. If you need to spend a lot of time dealing with language details during project development, this language is an inefficient language for development. Unfortunately, I have used
C ++
It's such a language. I admit that today's problem is actually usable.
C ++
Solve the problem at least
Luabind
It has been implemented, which fully demonstrates
2
Thing:
1
:
C ++
Too complicated,
2
: I am not smart enough to control it.
I have made a bunch of things, and now I am summing up on
C ++
Understanding
1
:
C ++
It's too complicated and complicated. I don't know how to emphasize it (or I'm too stupid or very stupid)
)
2
:
C ++
It is a language that may write only a few lines of code in many days, because you are often trying to use macros and templates repeatedly.
3
:
C ++
It is one that allows programmers to say, "This is the most exquisite one I have ever written.
5
Line code program language (
Alexandrescu
I agree with what Niu said.
+
Onlookers)
4
:
C ++
Is a language in which the reward is less than the reward
5
:
C ++
Split into library programmers and application programmers, and
99%
The above people stay at the application programmer level
6
:
C ++
The design philosophy is: let
1%
Library programmers use all sorts of tricks
99%
Application programmers to improve development efficiency -- look
Boost
There are a large number of cool people on the Standards Committee.
Count down
C ++
I still think that
C
Is a degradation. In addition, existence is reasonable,
C ++
It is still the best choice in terms of running efficiency and abstract capabilities. Therefore, in a specific field, I can only use it, but remember that we use the language to solve actual engineering problems, so we cannot drill into the details of the language and ignore the project itself.
This article is over.