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

Pages: 1-4041-

java without sucking? Myth or Magic?

Name: Anonymous 2013-01-20 11:37

/prog/ I am learning java at university, and there seems to be a religiously followed doctrine that OOP is brilliant and that all problems should be put into an OOP system.

to summarise my grimaces:
-terrible ontology for classes
-everything must become an object and have a class and factory (i.e. overzealous use of OOP)
-everything relies on try catch throw statements to fix the 10's of problems that just inventing an object creates
-nothing beautiful, nothing simple, and definitely nothing fast to write, compile or execute.

Now for questions.
1. is it possible to make elegant, good, maintainable code in Java?

2. Challenge mode, is it possible for that code to work with everyone elses' OOP bullshit?

For instance could one simplify programs down to a single class, then for the required OOP methods and classes just call to the arrays etc in that class?
i.e. make the package/program behave as expected for any other class/driver using it, but not use OOP for the code.

3. Will the introduction of lambda expressions in java SE 8 make life better?

4. Should I quit this course before the cancer grows on me and I have to work to scrub it from my mind?

Name: Anonymous 2013-01-20 11:39

No, no, no, yes.

Name: Anonymous 2013-01-20 12:15

1.  Yes.  However, I think it is harder than in most c-style languages because of Java's idiosyncrasies.  For example, equality for two Integer (not int) values less than 128 (and more than -129) behaves differently than for values outside this range.  If you implemented a class like that at work, you would be considered a bad programmer, and that one issue alone is sufficient to keep me from using Java even when it is probably the right tool.
2. Yes.  Most business software is OOP, and a subset of this software works.  QED.
3.  Frankly, I think they''ll probably screw it up, but it has made C# much easier to use, so there is hope.
4. I recently read an article from an EE standpoint that noted that postsec is overruling Java.  I don't have a degree myself and I haven't had trouble finding work, but the first job is a tough one.  I would say you should start applying for work now, just as you would to leave a job you didn't like.  If you send out fifty or so applications and get nothing like a positive response, stick with college.  Otherwise, get out.

Name: Anonymous 2013-01-20 12:17

>>3
*overruling Java -> overusing Java.  Autocomplete.

Name: Anonymous 2013-01-20 15:13

Pretty much everyone agrees that OOP is a great way to write large software systems. Not everyone agrees that Java is a good way to write software.

Name: Anonymous 2013-01-20 16:32

>>5
large redundantly bug ridden crap
FTFY

Took them long if enough to declare it:
http://www.zdnet.com/homeland-security-warns-java-still-poses-risks-after-security-fix-7000009785/

Name: Anonymous 2013-01-20 16:42

>>1

schools choose which languages to teach based on their educational value rather than their usefulness. the idea is to teach the fundamentals of OOP.

Name: Anonymous 2013-01-20 17:04

>>7
If you really believe that, that's pretty damn adorable.

Name: Anonymous 2013-01-20 17:17

>>8
They are teaching FIOC now. It is pretty self evident.

Name: Anonymous 2013-01-20 17:22

>>5
Actually OOP is more like a great way for writing software with a large crowd  of people. Which is usually large software system, but not always.
>>7
Java's implementation of OOP sucks.

Name: Anonymous 2013-01-21 0:30

>>3
Thanks, I think I'll keep at it then. My university has a placement program with quite a few firms so that will ease the pain of getting a job. Doing a double degree with management which broadens the horizons considerably. In most uni courses people apparently only use 10% of what they learn in their job, so I suppose it's fine if I forget all the java stuff in order to program in something else.

>>7
I doubt that, it has a lot more to do with job prospects. We learned FIOC for one semester, as a primer to programming and problem solving.
Then it was straight into Java, which honestly felt like learning a ``how to use Java manual'' rather than learning to program- more about structure than problem solving.
I suppose that's precisely what businesses want- code that slots together with all the other people's code, all documented in the same way. It does make more jobs and work for programmers, that's for sure.
That said, if I were a project manager I probably would use other languages over it (something that weeds the average programmers out).

