Beta

Slashdot: News for Nerds

×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Look! Perl is better than C++ and Java!

FortKnox (169099) writes | more than 11 years ago

Slashdot.org 5

The new poll makes me wonder. The "best scripting language" contains both C/C++ and Java.

Granted, some old-school C coders may script in C, but who SCRIPTS in C++ or Java? I think they are just up there to have a poll that shows perl is better.
Now, don't get me wrong, I think perl is a wonderful scripting language. I just don't htink its the answer to large applications or large web apps.The new poll makes me wonder. The "best scripting language" contains both C/C++ and Java.

Granted, some old-school C coders may script in C, but who SCRIPTS in C++ or Java? I think they are just up there to have a poll that shows perl is better.
Now, don't get me wrong, I think perl is a wonderful scripting language. I just don't htink its the answer to large applications or large web apps.

I think the title of the poll should change to "what's the best language", or C++ and Java should be dropped from the selections for ksh, sh, or even .BAT

cancel ×

5 comments

C and scripting (2)

norwoodites (226775) | more than 11 years ago | (#3960646)

I script in C using csh.

I agree (1)

Pinball Wizard (161942) | more than 11 years ago | (#3961285)

C++ and Java are not scripting languages. They don't belong in the poll. I wouldn't even count javascript as a scripting language because its confined to browser programming for the most part(except in MS-land, where it can be used anywhere vbscript can, go figure)

VBScript and Ruby are a couple of really good scripting languages that were left off so they could put C++ and Java in there.

But yeah, I agree, as far as scripting languages go Perl rocks. I wish it were easier to combine genuinely easy scripting languages with powerful Object Oriented beasts like Java. Admit it, even in a big Java program, there are times that you wish that GUI button would fire off a Perl script rather than access some method in a big OO hierarchy.

Re:I agree (2)

norwoodites (226775) | more than 11 years ago | (#3961771)

JavaScript, you can use as a scripting language as a replacement for AppleScript on the Mac.

Re:I agree (1)

jeffy124 (453342) | more than 11 years ago | (#3962669)

they added a regexp package in jdk1.4, it might be useful for getting the pattern matching aspects of perl into java. I've never used it, so I dont know how good it is.

Re:I agree (1)

FortKnox (169099) | more than 11 years ago | (#3965461)

Regexp in Java aren't as good as perl regexp, but, on the other side, Java's String object has great methods that do wonders to string manipulation.
Check for New Comments
Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Create a Slashdot Account

Loading...