Learn English – How is the phrase “When your program breaks, you get to keep both pieces.” commonly used

expressions

One such example in source code files open-sourced by Apple:

 /* 
 * WARNING  DANGER  HAZARD  BEWARE  EEK
 * 
 * Everything in this file is for Apple Internal use only.
 * These will change in arbitrary OS updates and in unpredictable ways.
 * When your program breaks, you get to keep both pieces.
 */

The warning basically means the source code is internal to Apple and is subject to change. Software developers who use these files should not expect the 'interface' to stay the same between version. If the interface is indeed changed, any program that depends on the file will be broken.

What I do not quite understand are:

1) Is the phrase When <something> breaks, you get to keep both pieces a common one? If so, how is it usually used?

2) Does 'both pieces' means 'two pieces' here?

3) Is it supposed to be playful in tone? Is there any other implied meaning based on the context?

Best Answer

  1. I have read this phrase before. I'd say it's common among programmers who are writing their own warnings or licenses for software.

  2. Yes. I believe the metaphor relates to an object that is broken in two, as if software could break in this manner.

  3. Yes, it is playful. It's terse and sarcastic: it seems it may be a criticism of the verbosity of legalese in software licenses.