Moderator: about 'generic class' thread

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
@ Min Zhu


Hi, Min Zhu.

Im writing this thread exclusively for you, about the generic class (GC) thread.

I appreciate your efforts making that thread peaceful and respectful, I really do.

Unfortunately, because this faulty and defective programmer (fdp), the GC thread got all those offensive posts.

Its not the first time this fdp posts offensive words when contradicted (Im pretty sure you know that).

In the GC thread, this fdp posted offensive words against me, gratuitously, without having being offended before, and this has been done before.

That was the precise time, for a mvp intervene and call this fdps attention, but nothing was done.

Again, nothing was not done.

It seems that these forum members believe they can offend others, but others cannot reply back.

I assure you, this fdp only does this, virtually; in real world, things would pretty much different.



Unfortunately, while one of my replies keep being marked as correct answer, I cant do anything, because the reply is locked, and worse, now the thread is locked.

The (GC) threads OP is pretty much confused, because marked my reply as correct answer, and, at the same time, writes he/she doesnt like it.

The best thing to do, is you unmark and delete my reply, otherwise, Im tied up toGC thread.

So, Im asking you to delete my reply, otherwise, Im tied up toGC thread.

Moreover, the OP seems to be a very little boy/girl, and I dont want to be related to people of that age.



Also, I understand the other reply marked as correct answer (fdps reply), seems to fit quite wellGC thread.

That reply shows a real bad C# code, proposed by this fdp.

Clearly, operators is and as are not part of the C# knowledge thisfdp has acquired.

I have already pointed out, in GC thread, a lot C# language misconceptions thisfdp has demonstrated, since long time ago (see, in GC thread, the 11+ misconceptions I pointed out).

Some people are destined to be what they are, they get old but dont get better.

If you look at the horrible C# code this fdp proposed, youll see more demonstrations of bad knowledge of basic C# language.

This fdp has no idea, after many years, of what a C# struct is (some people are destined...).

Just look at these declarations, this fdp did in the C# code marked as correct:

public struct IntWrapper : IWrapAddition<int>
{
private readonly int _value;
...
}


public class StringWrapper : IWrapAddition<string>
{
private readonly string _value;
...
}


As you see, this fdp declared one type as struct and the other asclass, and did not explain why the 2 diferent types.
Much probably, chose the types based on the type of the field named _value.

The reason to declare those types differently, is consequence of bad C# knowledge: thisfdp doesnt know what a struct is, doesnt know when to use it, and when not to use it.

Now, the most important: instances of those type will be used in the Add(...) method, which declaration, can be seen here:

public class AdvCalc
{
public T Add<T>(IWrapAddition<T> a, T b)
{
return a.Add(b);
}
}


Thus, instances of those types (struct and class) will be casted to aninterface(!)

This means, instances of the type struct will be casted to an interface(!), and the consequences of it, is one more thing this oldfdp, after many years, hasnt learnt yet (some people are destined...).

For these many reasons, GC threads OP deserves the reply from thisfdp to be considered the correct answer, and I deserve you unmark anddelete my reply in GC thread.

Moreover, this fdp is bad educated too, as is clearly demonstrated (once more, because in the past, did the same) inGC thread, selecting my reply and posting this offense (I mentioned this at the beginning of this post):

Some people dont know English yet they dare to use it and write things that they dont even understand.
You used is and as in conjunction this just show the level of technical understanding you have about it.
Not to mention the fact that if the generic argument is string how in the world it will ever return int or vice-versa... another point is that the type expecting a class whereas int is a struct, go figure, you clearly a genius.
Do us all a favor and go back to write "Hello World" programs at school.
Regards,
Up to this reply, I had never replied to this fdp.

All this, just because the simple C# code I posted, shows this fdps code is, in its entirety,rubbish.

This fdp has done exactly the same before; its not a new behavior, its part of the personality.

Its important to notice, this fdp, likes to edit the post later, maybe to get unnoticed, and include offensive words.

So, the best thing to do is kick this crap programmer right in the part that defines, better, its knowledge, name, and moral value.

The second best thing to do, is unmark and delete my reply as answer toGC thread (I dont understand why the OP hasnt done it yet).
While my reply keeps marked as answer in GC thread, the thread remains contraditory.
I appreciate your attention, and your interference to unmark anddelete my reply in GC thread, because I dont have time to waste, andI dont want to be related to people of that age.
Thanks.


I accept you disagree with me. However, never, ever, make this error again!
Louvado seja aquele que criou a Mulher, o Amor, a Matemática “ e o C++11 ” - apósMalba Tahan

View the full article
 
Back
Top