Home > Archive > Java Help > October 2006 > Re: Why is java considered a language for "web" or "internet" pro
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: Why is java considered a language for "web" or "internet" pro
|
|
| BillJosephson 2006-10-22, 7:07 pm |
|
Oliver Wong wrote:
> "BillJosephson" <billjosephson@hotmail.com> wrote in message
> news:1161313617.810461.157180@m7g2000cwm.googlegroups.com...
>
> Aside from the tools and libraries other have mentioned, Java is also
> nicer than C and C++ (but perhaps not as nice as Perl or PHP) in that it has
> a builtin String type which reduces buffer overflow vulnerabilities.
>
> - Oliver
I did quite a bit of programming in Perl, mostly scripting stuff to
automate analyses. Compared to java (or C, C++, etc.) it seems
completely undisciplined. There (as I recall) is no modularity (could
be wrong), and so on, it just seemed like the wild west. I was not
comfortable programming in it. But I guess you can do anything in any
language that is NP Complete.
| |
| Tom Forsmo 2006-10-22, 7:07 pm |
|
BillJosephson wrote:
> I did quite a bit of programming in Perl, mostly scripting stuff to
> automate analyses. Compared to java (or C, C++, etc.) it seems
> completely undisciplined. There (as I recall) is no modularity (could
> be wrong), and so on, it just seemed like the wild west. I was not
> comfortable programming in it. But I guess you can do anything in any
> language that is NP Complete.
Unlike java and most other languages, perl allows you to free reign.
That does not mean you can not program clean, modular(or oo) and
disciplined code. It only means that perl comes with a lot of legacy
stuff meant for the early "sy m quick and dirty hack" coder. Today's
perl is just as good as any other mature programming language, you just
have to read the proper book (which would be "Programming Perl") and not
get lured into thinking you should skip all rules just because its perl.
tom
| |
| Chris Smith 2006-10-22, 10:02 pm |
| BillJosephson <billjosephson@hotmail.com> wrote:
> I did quite a bit of programming in Perl, mostly scripting stuff to
> automate analyses. Compared to java (or C, C++, etc.) it seems
> completely undisciplined.
Discipline is, of course, a characteristic of a programmer rather than a
programming language. That said, I agree that it is considerably more
difficult to convey the organization of a project within the language
itself in many other languages as opposed to Java.
> But I guess you can do anything in any
> language that is NP Complete.
Presumably, you mean Turing-complete. NP-complete refers to how
difficult a problem is.
--
Chris Smith
|
|
|
|
|