I doubt many fully understand OOP in the class let alone how to use it well - but it's still early days in the course (have only done one year).

Name: Anonymous 2013-01-21 0:57

>>11
Are you one of the few who understand Object-Oriented Programming?

Name: Anonymous 2013-01-21 1:23

>>12
I have a mediocre understanding of it, the principles behind it, the cheap tactics to get things to work in java (for instance multiple inheritance using interfaces, try/throw/catch everything) and everything to do with use case scenarios, UML diagrams and that jazz.
That's very little but still a lot more than those who googled everything they did (and broke plagiarism rules when asking for help to do methods and constructors).

We haven't even touched data structures apart from arrays and lists (but not linked lists, stacks, heaps or binary trees etc), so it is early days as far as learning things go.
Hoping to implement some of the FP stuff I'm learning online into what we do to ease the pain and boredom.

Name: Anonymous 2013-01-21 5:56

I never understood OOP. Only Functions and Lambdas, with great structs.

Name: Anonymous 2013-01-21 11:01

>>1 definitely nothing fast to execute.

lol learn how to program you dumb faggot

Name: Anonymous 2013-01-21 11:07

>>11 if I were a project manager I probably would use other languages over it (something that weeds the average programmers out)

Brave new world, if you ever become one (unlikely) you will probably be fired after a few months for hiring a bunch of  sperglords to write "a better language" with its own compiler and syntax that turns out to be unmaintainable garbage because you don't have any people skills (evidence: only I understand OOP! Java is terrible even though everyone uses it including google and amazon which are mostly chock-full of proven geniuses!)

Name: Anonymous 2013-01-21 11:12

>>13 broke plagiarism rules

lol

Name: Anonymous 2013-01-21 15:31

>2013
>Still thinking there are a lot of jobs out there for Java developers.

Name: Anonymous 2013-01-21 15:45

>>18
who are you quoting?

Name: Anonymous 2013-01-21 15:46

>>18
Fuck off back to /g/.

Name: Anonymous 2013-01-21 16:01

>>16
everyone uses it including google and amazon
your point?
many companies use many languages, and popularity is no indication of the best language ((scheme)).

Name: Anonymous 2013-01-21 17:09

>>19
That's not even a quote.

Name: Anonymous 2013-01-21 19:01

>>21 lmao

Name: Anonymous 2013-01-21 20:17

>>19>>20 samefag

Name: Anonymous 2013-01-21 20:21

>>23-24
Same /g/ shitstain.

Name: Anonymous 2013-01-21 20:25

only shitty pleb community colleges for poor hillbillies teach java. have fun applying your knowledge of java in your long and fruitful career as a cashier at old navy.

Name: Anonymous 2013-01-21 22:13

the jew ellison is probably using his usury money to bribe your zog college

Name: Anonymous 2013-01-21 22:37

The only Java that doesn't suck is the coffee. The rest is shit.

Name: Anonymous 2013-01-21 23:04

>>1
evolve already and use Scala and it's traits. with traits, OOP makes sense.

Name: Anonymous 2013-01-21 23:10

>>15-17,23-24
Unoptomised post style used. Please runBBLint™ on your posts before posting.

>>27
The lecturer (and program coordinator) is a jew.
Anyways the bastard goes
Sysadmins aren't important these days, I would do systems analysis or the CLOUD COMPUTING course.
Who in the world studies cloud computing, you moron?
I want to ask him, "do you REALLY want to program with CLOUD COMPUTING?"
I want to interrogate him. I want to interrogate him for roughly an hour.
Are you sure you don't just want to try saying "CLOUD COMPUTING?"
Coming from an EXPERT PROGRAMMER such as myself, the latest trend among us /prog/riders is this, Functional Programming.
That's right, Functional Programming. That's an EXPERT PROGRAMMER's way of programming.
Functional programming means more functions than kludge. But on the other hand there are no side-effects. This is the key.
And then, it's delicious. This is unbeatable.
However, if you learn this then there is a danger that you'll be marked by the JEWS from then on; it's a double-edged sword.
I can't recommend it to amateurs.
What this all really means, though, is that you, >>1, should just stick with FIOC.

