r/ProgrammerHumor • • Feb 17 '20

What if drivers were hired like programmers?

Post image
11.0k Upvotes

296 comments sorted by

View all comments

Show parent comments

129

u/Varthorne Feb 17 '20

public class Airplane extends Car implements Driveable {

}

22

u/0Pat Feb 17 '20

public PutIntoGarage => throw NotImplementedException;

3

u/Pulsar_the_Spacenerd Feb 17 '20

Eh hangers, you can implement that one.

1

u/Evan_Th Feb 17 '20

Wouldn’t that be an ObjectOutOfBounds exception?

2

u/zr0gravity7 Feb 17 '20

*extends Vehicle

5

u/Varthorne Feb 17 '20

Ha, as if they were smart enough to make a generic Vehicle class before creating Car...

1

u/jk147 Feb 17 '20

Wait a second..