Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Resources to learn JAVA

Name: Anonymous 2013-07-06 17:44

Hello /prog/ next semester I'm going to have an OOP class and we're going to use JAVA the "problem" is we'll have to learn JAVA by ourselves since the teacher will only explain OOP stuff and won actually teach us the language. The question is what are good resources to learn the language?

P.S. I don't know if it matters but i have some experience with C.

Name: Anonymous 2013-07-06 17:51

my anus is a great resource

Name: Anonymous 2013-07-06 17:52

>>2
Can i use it then?

Name: Anonymous 2013-07-06 18:04

Name: Anonymous 2013-07-06 18:07

Name: Anonymous 2013-07-06 18:12

>>4
Thank you, the 3rd link seems to be exactly what i wanted

Name: Anonymous 2013-07-06 18:19

>>6
YOUR WELCOME SANDNIGGER

Name: Anonymous 2013-07-06 18:29

>>7
YOU'RE*

Name: Anonymous 2013-07-06 19:02

>>8
I don't know, maybe he was presenting a "welcome sandnigger," whatever that is.

Name: Anonymous 2013-07-06 21:00

lel, I didn't even know Java had this kind of type inference..

[code]
class Collections {
  ...
  public static <T> T empyList() {
    return (List<T>) EMPTY_LIST;
  }
  ...
}

// Collections.<User>emptyList() not required here
List<User> users = Collections.emptyList();

Name: >>4 2013-07-06 21:49

>>9
It means middle-eastern, poor, and criminal person (Jew usually being the first bet). But that would be your instructor, not you OP. I guess the class will be an easy A+ for you. Be sure to ace it, and near the end of the course state why OOP sucks:
http://www.iwriteiam.nl/AoP_OOCH.html
http://www.geocities.com/tablizer/oopbad.htm
http://www.paulgraham.com/noop.html
http://pyvideo.org/video/880/stop-writing-classes
http://doc.cat-v.org/programming/bad_properties_of_OO
http://harmful.cat-v.org/software/OO_programming/why_oo_sucks
http://harmful.cat-v.org/software/OO_programming/_pdf/Pitfalls_of_Object_Oriented_Programming_GCAP_09.pdf

Please video tape it for bonus points.

Name: Anonymous 2013-07-07 2:09

>>10
Actually, JVM doesn't even have generics. The compiler will just create a Collections.<Object>emptyList() and insert runtime casts from Object to User everywhere.

Name: Anonymous 2013-07-07 6:01

Java is C with OOP. You only need to know the OOP stuff, the syntax will jsut come to you.

Name: Anonymous 2013-07-07 6:05

>>13
No, Java does not have OOP.

Name: Anonymous 2013-07-07 6:26

>>14
STOP HELPING THEM!

Name: Anonymous 2013-07-07 9:35

>>14
Why not"

Name: Anonymous 2013-07-07 10:20

>>16
Not all operations are messages to objects.
No feature renaming.
Not all types inherit from Object.
No uniform access.

Name: Anonymous 2013-07-07 10:41

>>13
*C++ is C with OOP
>>14
Are you retarded?

Name: Anonymous 2013-07-07 10:45

>>18
No, C++ doesn't have OOP either.

Name: Anonymous 2013-07-07 10:46

Not to mention no multimethods, neither in Java nor in C++.

Name: Anonymous 2013-07-07 11:55

Dr Dobb's Journal : http://www.ddj.com

Name: Anonymous 2013-07-07 12:13

>>18,19
The Java and C++ guys disagree, which is exactly the problem: OOP is a handwavy, bullshit marketing term with no rigorous definition. Java and Sepples' OO is no more or less legitimate than Javashit's chained hash-tables, Ruby and Smalltalk's procedure-calls-by-another-name and reflection, and whatever other obscure ontology-and-agents system terminology he is invoking.

Name: Anonymous 2013-07-07 12:54

I think >>22 is right and teaching OOP divorced from a concrete interpretation of the "concept" is meaningless, since C, assembly, etc. can do OOP just as well for whatever definition of OOP. Kay and the Simula 67 guys' use of the term seems to me to have closer connections to the actor model and agents and other similar concepts and formalisms of autonomous distributed entities that continues to go on in AI circles today. Nowadays its basically just glorified structs and a resume item. Most likely >>1 is going to be taught a standard intro Java course.

Name: Anonymous 2013-07-07 13:35

>>22
No, OOP is pretty well-defined, just look at Smalltalk and CLOS — those are the standards.
>>23
No, C, Assembly, Python or C++ can not do OOP "just as well", they can only do it very crutchy and inconveniently.

Name: Anonymous 2013-07-07 14:16

>>24
But since "OOP" as a term is diluted it doesn't really matter, its a dead term long finished off by 500 mediocre C++ books, long before Java had its first release. Its not like "pure FP", which everyone knows exactly what that is, even if the details of the side effects are left up to the language designer.

Name: Anonymous 2013-07-07 15:21

>>25
Stop following the masses, they are stupid and pervert any concept. Or else you're bound to confuse hackers with crackers.

Name: Anonymous 2013-07-07 15:29

>>26
"hackers" and "crackers" is a concept that is just as stupid.
There are idiots in any culture or sub-culture and that includes programmers as well. Whether or not a concept is relevant to its original meaning is defined solely by the "masses", whether they be several million individuals or only a couple.
 Language is only a vector of thought, and the masses determine the common usage of language, making a term obsolete or not.
In this case, OOP's term is de facto diluted and now englobe C++, Java, Python etc..

Whether you like it or not won't change the fact that it now has a new meaning.

Name: 27 2013-07-07 15:31

*englobes

my bad

Name: Anonymous 2013-07-07 15:57

>>27
Intelligent people are always different from the masses and maintain a higher culture of concepts and their definitions. Too bad you don't belong to their ranks, choosing instead to dilute your mind with the prejudices of the ignorant.

Name: Anonymous 2013-07-07 17:34

>>29
Languages and vocabulary are only a vector of knowledge, not the knowledge itself. Intelligence comes in many flavors and has just as many definitions, to wit, but not only:
- Inherent abilities to understand abstraction
- A vast amount of knowledge
- The understanding of what underlies that knowledge
- The ability to create more knowledge
Our society doesn't need more mindless parrots soaking in information and spitting it out, without truly understanding what it represents.
We need people who understand the essence of that knowledge, and most of all how it is applicable in real life situations, as abstract as they may be.

That's the way we will progress, not by teaching words, but by teaching material and entrepreneurship.
Hertzfield, Woz and Atkinson were without a doubt more knowledgeable than Jobs about computers and programming.
Whether you think so or not, the latter is the one who made the difference and who truly changed our world. He did because he's the one who realized that perennity often matters more than details.

Name: Anonymous 2013-07-07 18:57

>>30
If Jobs had no engineers to design his products, he would have nothing to sell. Ergo, your wrong bitch.

Name: Anonymous 2013-07-07 19:51

>>31
Shut up cunt

Name: Anonymous 2013-07-07 20:00

public class Dubz {
  public static void main(String[] args) {
    System.out.println("Check 'em dubz");
  }
}

Name: Anonymous 2013-07-07 20:38

Name: Anonymous 2013-07-07 20:47

>>30
Are you a fucking troll? How the fuck are there people on /prog/ defending apple and jobs? He never did change the world. He and apple are nothing special.

>>32
kill yourself you dumb normalfag

Don't change these.
Name: Email:
Entire Thread Thread List