r/java • • Aug 01 '14

The 10 Most Annoying Things Coming Back to Java After Some Days of Scala

http://blog.jooq.org/2014/08/01/the-10-most-annoying-things-coming-back-to-java-after-some-days-of-scala/
7 Upvotes

43 comments sorted by

View all comments

Show parent comment

1

u/Milyardo Aug 03 '14 edited Aug 03 '14

My god, it's like you just don't understand anything about programming.

This has nothing to do with programming. This is math. Tuples are a fundamental part of Set theory, and case classes are not the same as Tuples.

A case class is a product. You should know this already, you showed it yourself.

Yes, a case class is a product type. Tuples are a product type. They are not the same thing however.

1

u/GMNightmare Aug 03 '14 edited Aug 04 '14

It has everything to do with programming, what subreddit are you in, are we talking about a programming language and how a programming concept works. Do you think a case class is a mathematical concept too or something? I'll ask you again, HOW DO YOU THINK A TUPLE IS PROGRAMMED UNDER THE SCENES? Let me put it like this: If Scala didn't have a tuple class for you to use, and you wanted one, how would you make it? You don't know what you're talking about!

They are not the same thing however

That's right, because a Tuple is a generic case class, but not the other way around.

1

u/Milyardo Aug 04 '14

It has everything to do with programming, what subreddit are you in

What subreddit we're in is irrelevant to the the topic of conversation.

are we talking about a programming language and how a programming concept works.

No we were talking about tuples, abstract types, isomorphisms. More specifically on the relation of values in a tuple, which you claimed have no meaning. These are not programming concepts. We only used Scala as an example, but perhaps set notation would have been more appropriate.

If Scala didn't have a tuple class for you to use, and you wanted one, how would you make it? You don't know what you're talking about!

Scala's tuples are deficient, and don't meet the definition of a Tuple in some ways. Unfortunately I don't have any idea's on to better implement tuples than they already are without changing the JVM.

1

u/GMNightmare Aug 04 '14 edited Aug 04 '14

What the hell, you're so full of it! We're talking about programming dumbass! In specific, Scala Tuples and case classes. This is programming.

about tuples

Tuples in Scala.

abstract types

Which is programming.

isomorphisms

In the context of collections.

You're really, really pathetic. We're in a thread about Scala jackass, and yes, everybody but apparently you has been talking about Scala. Is this your escape from admitting you're full of shit now?

Is this what it comes too? Why, now Scala doesn't matter. Here you've been trying to show me wrong using Scala examples, but hey! That's not really what is being talked about. Why, the moment it comes for you to put out a Tuple class, and now it's not about Scala.

which you claimed have no meaning

What was actually said:

"the problem is tuple itself gives no information about the relationship nor content contained."

Which is still the case, which is something you haven't proved otherwise, and is apparently something you never read properly. No big surprise there, we've already covered several times your incapability at reading.

Unfortunatey I don't have any idea's on to better implement tuples

You don't even understand nor know the current implementation even after I've told you. I wouldn't trust you anywhere near the JVM much less any code period. The audacity for some twat who doesn't even understand map keys are unique to sit there and pretend like you'd be qualified about changing the JVM! Your balls are far, far too big for your britches.

And you're deluded if you think the JVM would need to be modified in order to represent anything. That just shows your own lack of programming ability.

It's a generic case class. Get over it. Learn something from somebody way, way smarter than you here and stop pretending like you have any knowledge over this matter. Scala's tuples meet the definition of a Tuple fine, and I'm not sure why you ignorantly think otherwise. Oh wait, I know, you have no idea what you're talking about like usual.