|
-
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
|
|
|
Article was already closed. I drop-kicked the member from the post below
|
|
|
|
|
|
|
|
Both spammers terminated.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
This article: Covariance, Contravariance and Invariance in C#[^]
[edit]
From this member: Rashedul Hossain Khan - Professional Profile[^]
[/edit]
It got a comment from @geswan suggesting it was related to MSDN documentation: Covariance and Contravariance in Generics[^] and that it should have a reference. And it was indeed added.
A quick comparison between the two does smell rather of "I copied this and changed it a bit to make it original" - compare the text in the Background section:
Quote: Covariance: Assign Derived class to Base class. Enables you to use a more derived type than originally specified. You can assign an instance of IEnumerable<derived> to a variable of type IEnumerable<base />.
Contravariance: Assign Base class to Derived class. Enables you to use a more generic (less derived) type than originally specified. You can assign an instance of IEnumerable<base />to a variable of type IEnumerable<derived>.
Invariance: Supports only the type of class originally specified. So it is neither covariant nor contravariant. You cannot assign an instance of IEnumerable<base /> to a variable of type IEnumerable<derived> or vice versa.
Vs:
Quote: Covariance
Enables you to use a more derived type than originally specified.
You can assign an instance of IEnumerable<derived> (IEnumerable(Of Derived) in Visual Basic) to a variable of type IEnumerable<base />.
Contravariance
Enables you to use a more generic (less derived) type than originally specified.
You can assign an instance of IEnumerable<base /> (IEnumerable(Of Base) in Visual Basic) to a variable of type IEnumerable<derived>.
Invariance
Means that you can use only the type originally specified; so an invariant generic type parameter is neither covariant nor contravariant.
You cannot assign an instance of IEnumerable<base /> (IEnumerable(Of Base) in Visual Basic) to a variable of type IEnumerable<derived> or vice versa.
I have to say, it looks like plagiarism to me (especially with the quick addition of the reference) - your thoughts please?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
modified 23-May-17 11:40am.
|
|
|
|
|
Yep. When I first saw it, there was a definite aroma, but I couldn't trace a source. Adding a smack.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
When I saw it the first couple of times, it was just a bit rubbish! Clearly, he's added copied material to improve it...
I've added a member link since the article is now closed.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
|
I have to agree. It is mostly just a feature list.
The language itself does look rather interesting, though. Might be good for teaching programming concepts.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
|
|
|
|
|
CHill60 wrote: I'll delete the article on their behalf
It's what they would have wanted, I'm sure
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
|
This: Simplified Firebase Messaging[^]
From this: Adil Akram - Professional Profile[^]
Is a built-from-a-kit article: About FCM Messages | Firebase[^]
Search both for "FCM automatically displays the message to end-user devices on behalf of the client app. Notification messages have a predefined set of user-visible keys and an optional data payload of custom key-value pairs." and "A non-collapsible message denotes that each individual message is delivered to the device. A non-collapsible message delivers some useful content" and "There is a limit of 100 messages that can be stored without collapsing. If the limit is reached, all stored messages are discarded. When the device is back online, it receives a special message indicating that the limit was reached. The app can then handle the situation properly, typically by requesting a full sync from the app server." and ... oh I can't be bothered...
Ten years; he logs in pretty often. And this is his first "contribution"? Make me want to spit...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
modified 23-May-17 11:39am.
|
|
|
|
|