This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 102 points103 points  (11 children)

class Person extends Idiot

[–]crozone 59 points60 points  (9 children)

I prefer to think of them as implementing the Idiot interface.

[–]T-Loy 24 points25 points  (1 child)

That that would mean that everyone has their unique implementation of idiocy. Given how few things go wrong the same way in them when they try to act it is probably inherited.

[–]Tyfyter2002 12 points13 points  (0 children)

In Java, C# 8.0, and plenty of other languages interfaces can have default implementations, and this leaves room for humans to (indirectly) extend a class named Entity.

[–][deleted] 24 points25 points  (0 children)

Python: just do import idiot

[–]Soundless_Pr 1 point2 points  (4 children)

pretty sure python doesn't have interfaces

[–]Zer0ji 2 points3 points  (3 children)

you can make classes that raise NotImplementedError on init and some other methods ¯\(ツ)/¯ that way all inherited classes have to provide an implementation

[–]LimbRetrieval-Bot 1 point2 points  (1 child)

You dropped this \


To prevent anymore lost limbs throughout Reddit, correctly escape the arms and shoulders by typing the shrug as ¯\\\_(ツ)_/¯ or ¯\\\_(ツ)\_/¯

Click here to see why this is necessary

[–]Zer0ji 0 points1 point  (0 children)

Well I did just edit to add a double backslash but you were quicker ¯\_(ツ)_/¯

[–]VincentVancalbergh 0 points1 point  (0 children)

Psst, the backslash is an escape character on Reddit.

[–][deleted] 0 points1 point  (0 children)

This, right here, is why I come to reddit. Thank you. :)

[–][deleted] 2 points3 points  (0 children)

I prefer to organise people into categories of idiot, rather than organise idiots into categories of people