Name: Anonymous 2013-01-22 1:41

"It's time for some ENTERPRISE QUALITY!" Asakura cheerfully cried as she conjured the spirits of the JVM, producing a flood of boiling-hot coffee that rushed its way towards The Sussman, who stood motionless, parentheses continuing to issue from his wand like electromagnetic radiation.
"You think your turkey solutions can stop me?" The Sussman said calmly before lowering his wand, forming the pool of parentheses now gathered around him into a sharp pointed cone aimed at Asakura. Suddenly he shouted "LIIIIIIIIIIIIIIIISP!" and the parentheses shot forward into the waves of coffee, pushing the boiling hot liquid back towards where it came.

"Nooooooo....." her cries became weaker as she became engulfed in the dark brown liquid. Everything turned black and I felt as though I had fainted. I awoke to a familiar voice.

"...before we do that for the next couple of lectures we're gonna be talking about..."

I opened my eyes and raised my head to find myself seated in a lecture theater. I glanced at the clock and found that I had missed most of the lecture. "Damnit! I was looking forward to the first lecture of the last semester of 6.001!" I thought to myself.

Name: Anonymous 2013-01-22 2:33

turkey solutions
lol

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2013-01-22 3:16

>>32
For when Thanksgiving becomes too much to handle.

Name: Anonymous 2013-01-22 4:07

>>33
Why are you still here? The rest of us left ages ago.

Name: Anonymous 2013-01-22 4:16

>>34
left? left where? /prog/ might be shit, but everything else is worse.

Name: Anonymous 2013-01-22 6:01

>>35
If you want shitposting there are better places
If you want jew discussion there are better places
If you want anonymous programming discussion there are better places

But there's no place like my little /prog/

Name: Anonymous 2013-01-22 6:47

>>36
Please share the links so that we can help shit up those places

Name: Anonymous 2013-01-22 8:39

>>34,36
I would like a place with anonymous programming discussion and programming-related shitposting, something like /prog/ from 2009-2011.  If you do know of such a place, kindly encrypt its location with my public key 300C 098F FF8A DDE9 8A84  96F0 1914 3059 8DF4 9E0D (so that Ahmed doesn't see it) and post it here.

Here
isundeniableproofofmyBBCode
EXPERTISE

Name: Anonymous 2013-01-22 9:22

>>34,36
Please, do what >>38 said. Take this insufferable faggot with you.

Name: Anonymous 2013-01-22 9:28

>>38
Really, you're a pathetic asshole.

Name: Anonymous 2013-01-22 10:19

>>39-40
fuck you freedom-hating cretin

Name: Anonymous 2013-01-22 10:24

>>38
No such place exists (a combination of programming shitposting and programming).
We could always shit up /comp/.
Also, please do not bully Ahmed. Goyim have feelings too!

Name: Anonymous 2013-01-22 10:27

>>42
No such place exists (a combination of programming shitposting and programming).
So you are telling me that old /prog/ is truly forever gone? I... I think I'm going to cry for a bit.

Name: Anonymous 2013-01-22 10:53

EUREKA
I've found it!
old /prague/ is here:
http://boards.4chan.org/g/res/30906652
you can even use this catalog, http://catalog.neet.tv/g/ combined with the find function on your browser to find these programming threads among the /g/hetto!
Nifty!

Name: Anonymous 2013-01-22 10:53

>>43
Trying too hard.

Name: Anonymous 2013-01-22 11:16

>>44
old /prague/ is here:
boards.4chan.org
IHNBT

Name: Anonymous 2013-01-22 11:22

>>36
If you want shitposting there are better places
Reddit? /g/? /b/? Yeah, no.
If you want jew discussion there are better places
Stormfront? Fuck you faggot. And what's the point of antisemitism if you don't have a Nikita who also knows Lisp?
If you want anonymous programming discussion there are better places
IHBT

Name: Anonymous 2013-01-22 11:29

>>33
shalom!

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