Live data from Hacker News

There's a coffeeshop called java.update() in GTA V

orcz.com

51–60 of 80 posts

Re: There's a coffeeshop called java.update() in GTA V

#51

It 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…

Make the comment into Javadoc, add some more modifiers, increase the method names and I think you're well on your way.

Re: There's a coffeeshop called java.update() in GTA V

#52

It 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…

Language bashing is what characterizes our industry. I have the dream that one day we will recognize languages as the tool they are and be mature enough to chose tools by utility and not by hype, hipness or pop culture and see there benefits and limitations.

But how will some define their superiority? By not using semi-colons?

Re: There's a coffeeshop called java.update() in GTA V

#53
post #49

Earlier quoted context omitted.

Language bashing is what characterizes our industry. I have the dream that one day we will recognize languages as the tool they are and be mature enough to chose tools by utility and not by hype, hipness or pop culture and see there benefits and limitations.

He is not bashing Java per SE but a special kind of Java: Enterprise Java and IMO that deserves a bashing on general principle. Enterprise Java just never seems appropriate.

He was bashing a programming language - you call it Enterprise Java - for laughs and karma, not seeing languages as tools you can use based on your judgement. I hope we once will grow beyond bashing.

[Edit] And this is the highest voted comment on a thread about how cool GTA V is to include programming references and how deep their open world is.

Re: There's a coffeeshop called java.update() in GTA V

#54
post #22

Earlier quoted context omitted.

sudo pacman -S make curl https://put.honkgong.info/ed8e3df8691ec7944a878cea595e00c363079504 > Makefile sudo make me a sandwich

Let's run arbitrary code downloaded from somewhere I don't know! As root!

Did you read the linked Makefile?

Re: There's a coffeeshop called java.update() in GTA V

#56
post #49

Earlier quoted context omitted.

Language bashing is what characterizes our industry. I have the dream that one day we will recognize languages as the tool they are and be mature enough to chose tools by utility and not by hype, hipness or pop culture and see there benefits and limitations.

He is not bashing Java per SE but a special kind of Java: Enterprise Java and IMO that deserves a bashing on general principle. Enterprise Java just never seems appropriate.

HN youngers of today like to bash Enterprise Java, whereas the old guys already have their share of scares from:

Enterprise Clipper

Enterprise C

Enterprise C++

Enterprise Perl

Enterprise TCL

Enterprise insert language here

You just need to let the enterprise architects loose...

Re: There's a coffeeshop called java.update() in GTA V

#57

Earlier quoted context omitted.

Not enterprise enough, it doesn't implement any interfaces nor extends any generic classes, there also should be some try/catch blocks (what if the bacon isn't fried enough?) and of course several unit tests to guarantee the highest quality sandwich ;)

There isn't even any XML. Not enterprise at all, by definition.

Yeah, we should be able to define types of sandwiches in XML.

What if someone wants a BLT?

Re: There's a coffeeshop called java.update() in GTA V

#58

It 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…

Language bashing is what characterizes our industry. I have the dream that one day we will recognize languages as the tool they are and be mature enough to chose tools by utility and not by hype, hipness or pop culture and see there benefits and limitations.

I have the dream that one day we will recognize languages as the tool they are

We do. They're just terrible tools. Do you think other industries don't criticize their tools? Hell, they have full magazines and reports reviewing and grading them.

The idea that all languages/tools are created equal and just have different use cases is nonsense.

Re: There's a coffeeshop called java.update() in GTA V

#60
post #49

Earlier quoted context omitted.

Language bashing is what characterizes our industry. I have the dream that one day we will recognize languages as the tool they are and be mature enough to chose tools by utility and not by hype, hipness or pop culture and see there benefits and limitations.

He is not bashing Java per SE but a special kind of Java: Enterprise Java and IMO that deserves a bashing on general principle. Enterprise Java just never seems appropriate.

I don't know if that pun was intentional, but if it was it's absolutely fantastic.

So as to remain on topic: I agree with you but the other side of the coin is that Java the language can't seem to live down Java EE and its culture. It's trying, though. I give particular kudos to the Clojure and Scala communities for helping to rebrand the JVM as something awesome independent of Java. That helped me, at least, to realize that I shouldn't conflate the two in my head.

The only stumbling block I have to get around in my head now when I think JVM is "JVM == long startup times", which is still kinda true but nowhere near as bad as it was.

Post reply on HN