1

Is there any specific advantage to the scripting languages which are not Object-oriented?

Ava
  • 5,783
  • 27
  • 58
  • 86

1 Answers1

2

The simplest answer is "no" but really asking the questions means you just need to understand what "object oriented" means. One of the easiest things for you might be to take scripting languages that have OO tacked onto them like Perl. This is old but explains it nicely.

One of the simplest scripting languages I ever used that also is very useful IMHO is TCL. TCL programs typically do not use Object orientation, although it has an extension to do so for the die-hards :)

Aaron Anodide
  • 16,906
  • 15
  • 62
  • 121
  • 1
    Perl is not an acronym. And `my` has nothing to do with OO. And Tcl has had object orientation in its core since 8.6 (and [incr Tcl] since 1993). – CanSpice Sep 06 '11 at 19:36
  • 1
    @CanSpice: So your position is that Perl couldn't possibly stand for "Patholically Eclectic Rubbish Lister" or "Practical Extraction and Report Language"? In case you care, Larry has been asked about whether it should be capitalized, and (typically) replied that it doesn't matter -- "there's more than one way to do it." – Jerry Coffin Sep 06 '11 at 19:47
  • @Jerry: [You need to read the perldoc regarding Perl's name.](http://perldoc.perl.org/perlfaq1.html#What's-the-difference-between-%22perl%22-and-%22Perl%22%3f) – CanSpice Sep 06 '11 at 19:52
  • @CanSpice: I've read it. What makes you think it has any real authority? For that matter, what makes you or them certain the expansions must be apocryphal and/or post-facto? The very first time I heard of Perl (early 1988), Larry personally gave both of the expansions I quoted above. Given the timing and obscurity of Perl at the time, it seems more likely to me that any post-facto editing is in the opposite direction, retracting the expansion, not adding it. – Jerry Coffin Sep 06 '11 at 20:01
  • what's everyone up in arms about? want me to delete this answer? Is it the bless keyword? – Aaron Anodide Sep 06 '11 at 20:19
  • PS CanSpice, I knew about incr TCL (mind you this was 1996) and thought it was an extension.. didn't realize it was totally integrated - but as an example of how to use a script language in a non-OO style, I thought it was a good example. – Aaron Anodide Sep 06 '11 at 20:22