Home > C++ > “Keep it Simple” Concept makes C++ much easier

“Keep it Simple” Concept makes C++ much easier

When the languages like Java or C# were used by companies, a language like C++ became for many developers and mangers very complex and expert friendly.

The history of computer engineering can maybe explains this C++ opinion:

Before internet explosion in 1990s, developing with C++ was very difficult due to the lack of technical documentation and feedbacks to resolve easily technical problems, and the team focus more on technical layer, in this period we can understand why the managers followed the technical approach and they looked for a C++ technical guru to join the development Team.

After internet explosion we can found many C++ documentation and also feedback for technical layer problems, but unfortunately the vision was not changed, and new developers spend lot of time searching for technical tips and tricks.

The good way is to focus more time in the business layer which is the added value of a project and a technical layer must be only an infrastructure and we doesn’t have to spend a lot of time in it.

Imagine that we have to begin an application using COM Components, let’s see how two managers will realize this project.

C++ manager focused on technical layer

The first manager will first try to search for developers who master COM components it will takes more time and energy but it’s obligatory for him to implement a project as he expect .

He will begin with a COM implementation and since the beginning of the project he add a complexity to it and also add useless dependency , even if the team contains just COM Gurus an overhead time will be spend in the COM Layer.

So finally this kind of manager will participate in an unpopularity of C++, every basic C++ developer will say “C++ is very complex”.

“Keep it simple” manager

The second manager try to look for only one developer who master COM technology and the rest of the team are basic C++ developers.

This manager tell to his team to forget COM and just implement POCO objects ,simple classes that use a simple types to implement a business layer, and only one developer who master COM technology develop a wrappers around the POCO objects.

So finally the “Keep it Simple” manager win a lot of time to look for developers and to implement the project and almost the whole project is developed with a basic C++ concept, and isolate the COM technology complexity and limit dependency of the project .

With this approach every developer will say “WOW developing project that use COM technology is very simple”.So try to avoid useless dependency; it can multiply the development time of a project.

Advertisements
Categories: C++
  1. kert
    October 22, 2009 at 5:04 am

    COM ? Ah, yes, the nineties .. 😉

    Anyway, besides POCO, two C++ stacks that i have recently found myself very impressed were Ogre ( 3D ) and Zeroc ICE ( RPC, ORB, Grid .. whatever )

    How do those look from CppDepend point of view ?

    • October 22, 2009 at 8:56 am

      COM is still very used, its not easy as technology and i observe that many projects have high coupling with it.

      And about analysis of other librairies , i look for the next case study, and may be ICE will be the next 🙂

  2. Seth
    November 26, 2009 at 10:23 pm

    Yup COM is still very much alive. Just entered a new project that uses it for lcient server communication (among others)

  1. No trackbacks yet.

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

%d bloggers like this: