class TwoBaconRashersInsideTwoSlicesOfBreadFactory {
/* Make a sandwich
*
* Construct a foodstuff consisting of two slices
* of bread with two slices of bacon.
* @return TwoBaconRashersInsideTwoSlicesOfBread a sandwich
*/
Public TwoBaconRashersInsideTwoSlicesOfBread getSandwich () {
BaconRasherFactory pig = new BaconRasherFactory();
BaconRasherInstance bacon1 = pig.getBaconRasher();
BaconRasherInstance bacon2 = pig.getBaconRasher();
SliceOfBreadFactory loaf = new SliceOfBreadFactory();
SliceOfBread bread1 = loaf.getSliceOfBread();
SliceOfBread bread2 = loaf.getSliceOfBread();
return new TwoBaconRashersInsideTwoSlicesOfBread(bread1, bacon1, bacon2, bread2);
}
Or something... trying to do Enterprise Java is hard.There's a coffeeshop called java.update() in GTA V
11–20 of 80 posts
Re: There's a coffeeshop called java.update() in GTA V
#12Earlier quoted context omitted.
'sudo make me a sandwich'
-bash: sudo make me a sandwich: command not found
sudo apt-get install build-essential
Incidentally, the make error you'd get is amusing: make: *** No rule to make target `me'. Stop.Re: There's a coffeeshop called java.update() in GTA V
#13It doesn't feel like it's enterprise enough to be realistic. class TwoBaconRashersInsideTwoSlicesOfBreadFactory { /* Make a sandwich * * Construct a foodstuff consisting of two slices * of bread with two slices of bacon. * @return TwoBaconRashersInsideTwoSlicesOfBread a sandwich */ Public TwoBaconRashersInsideTwoSlicesOfBread getSandwich () { BaconRasherFactory pig = new BaconRasherFactory(); BaconRasherInstance baco…
That what the space station architects are there for.
Re: There's a coffeeshop called java.update() in GTA V
#14It doesn't feel like it's enterprise enough to be realistic. class TwoBaconRashersInsideTwoSlicesOfBreadFactory { /* Make a sandwich * * Construct a foodstuff consisting of two slices * of bread with two slices of bacon. * @return TwoBaconRashersInsideTwoSlicesOfBread a sandwich */ Public TwoBaconRashersInsideTwoSlicesOfBread getSandwich () { BaconRasherFactory pig = new BaconRasherFactory(); BaconRasherInstance baco…
Re: There's a coffeeshop called java.update() in GTA V
#15Re: There's a coffeeshop called java.update() in GTA V
#16Earlier quoted context omitted.
-bash: sudo make me a sandwich: command not found
I'm surprised you don't have make installed. That's usually one of the first tools I install on any new system (if it's not included as part of the base install, like Arch does): sudo apt-get install build-essential Incidentally, the make error you'd get is amusing: make: *** No rule to make target `me'. Stop.
sudo make me a sandwich
will result in sudo running with 'make me a sandwich' as arguments. 'sudo make me a sandwich'
will result in 'sudo make me a sandwich' running.Re: There's a coffeeshop called java.update() in GTA V
#17Earlier quoted context omitted.
A void method that returns a sandwich , no less.
Never mind that the function casts (coerces? constructs?) ints to bread and ints to bacon. Let alone how it's got a special "plus" operator that can work on bread/bacon and return a sandwich...
Re: There's a coffeeshop called java.update() in GTA V
#18Re: There's a coffeeshop called java.update() in GTA V
#19And a hilariously detailed start-up with a (Dropbox inspired?) play room. There's also a hacker character whose convincingly detailed computer setup shows several VIM sessions (one on a portrait oriented monitor).