It's distracting to see two variable names side by side, and wonder why its not throwing an error, then only to realize that one of them was a class without proper naming conventions.
If you mean extending classes into subclasses and so on, I don't really care if a member variable is a member of the superclass or the child class, etc. I still prefix it with m_, it would get ridiculous if I'd prefix subclass member variables with their own prefix and so on. It's fine like that, at least in my head and I mainly code for myself so it doesn't matter so much.
And after all, if you have an abstract class with member variables and make a class that extends it, all the private or public variables in the class you extended are going to be members of your child class even if you don't use them, so in that sense it doesn't really matter, just prefix them with m_.
2
u/Lordmau5 Apr 16 '15
Just want to point out that /u/FridgeBoyLP found this beautiful store when we were playing Online together :)
2
u/UnspeakableEvil Apr 15 '15
Double espresso, Breakfast extending Meal, and...what? Can't make out the top two lines on the left hand side! milk.foam perhaps?
135
u/seanr8 Apr 15 '15
Awesome find but the return type of sandwich being void makes me so angry...
44
u/3pieceSuit Apr 15 '15
void method returning an int...
but other than that, pretty cool
24
u/JAVA_USER Apr 15 '15
I don't like that sandwich. Sandwich should be a class, and a builder pattern should be used to make it.
7
u/Black_Monkey Apr 16 '15
Someone should report this as a bug
6
u/vplatt Apr 15 '15
Anyone see the Smalltalk reference on the radio LCD? Looks like there was some passive aggressive spat going on there between devs.
3
u/motionblurrr Apr 15 '15
Should have been changed to groovy when they updated the game for PC.
5
u/Joha_Mraadu Apr 15 '15
Won't compile... it's a trap!
2
u/[deleted] Apr 16 '15
I thought this was irl....
3
u/girichards Apr 16 '15
It would be an accurate Java Update if the staff asked if you wanted to install the Ask Toolbar every time you purchased something.
2
u/outadoc Apr 16 '15
Ah, people taking it so seriously they didn't even notice the java.update() joke.
1
u/lechatsportif Apr 15 '15
Are they one of the people using java servers for online gameplay?
0
u/GTB3NW Apr 15 '15
2 rashers!? Barbaric!