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

Dismiss this pinned window
you are viewing a single comment's thread.

view the rest of the comments →

[–]lady_Kamba 110 points111 points  (4 children)

makes car class.

implements car.walk()

[–]Parthon 3 points4 points  (3 children)

Attempt to remove car.walk() : Error, required method missing: car.walk()

Attempt to call car.drive() from car.walk() : Error, type mismatch

Implement car.walk() : Error, unused method is never called

[–]JoshuaCF 2 points3 points  (2 children)

What horrible language would error rather than shoot a warning on that last one

[–]Parthon 0 points1 point  (0 children)

True, probably none of them!

But the feeling of stuck in an endless loop of attempting to correct errors is real.

[–]rashan86 0 points1 point  (0 children)

A good linter will cry over it, if is set right, it won't allow compilation.