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

Pages: 1-4041-8081-

The Case for Java

Name: Java Programmer !5Yn0PMIwXM 2008-05-13 22:19

I am a programmer. I have dealt in many languages, but I have ended up with Java. Java is the best language for implementing general programs.

Java is fast. It's no C/C++, but it's head and shoulders above comparable high-level languages.
Java is memory-managed.
Java supports just the right level of features. It doesn't have C++'s feature fetish.
Java has an expansive, (mostly) cross-platform API. It's not perfect, but it sure beats writing everything yourself.
Java and its API are constantly being improved.

In any program of significant size, the problem isn't writing your Bloom filters or splay trees with elegant syntax. It's a problem of communication with other programmers (including library-writers). Java's strict typing, rigid structure, documentation system, and excellent developer tools (aka Eclipse) all help you out.

It's not perfect. Sure, first-class functions would be nice, but you never use them except on your homework assignment where you pass the comparator to a sort function. If you're building a little toy program, it's a pain to put everything in an object, but you'll be thankful you did once that program gets big enough. The syntax sucks, but it's familiar. Sure, Eclipse is slow, but suck it up big balls.

Java isn't perfect, but it's the best in practice.

Name: Anonymous 2008-05-13 22:23

This looks like copypasta.

Name: Anonymous 2008-05-13 22:47

Java is fast. It's no C/C++, but it's head and shoulders above comparable high-level languages.
No, Java is slow.
Java is memory-managed.
words with no meaning.
Java supports just the right level of features. It doesn't have C++'s feature fetish.
Just because language A sucks doesn't mean it's meaningful to use B.
Java has an expansive, (mostly) cross-platform API. It's not perfect, but it sure beats writing everything yourself.
Since when did anyone had to write everything himself?
Java and its API are constantly being improved.
Same for anything computer related.
and excellent developer tools (aka Eclipse) all help you out.
Eclipse sucks. If you don't use vim, emacs or a variant you're a fucking moron.
It's not perfect.
Indeed, it is not.
Java isn't perfect, but it's the best in practice.
Says the, what, stupid brainwashed 2 years experience code monkey?
Thanks, very insightful post. not.

Name: Java Programmer !5Yn0PMIwXM 2008-05-13 22:51

Eclipse sucks. If you don't use vim, emacs or a variant you're a fucking moron.

You had me up to there.

6/10.

Name: Anonymous 2008-05-13 23:19

>>4
So it wasn't copypasta. Get out

Name: Anonymous 2008-05-13 23:23

I mostly agree with >>1, however..

Java supports just the right level of features. It doesn't have C++'s feature fetish.
Sort of. The language designers have fucked up several times by not including things that should have existed from the outset (enums, generics, foreach). And the Java Class Libraries are always growing with no end in sight.

And J2EE is a PIG DISGUSTING abomination that should be stricken from the face of the earth.

Name: Anonymous 2008-05-13 23:25

>>6
I concur.

Name: Anonymous 2008-05-13 23:30

.NET is better

Name: Anonymous 2008-05-13 23:36

>>8
I concur. Nevertheless, Microsoft is running that show, which I can't help but find disquieting.

Name: Anonymous 2008-05-14 0:03

Well the concept behind .NET is great.  The new shit they added in 3.5 is pretty cool.  The idea behind linq is great too.  Some problems with deterministic destruction etc are the only problems.

Name: Anonymous 2008-05-14 3:55

Java is great for small to medium sized programs, or when the organization of what you're doing slots perfectly into OO (most large-scale projects definitely develop requirements that stray from OO, or have multi-language or build/run-time dependencies that Java doesn't work well with).

Anything else, and I use Lisp or Erlang, or C++ for doing fast batch number crunching.

Name: Anonymous 2008-05-14 8:28

>>10
I hate IDisposable, especially how it must be implemented in C#.

