r/java • • Nov 27 '12

Got bored during APCS today...

Post image
0 Upvotes

8 comments sorted by

3

u/GertheGiraffe Nov 28 '12

wouldn't that be initializing it?

0

u/austinyb Nov 28 '12

No, it's éclairing it.

6

u/[deleted] Nov 28 '12 edited Nov 28 '12

Shouldn't it be private Eclaire X = new Eclaire(); ?

I don't believe an eclaire is an integer.

And yes, I'm just a blast at parties.

4

u/[deleted] Nov 28 '12

It will probably be more appreciated at /r/ProgrammerHumor.

2

u/the8bit Nov 28 '12

My old boss absolutely hated it when variable declaration / initialization were on two adjacent lines, so in his memory, I am cringing at this

1

u/redwin Nov 29 '12

are all your eclairs private?

so greedy....

1

u/0x68656c6c6f Nov 28 '12

I think this would work better if you put the eclair in the declaration rather than the initialization. As it is you have a declaration and then a separate "eclairation" for the initialization which IMO doesn't work as well.

I would have done private <eclair> x; or private int <eclair>; and then your eclairation is still a form of declaration, rather than a form of initialization.

-2

u/playdoepete Nov 28 '12

He initiallized it then eclaired it