I'm quite undecided about DEV... it's surely a magazine that
we were missing when we started. And in a few issues I've been
looking over the sholder of my friends (I've to confess I'm not
a regular buyer of the magazine) I found some very interesting
Unfortunately in the last number I bought I found an article that
enforced my opinion that almost everyone can write almost
everything in that magazine with no serious quality check.
One of the articles always present in the magazine is dedicated
to C++, and in the July/August issue that article was discussing
the implementation of associative arrays.
I've also to confess that I'm not a blind lover of C++ (I think
it's often comfortable but seems to me that the logical design
behind it is quite a bit broken) but since I'm a passionate
supporter of associative arrays I decided to read the article
in the details.
The sad story is that reading the article one gets the clear
impression that the author never implemented associative arrays,
that he doesn't understood C++ operator overloading and that
moreover he has some problem with algorithms in general.
Without discussing all the points in detail I'll just enumerate
that the implementation of the associative array was "disgusting"
(linear search) and, even worse, that as a possible improvement
the author was suggesting qsort and bsearch instead of a
linear scan. In the C++ field there's a quite evident confusion
about the logic of overloading the "" operator and the proposed
approach was anyway a very bad example of object oriented
programming (a method was supposed to work on an intermediate
result saved in a private variable computed by the execution
of another apparently unrelated method).
Even from the pure programming point of view the proposed code
was terrible (who would ever reallocate an array for every
Not knowing C++ isn't a crime, as it's not a crime not knowing
associative arrays. Even writing articles about something you
don't know isn't a crime. But anyway I thought it was The Right
Thing to complain with the magazine about that article that I
think completely useless if not dangerous for a beginner.
Unfortunately the only answer I got from the magazine was that
my complain was redirected to the author (from which I received
a few days later a mail that wasn't adding anything meaningful
to the discussion). For who's really interested (and can read
here you can find my complain and the two answer I got.
My complain was not directed to the author but to who was
doing the quality check on the articles the magazine was
going to publish. Seems I was writing to no one ...
In a few words ... if you're going to buy DEV then please pay
a lot of attention in what you find in it. It's not all true.
Moreover never consider the description they give of the
authors: the one of the author of that C++ column is surely
exaggerated, if not invented ... or may be the one described
makes his cousin doing the writing and just signs the articles.