re: No More Foo, Bar, and Baz VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I agree with your post--thanks! Using foo, bar, and baz can teach non-self-documenting code. As you mentioned with your example the variable sho...
 

While this is more readable for you, consider someone coming into it as a new programmer. Would they now think that all their parent classes have to be named Base, and child classes called Extended, rather than if it was Foo and nonsensical? Foo should be part of every student's vernacular. Just like x and y for math majors.

code of conduct - report abuse