I also hate how generics were introduced after most of the framework was designed, and so most of the framework (e.g. System.Windows.Forms) uses no generics at all, making it a pain in the arse to use (can't really use Linq or type inference, for one).

Name: Anonymous 2008-05-14 8:45

>>2
is dump oolool

Name: Anonymous 2008-05-14 8:46

HAX MY ANUS

Name: Anonymous 2008-05-14 18:01

>>14
k

Name: Anonymous 2008-05-14 21:09

What the fuck happened to my /prog/? Why are you talking about java, C#, and >>14,15 without feeling that you are doing it wrong?

Name: Anonymous 2008-05-14 22:24

>>16
This is/prog/, not /ComputerScienceGradStudent/.

Name: Anonymous 2008-05-14 22:29

>>1
Your argument is unscientific and ultimately destructive.

Name: Anonymous 2008-05-14 23:04

yes we all realize that java and C# and the ilk are like the honda civics of programming.  Basically you can express yourself much more elegantly in languages with some Functional programming or heavy functional programming.  The this is that state programming is much simpler on the brain (and most programmers are stupid)

Name: Anonymous 2008-05-14 23:24

most programmers are stupid
I am one of these programmers and I concur. LISP hurts my head

Name: Anonymous 2008-05-14 23:45

>>20
foldr (max) 0 [5,10,2,8,1]

Name: Anonymous 2008-05-14 23:47

I can understand basic lambda-expressions but this shit about call/cc is just impossible. And don't get me started on Haskell, the biggest fag factory of all time

Name: Anonymous 2008-05-15 2:11

>>20
Lisp (why do you capitalize, faggot?) is many times less complicated than Java.

Name: Anonymous 2008-05-15 2:17

>>19
Java and C♯ being retarded languages has nothing to do with state programming vs. functional programming.  They're just retarded languages.

Name: Anonymous 2008-05-15 3:34

>>21
(max 0 5 10 2 8 1)

Also, ((call/cc call/cc) (call/cc call/cc))

Name: Anonymous 2008-05-15 3:48

>>21
Inferior to (max 5 10 2 8 1).
Why? Try your method with [-1, -2]
foldr (max) 0 [-1, -2] doesn't work, does it?

Name: Anonymous 2008-05-15 4:09

>>26
>>21 is stupid. You use maximum [5, 10, 2, 8, 1]. And if you absolutely want to define your own version, you do foldl1' max [5, 10, 2, 8, 1]. Both will work perfectly fine with negative numbers as well. And why the fuck did >>21 put parentheses around max?

Name: 27 2008-05-15 4:19

Also, while (max 5 10 2 8 1) might look a bit nicer, and you could probably emulate it in Haskell with some typeclass hackery, in real situations you'll be taking the maximum of some given list anyway. If we assume xs is your list, the Haskell version is maximum xs while Lisp would require you to do something like (apply max xs) or  (correct me if there's a better way, I'm no Lisp expert).

Name: Anonymous 2008-05-15 4:20

>>28
s/ or//

Name: Anonymous 2008-05-15 5:08

>>27-29
I also like haskell. I know >>21 is stupid, my post wasn't trying to imply that lisp is somehow superior to haskell because of that.
Yes; (apply max xs) is correct. If you don't like it, (defun maximum (xs) (apply #'max xs)) is one thing you can (obviously) do in common lisp.

Name: Anonymous 2008-05-15 7:59

Java is actually pretty good. Why exactly do you not like it in non-flame words, please.

Name: Anonymous 2008-05-15 8:19

>>31
This sounds like a topic for /pr/

Name: Anonymous 2008-05-15 11:14

>>31
Read SICP.
Seriously.

Name: Anonymous 2008-05-15 15:47

>>28
In real-world situations I more often find myself taking the maximum of two variables rather than a list.

Name: Anonymous 2008-05-15 16:24

>>33
hax my anus.
Seriously.

Name: Anonymous 2008-05-15 16:30

>>33
hax >>35's anus.
Seriously.

Name: Java Programmer!5Yn0PMIwXM 2008-05-15 16:44

Disregard that, I suck cocks.

Name: Anonymous 2008-05-15 18:18

>>34
Your real-world situations suck, faggot.

Name: Anonymous 2008-05-15 18:56

