Scripting Language City 30
Ursus Maximus writes "Scripting Language City is for folks who want to learn more about the future of this increasingly important subset of the programming universe. Scripting languages are not just for odd jobs anymore ;-))). Special attention is paid to four languages in Python City, Ruby City, Perl City, and JavaScript Expert Systems which includes a Scripting Language Chooser Program as well as a Basketball Expert Ssystem and a Football Expert System that are certainly something different from the usual same old mouse-over scripts usually found on JavaScript sites. There is also a web spider program that scrapes the web daily and provides updated lists of new web articles on scripting languages, with seperates outputs for each of the featured languages. as added bonuses, there is a page of essays and resources on open source and the free software movement called Farnham's Freehold and a page called The Linux Chronicles that follows the experiences of a Linux newbie with wit and humor. Not a slick professional web site, Scripting Language City is a work of love by a paramour of everything connected with scripting languages, open source, and the programming of free software."
Web design (Score:2, Informative)
Andy
Re:Web design (Score:1)
try lynx (Score:1)
animations, this layout has a very negative impact on the usability of the site.
however, give it a try with lynx, i just did and it looks much better (kinda like reading
through a man or info page).
Re:Web design (Score:3, Interesting)
Quite. You have to wonder about the quality of a website that claims to offer advice on scripting (both on and off the web), yet cannot even cobble together a decent website (not just the aesthetics, I'm talking about <font> elements, etc).
I wouldn't want to live in one of these cities... (Score:2, Funny)
what about VBA? (Score:5, Insightful)
I also know that other fields use VBA without knowing that the other scripting languages even exist. Having a scripting city without VBA is sort of like having San Fransisco without china town.
Even if you are vehemently opposed to VBA for moral reasons, think about the benefit of having a VBA section of your website. When people search the web for VBA help, they come to your website, get the help that they need and learn that these other beautiful scripting languages exist that might provide benefits which VBA cannot.
Re:what about VBA? (Score:2)
I thought it was an interprted language that get's compiled into byte code.
Re:what about VBA? (Score:5, Informative)
Perl, Python and Java get compiled to bytecode, too - but (AFAIK) Perl always compiles to bytecode "on the fly" and never stores it on disk, Python compiles modules on the first import and keeps bytecode files for faster future loading, and Java uses only the byte-compiled files. Other languages, like OCaml or Lisp, can be interpreted or compiled to either byte- or native code. Somebody wrote an interpreter for C. So, which of these languages is a scripting language?
I guess the best definition would be "People are more likely to consider it for smaller projects". It's not a property of a language or an implementation of a language (which might be identical, e.g. perl defines Perl), but of the mindset of it's users.
That said, the term "scripting" originally meant writing glue code to control the "real" app, which is pretty much what VBA does. (BTW, you do know the difference between VB and VBA, do you? VB is the one that is used for standalone apps, while VBA is what you get in the "macro editor" of MS Office. They are not the same language.)
Exactly what is the definition... (Score:3, Informative)
I just did a bit of research to try to find the definition of a scripting language.
Apparently so have a lot of other folks, as I came across the following:
The Definition os a Scripting Language [man.ac.uk]
team 1 score 0, team 2 score 0, team 2 will win (Score:1)
Re:team 1 score 0, team 2 score 0, team 2 will win (Score:2)
Re:team 1 score 0, team 2 score 0, team 2 will win (Score:2)
The instructions say from 1-10, but a user can input 0, 11, or "a".
Factors in choosing a scripting language (Score:5, Interesting)
JavaScript: a*9 + b*9 + c*10 + d*-10 + e*10 + f*1 + g*6 + h*6
where a = ease of learning, b = ease of use, c = client-side Web scripting, d = server-side Web scripting, e = popularity and installed base, f = graphics, g = readability, h = object model.
Or presented another way:
learnability: Python=10, JS=9, Perl=6, Ruby=5.
usability: Python=10, JS=9, Ruby=8, Perl=7.
client-side scripting: JS=10, all others=-10.
server-side scripting: Perl=10, Python=7, Ruby=6, JS=-10.
popularity: Perl=10, JS=10, Python=6, Ruby=1.
graphics: JS=1, all others=10.
readability: Python=10, Ruby=7, JS=6, Perl=1.
object model: Ruby=10, Python=7, JS=6, Perl=2.
Now I'm not sure I'd agree with all of these ratings (e.g. Python 10 times more readable than Perl? Seems pretty harsh...), but they're interesting to look at. They seem pretty off-the-cuff to me. Perhaps they say as much about the opinions of the Web site author as they do about the languages.
Re:Factors in choosing a scripting language (Score:1, Informative)
and the knowledge of the author, as a -10 for server side javascript seems to imply impossibility (as it is the same -10 for client side perl, python, ruby), but server side javascript exists and is used.
Umm ... good web design *matters* (Score:2)
I mean, if you're over your head in making it look halfway decent (never mind steps like accessibility, XHTML compliance and CSS) then ask for help [sourceforge.net], instead of pretending that bad design is something positive.
I mean, no one is born knowing this stuff, and I don't want to discourage you from working at it. But the site looks bad, the JavaScript apps have errors, and the heralded "The Linux Chronicles" have only been updated twice in six months. So don't oversell yourself or your site (by announcing it on Slashdot, for example).
What about /bin/sh?? (Score:1)
Re:What about /bin/sh?? (Score:2)
sh is available on every Unix and unix-clone there is, out of the box. No need to install bash before you can get some work done. No need to put Perl or Python in the base system. It's small, it's fast, it works and it is a standard.
About a year ago I spent a month converting a bunch of bash-1 scripts to plain Bourne Shell. They could have easily been written in sh to begin with, but the guy who first did them was a Linux weenie and that bash was a standard shell. Then the systems in question got upgraded, bash-1 went away, and all the maintenance scripts broke like a newlywed's bank account.
Yikes (Score:2)
Adding it up (Score:1)
Now, what I want to know is - is that good or bad?
Scripting - what about TCL? (Score:1)
Can be extended nicely - runs on most platforms, has GUI support, has multiple OO extensions, is widely used in testing telecommunications systems.
Why is it left out?
Scripting - what about Rexx? (Score:2)
IO utilities change a bit but the core language is pretty stable and usable.
Not saying it's better than InsertScriptLanguageOfChoice but it is easy to learn, flexible and powerful. If you go ObjectRexx you get the obvious and with NetRexx you can generate Java from it , IIRC.
What about ease of embedding? (Score:2, Interesting)
Re:What about ease of embedding? (Score:1)
Lua is absoluetley fantastic if you just want something simple, like a programmable configuration file to call a few built in routines in a specific order, with a few ifs and an coccasional loop. Probably not for you though. It's a little too simple, and only really deals with strings and numbers.
Re:What about ease of embedding? (Score:2)