WTSOTCOTD
-
Genre: Pop Considering the next:
public enum BodyParts
{
Head,
Torso,
Arms,
Legs,
None
}And this:
public class Person
{
BodyParts bodyPart;public Person() : this(BodyParts.None);
public Person(BodyParts part)
{
bodyPart = part;
}public void Remove(Object target)
{
if (bodyPart == BodyParts.Head)
throw new Exception("Can't perform operation");
}
}What's the song of this code?:
var you = new Person();
var me = new Person(BodyParts.Head);
me.Remove(you);If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez
Metallica - One. A completely wild guess :^)
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
-
Metallica - One. A completely wild guess :^)
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
Shhhh don't reveal tomorrow's one.
If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez
-
Did you guess the song and then googled?
If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez
Yeah, I guessed the song name based on the code and the top of the list showed a 'pop' type artist. So, I assumed I got it right. ;-)
-
Ha, hardly...I didn't listen to the music. ;)
-
Genre: Pop Considering the next:
public enum BodyParts
{
Head,
Torso,
Arms,
Legs,
None
}And this:
public class Person
{
BodyParts bodyPart;public Person() : this(BodyParts.None);
public Person(BodyParts part)
{
bodyPart = part;
}public void Remove(Object target)
{
if (bodyPart == BodyParts.Head)
throw new Exception("Can't perform operation");
}
}What's the song of this code?:
var you = new Person();
var me = new Person(BodyParts.Head);
me.Remove(you);If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez
First song that popped into my head was ELO's "Can't Get it Out of My Head" from their Eldorado album. Which is wrong, but accurately describes the Kylie Minogue earworm you just planted... :-\ Flynn
_If we can't corrupt the youth of today,
the adults of tomorrow will be no fun...
_