>>38
perfect lisper`s respons

Name: SpellCheckingBot 2008-05-15 19:15

>>39
* response *

Name: Anonymous 2008-05-15 19:48

P e n i s.

Name: Anonymous 2008-05-16 0:22

>>33
I implemented Lisp in Java, so fuck you.

Name: J 2008-05-16 0:50

Name: 38 2008-05-16 1:07

>>39
Actually, I am a Haskeller.

Name: Anonymous 2008-05-16 4:04

>>44
Same useless language.

Name: Anonymous 2008-05-16 4:45

>>45
Enjoy your inferior mind.

Name: Anonymous 2008-05-16 5:00

>>46
I will, along with my job.

Name: Anonymous 2008-05-16 11:06

>>46,47
ZING!

Name: Anonymous 2008-05-16 11:26

>>48
That was not ZING!worthy, my friend.

Name: Anonymous 2008-05-16 11:54

>>49
butthurt (haskell|lisp)fag.

Name: Anonymous 2008-05-16 16:43

>>50
Enterprise code monkey desperately clinging to an illusion of self-respect. Enjoy your turnkey solutions, whore.

Name: Anonymous 2008-05-16 17:01

>>47
I will, along with my job.

Name: >>52 2008-05-16 17:02

>>51
I will, along with my job.

Name: Anonymous 2008-05-16 20:43

>>46
I will, along with my Job 7:1-3 ;_;

Name: Anonymous 2008-05-16 21:01

Is there not an appointed time to man upon earth? are not his days also like the days of an hireling?
As a servant earnestly desireth the shadow, and as an hireling looketh for the reward of his work:
So am I made to possess months of vanity, and wearisome nights are appointed to me.

Name: Anonymous 2008-05-16 21:45

>>54,55
I will, allong with my loeb.

loeb :: Functor f => f(f a -> a) -> f a
loeb f = fmap ($ loeb f) f

Name: Anonymous 2008-05-16 22:17

>>55
Are we not men?
We are Devo.

Name: Anonymous 2008-05-16 23:14

>>55
Wow, KJames' translations suck. I don't know why people stick with them when there are so much better groups out there.

Name: Anonymous 2008-05-17 2:13

i read the title of this thread as "the case for jews" at first

Name: Anonymous 2008-05-17 15:35

>>59
go back to /vip/ please

Name: Anonymous 2008-05-17 16:05

>>59
I think uppercase

Name: Anonymous 2008-05-17 16:38

>>61
And so, once again, life imitates art.

Name: Anonymous 2008-05-17 20:36

Java as a language is fine enough.

The rest of the platform is fucking stupid as shit!

The API/library is fucking horse shit. Hey look JavaButton. As opposed to what exactly? Is there going to be a LISPButton in the same fucking namespace of some gay shit like that. NO! It should just be button, because its a fucking button.

Generics! Java fucked that up royally. At run time all your types are erased and cast between the expected type and object on access. WTF! One reason to use generics is to avoid unneeded casting, but Java fucks it up for you. And you can't use primitives, that's a fucking joke.

>it's a pain to put everything in an object

Given that its an object oriented language, shouldn't that be a sign that something is fucking wrong there.

>Eclipse

is shit when compared to something like Visual Studio.

Its hard to compare Java to .Net. Because .Net completley blows Java out of the fucking water.

Name: Anonymous 2008-05-18 4:17

>>63
Uh, generics in Java are a compiler-time construct. Eclipse really isn't that bad, I've never used Visual Studio but from what I've read it's pretty much NetBeans with less features. Whoop-dee-fucking do.

Name: Anonymous 2008-05-18 5:30

>>63
Given that its an object oriented language, shouldn't that be a sign that something is fucking wrong there.
It should be a sign that making an exclusively "object-oriented" language is a bad idea.

Name: Anonymous 2008-05-18 6:35

>>63
wrong

Name: Anonymous 2008-05-18 10:10

>>65
Wrong. Counterexample: Smalltalk.

Name: Anonymous 2008-05-18 10:50

>>67
Wrong. Evidence: Smalltalk.

Name: Java Programmer !5Yn0PMIwXM 2008-05-18 12:01

>>65
OP here.
As I implied, it would for Java to be nice to have a truly object-oriented language. Sadly, methods, primitives, and labels are not objects.

Name: Anonymous 2008-05-18 12:04

>>67
Smalltalk is shit.

Name: Anonymous 2008-05-18 12:32

    ◑ ◔
    ╔═╗
    ║▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
    ╚═╝

Name: Anonymous 2008-05-18 13:22

    ◑ ◔
    ╔═╗
    ║HAX MY ANUS
    ╚═╝

Name: Anonymous 2008-05-18 17:44


    ◑ ◔
    ╔═╗
    ║
HAVE YOU READ YOUR SICP TODAY?
    ╚═╝

Name: Anonymous 2008-05-18 17:54

>>67
Smalltalk is cute but it is no Lisp.

Name: Anonymous 2008-05-18 18:30

>>64

Then you know very little about Visual Studio. What a surprise.

Name: Anonymous 2008-05-18 18:33

    ◑ ◔
    ╔═╗
    ║HAX MY ANUS
    ╚═╝

Name: Anonymous 2008-05-18 21:17

    ◑ ◔
    ╔═╗
    ║
HAXMYANUSHAXMYANUS
    ╚═╝

Name: Anonymous 2008-05-19 1:15

>>64
Uh,
uh uh uh uh uh uh uh uh

Name: Anonymous 2008-05-19 5:14

>>78
Like in the new SICP lectures (anyone even seen them?)

Name: Anonymous 2008-05-19 8:30

>>79
Link me, motherfucker.

Name: 79 2008-05-19 12:04

>>80
    ◑ ◔
    ╔═╗
    ║HAX MY ANUS
    ╚═╝

Name: Anonymous 2008-05-19 12:27

>>77
Well I think I really am the best BBCODE programmer here.

Name: Anonymous 2008-05-19 12:29

Name: Anonymous 2008-05-19 12:59

>>81
holy shit is that shoop da whoop man?

Name: hax my anus 2008-05-19 13:49

    ◑ ◔
    ╔═╗
    ║HAX MY ANUS IS A PRETTY COOL MEME
    ╚═╝

Name: Anonymous 2008-05-19 14:58

    ◑ ◔
    ╔═╗
    ║*GRABS LASER*
    ╚═╝

Name: Anonymous 2008-05-19 16:58

>>65
AUTOBOXING

Name: Anonymous 2008-05-19 18:58

    ◑ ◔
    ╔═╗
    ║HAX MY ANUS WITH A *GRABBED DICK*
    ╚═╝

Name: 2008-05-20 2:05

Name: Anonymous 2008-05-20 6:41

>>89
Fail for [b][/b]. Real BBCode masters leave no trace behind.

Name: >>90 hur hur 2008-05-20 11:54

Name: ­ 2008-05-20 13:12

­

Name: 2008-05-20 14:29

Name: 2008-05-20 14:33

Name: Anonymous 2011-01-15 19:52

The necrobumper strikes back!

Name: Sgt.Kabukiman–ظ 2012-05-23 5:45

All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy

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