r/programming • • Feb 22 '15

Java Makes Programmers Want To Do Absolutely Anything Else With Their Time

http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35 Upvotes

636 comments sorted by

View all comments

Show parent comments

1

u/afrobee Feb 23 '15

The claim is very general and simple to understand. Reasoning about local scope is easier than reasoning about global scope. I honestly cannot understand how anybody could find this statement controversial.

Yeah, I agree with you, but I didn't know that using global scope was the default mantra in OOP design or other paradigms.

I honestly do not understand why this is making you upset. If you don't like Clojure nobody is forcing you to use it, and Java is not going to go away either. You can use whatever language you like, it's not a zero sum game.

I'm not, you should see this as free entertainment, an amusement and a opportunity to learn more for myself. Even I really like Clojure. There is not need to bring up Java here ;)

In fact one of the most common things people say after working with FP is that it makes them think about state more carefully, something even experienced imperative developers often fail to do.

As with most OOP and DOD programmers then to learn too. Also, I don't why you have this idea that declarative style is exclusive to FP languages.

Do you even google?

I wouldn't even know which keywords to search for such data :( Any insight?

I figured people would understand minimal context, but maybe that's too much to expect from imperative developers. :P

As with most of your statements, their base is composed by your own selective and invented assumptions. I then to prefer more declarative style. Regardless of that, where you trying to bug on me with that comment? Cute :)

0

u/yogthos Feb 23 '15

Yeah, I agree with you, but I didn't know that using global scope was the default mantra in OOP design or other paradigms.

The problem is specifically with passing around references to shared mutable data. There is no way to know whether calling a method will produce side effects or not. Maybe the method call was safe or maybe it wasn't I have no way to tell without looking inside and tracing exactly what it's doing.

My experience is that this quickly leads to subtle bugs in non-trivial applications. Somebody calls a method and thinks it does one thing while it does another. It might even appear to work as expected until you find out that another part of the application starts behaving oddly.

I wouldn't even know which keywords to search for such data :( Any insight?

Oh I don't know clojure success stories might be a good one. Clojure underbudget, using Clojure at MixRadio, Why Prismatic goes faster with Clojure, CircleCI Clojure, Clojure at Netflix, and so on and so forth.

As with most of your statements, their base is composed by your own selective and invented assumptions. I then to prefer more declarative style. Regardless of that, where you trying to bug on me with that comment? Cute :)

They're not assumptions, they're my direct experiences working with the language. I just linked you a whole bunch of experiences from others working with it as well.

1

u/afrobee Feb 23 '15

Oh I don't know clojure success stories might be a good one. Clojure underbudget, using Clojure at MixRadio, Why Prismatic goes faster with Clojure, CircleCI Clojure, Clojure at Netflix, and so on and so forth.

Hahaha, oh my goodness, I request about FP in general, you are pretty much a Clojure head which is something that I already knew, but is cutest and funny thing ever.

They're not assumptions, they're my direct experiences working with the language. I just linked you a whole bunch of experiences from others working with it as well.

On that endpoint, I was talking about the assumption that you had about my persona (programming style preference).

My experience is that this quickly leads to subtle bugs in non-trivial applications. Somebody calls a method and thinks it does one thing while it does another. It might even appear to work as expected until you find out that another part of the application starts behaving oddly.

Now we are having a better manners. And your theory as anything else will be distilled to the ambiguity of the phrase "it depends".

1

u/yogthos Feb 23 '15

I'm not sure what point you're making here really. It's like a big discovery for you that people's views are subjective, nobody's ever been pretending otherwise.

I think your persona is pretty clear, trolling is your true calling. :)

1

u/afrobee Feb 23 '15

Is not rocket science to discover that some people present their own subjective views as objective ones, they then to be called narcissist.

2

u/yogthos Feb 23 '15

Sorry to disappoint there, but I'm quite aware that my views are subjective. I'm simply stating my experience and pointing out that plenty of other people share it.

The only sane way to decide whether something would be a benefit to you is to spend the time to try it out for yourself. You should never take the opinion of others on faith.

What amuses me to no end is that people would rather spend more effort foaming at their mouth on reddit than to spend that effort to actually go and learn something new.

My only goal is to get people to try things. I don't expect everyone to like what I like, but it's a shame to dislike something out of ignorance.

1

u/afrobee Feb 23 '15

My only goal is to get people to try things. I don't expect everyone to like what I like, but it's a shame to dislike something out of ignorance.

You mean this, this. or maybe this?

Is'n that shameless propaganda?

1

u/yogthos Feb 23 '15

Yeah, I'm that horrible person who puts his own free time and effort into making open source things to make life easier for others.

1

u/afrobee Feb 23 '15

My theory is correct, you put yourself so high up there :)

1

u/yogthos Feb 23 '15

I guess it's easier to shit on other people then to do anything of value yourself. I understand. :)

→ More replies (0)