C++ and C# are different in VisualStudio

Any source codes written in C# look beautiful. In contrast, source codes written in C++ look bad. I had thought that C# is next generation languages than C++, and has good looks.

This morning, I talked this topic to teammate in the office. My friend pointed out that the different shall be a little if the program is made in the 3D game engine that has GC feature. For example:

[C++]
SceneNode *node = mSceneManager->getRootNode()->createChildeNode(…);

[C#]
SceneNode node = mSceneManager.RootNode.createChildeNode(…);

C# looks smart than C++ but it’s nothing much. And so, we noticed that color scanner of C++ and C# in VisualStudio is big difference. C++ looks simple and flat because most codes are displayed by black. But, C# codes are displayed by various colors.

It may be difficult to parse C++ code for IDE because C++ has troublesome #define and typedef. After all, we came to know that the display of C++ in VisualStudio is simpler than C#. This may be the reason why C++ looks bad.

Why didn’t we have noticed it until now…?

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s