Urban75 Home About Offline BrixtonBuzz Contact

Why is java soooo popular?

PHP is shit; I don't know why people use it. It is simple because it has no real structure.
You have no idea what you're talking about. Go and stand in the corner. If you're about to follow up with 'ASP is the Bestest', shoot yourself in the face instead.
 
jæd said:
Sixpeople wrote and tested a network protocol...? :rolleyes: In Java thats about one person per line of code you'll need.
To be fair to us, we didn't slam something on top of IP, we have a different protocol to run parallel with it.

So it's more like a hundred lines per person :D And only 3 did the network, the other 3 did applications for it.

But the point stands - for networking, Java is amazing.
 
fractionMan said:
You have no idea what you're talking about. Go and stand in the corner. If you're about to follow up with 'ASP is the Bestest', shoot yourself in the face instead.
Seconded.
 
* verbosity. The size and packaging system of the java libray is such that declarations of the form:
io.longclasspackagename.longsubpackagename.morepackaging.classname

This gets me too. I can type, but sometimes it's like writing lines at school calling this shit.
 
Good Intentions said:
But the point stands - for networking, Java is amazing.
That's a feature of the library rather than the language (Java is really 3 different things: a language, a library and a runtime environment). With similar libraries, other languages are just as good.

For example, Perl has a veritable smorgasbord of networking libraries. There are also many convenient C++ networking libraries out there. Once you have a convenient networking API, coding a network protocol is fairly straightforward in any modern language (with the exception of VB, of course).
 
Fruitloop said:
This gets me too. I can type, but sometimes it's like writing lines at school calling this shit.

Use a decent IDE! Takes seconds, and does all the work for you..!
 
gurrier said:
That's a feature of the library rather than the language (Java is really 3 different things: a language, a library and a runtime environment). With similar libraries, other languages are just as good.
Oh, I'm not going to argue. But Java is a 'complete package' type of developing enviroment (not to the pointless extent of MS stuff, but anyway) where the language is almost the least imporant - it's all about the virtual machine.
 
jæd said:
Use a decent IDE! Takes seconds, and does all the work for you..!
That's cheating innit :p Real coders use vi!

But seriously, it's not the pain of typing it that I object to, it's just so fucking ugly looking.
 
spring-peeper said:
I think it's because the uber-geeks are control-freaks, imo ;)

Nail. Head.

C-- is verbose assembler.

Want to multiply your grandmother's birthday by the background colour?

C--: Sure. Here's a pointer to some RAM orbiting Alpha Centauri.

Proper language: Are you sure you want to do that? Really sure? Prove it. Nope, I'm not convinced by that pathetic typecast. Try again.
 
fractionMan said:
You have no idea what you're talking about. Go and stand in the corner. If you're about to follow up with 'ASP is the Bestest', shoot yourself in the face instead.

No, ASP is shite too. JSP and Java work wonders. Pure JSP is a bit toffee but couple it with the power of Java and it's amazing.
 
gurrier said:
Seconded.

PHP is a script kiddies language. Look at the change from PHP 4 to 5; what a joke. It has hardly any structure and is laughable. Look at magic quotes; very useful but can be turned off thus negatating the benefit.
 
Cotch said:
PHP is a script kiddies language. Look at the change from PHP 4 to 5; what a joke. It has hardly any structure and is laughable. Look at magic quotes; very useful but can be turned off thus negatating the benefit.
Says he, typing his message into a professionally produced and highly complex programme which is written in PHP.

You sound like somebody who learned Java first and hasn't enough experience to be able to see the merit in different approaches to programming. PHP is a perfectly good tool for web programming and a good prototyping language. For various reasons Java is a much worse tool for both of these jobs.
 
gurrier said:
Says he, typing his message into a professionally produced and highly complex programme which is written in PHP.

You sound like somebody who learned Java first and hasn't enough experience to be able to see the merit in different approaches to programming. PHP is a perfectly good tool for web programming and a good prototyping language. For various reasons Java is a much worse tool for both of these jobs.

I run a couple of vBulletin boards myself and am aware of its complexities.

PHP has its uses but I don't rate it. I prefer the ingrained OO nature of Java and also its flexibility. Yes Java is anal, yes it can be a pain to program in but the end result is nearly always code that is easy to follow. PHP allows you make very bad programming decisions and developments because of the structure (or lack of) it has.

And for the record I programmed in C long before I programmed in Java.
 
gurrier said:
That's cheating innit :p Real coders use vi!

But seriously, it's not the pain of typing it that I object to, it's just so fucking ugly looking.

Coders that get paid use IDE's.
 
Cotch said:
No, ASP is shite too. JSP and Java work wonders. Pure JSP is a bit toffee but couple it with the power of Java and it's amazing.

All languages are shite. Thats why all software is shit and sucks badly.
 
I like Java and OO generally, but I'd be stuck - or at least much more annoyed without Perl, and most of my site is in PHP. I can knock up a stupid web toy or an RSS aggregator or some other small piece of smartness with it in my lunch break that will work on all but the most basic of servers, so other people can use them too with minimum effort. And Perl has saved my arse and other people's arses numerous times at work.

I'm currently learning Ruby, which claims to fill the role of a proper OO Perl; dunno yet. But really, it's all "whatever work best in practice". Anyone who gets hung up on a specific language is just being unrealistic. If your whole team know Java and you want to put together a web app you're going to use JSPs. It's very rare that you have an entirely free hand with platform, colleagues etc.
 
"All languages are shite. Thats why all software is shit and sucks badly..." word. But as a wanna be I'd say that some suck more than others. I'ma also learning Ruby. Took a long puase and thought that I'd go for ruby instead of Python but that's just my personal choice.
 
I've got that in my bag too. It's quite well written and easy reading - although I was a bit annoyed to only discover at the end of a chapter, mentioned as an afterthought, that variables were actually pointers... you don't think that's significant information at all?
 
jayeola said:
Ah, you are suggesting Lisp, eh? I've considered writing a game in Slang.... but I I'm going the OO route.

In pure OOP, everything is an object.

In lisp, everything is a function -- even data, should you si wish.

If you meditate upon objects for long enough, you realise that you really don't care about data encapsulation, or inheritance, or interfaces. The only thing that you really care about in your objects is their functional behaviour.

I put it to you that Lisp is an OO language (although not a class-based OO language like C++ or Java; there are many different forms of object orientation out there, such as the object-based object orientation of perl)

Sadly, these observations are entirely philosophical, and as such have too little relevance when it comes to writing actual code.
 
Cotch said:
PHP is a script kiddies language. Look at the change from PHP 4 to 5; what a joke. It has hardly any structure and is laughable. Look at magic quotes; very useful but can be turned off thus negatating the benefit.
Far from being a 'script kiddy' language or a 'joke', PHP is used in many enterprise class solutions. We routinely use it as a presentation layer, communicating with our back end servers using SOAP. We use an OO PHP model and it serves us very well indeed. Not to mention it's a doddle to use. I fail to understand what you dislike about it.

Perl on the other hand is great for quick and dirty. I wouldn't want ot base an entire site on the stuff, but the odd bit here and there can really help. It's quite handy when you need to mess around with client auth for example.

Horses for courses really.
 
Back
Top Bottom