I approve of the potential for humor and found the joke amusing until I noticed that it is flawed.
You can start your indexes anywhere. 0 and 1 are the most common but I have had occasion to use others.
It doesn’t matter how you index it, the size is not altered. {0 ⇒ “a”, 1 ⇒ “b”}.size = 2. {1 ⇒ “a”, 2=>”b”}.size = 2.
Then I noticed that the humor itself is a powerful persuader, it nearly distracted me from both those obvious flaws despite their familiarity with the subject. The fact that pointing this out would in most contexts be a faux pas demonstrates a risk that the abuse of humor entails.
I approve of the potential for humor and found the joke amusing until I noticed that it is flawed.
You can start your indexes anywhere. 0 and 1 are the most common but I have had occasion to use others.
It doesn’t matter how you index it, the size is not altered. {0 ⇒ “a”, 1 ⇒ “b”}.size = 2. {1 ⇒ “a”, 2=>”b”}.size = 2.
Then I noticed that the humor itself is a powerful persuader, it nearly distracted me from both those obvious flaws despite their familiarity with the subject. The fact that pointing this out would in most contexts be a faux pas demonstrates a risk that the abuse of humor entails.