DEV Community

Discussion on: Stop calling virtual methods in your constructor and destructor!

Collapse
 
baduit profile image
Info Comment hidden by post author - thread only visible in this permalink
Lena

I perfectly know that, there is no need to be rude. When writing an article you need know what is your target audience. In my case for this article this is not targetted at beginner/intermediate level in C++, most of them won't probably exactly the term used in the standard but will have knowledgde about other langage where the term "methods" or from their OO courses.
Maybe I should add a paragraph explaining that, but while writing it I made the choice of not mentionning it, maybe it is was a bad choice, but criticism does not allow you to be rude.
I really hope I misunderstood the meaning of "nit" in this context.

Collapse
 
pauljlucas profile image
Paul J. Lucas

"Nit" = "Minor point, almost not worth mentioning." Nothing I wrote would be interpreted by a native English speaker as rude. Perhaps you shouldn't assume someone is being rude to start.

Personally, I always try to refer to things by the proper names. If you are teaching C++, best to use the correct C++ terms regardless of what they're called in other languages. To clarify things for non-C++ readers, I would have written as expository note:

What are called "methods" in other object-oriented programming languages are called "member functions" in C++.

And then used "member functions" thereafter.

Thread Thread
 
baduit profile image
Lena

Oh sorry, the meaning I got from my online dictionary was something like "moron" or "cretin". I guess I overreacted, sorry again 😅
You got a point, I could have introduced it this way. I will think about update the article.

Thread Thread
 
pauljlucas profile image
Paul J. Lucas

Yes, "nit" is commonly short for "nitpick" — though I now learned it can also be used as short for "nitwit," but that's not how I meant it.

Some comments have been hidden by the post's author - find out more