Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

6 Languages You Wish the Boss Let You Use

Posted by timothy on Wed Oct 15, 2008 02:00 PM
from the esperanto-and-atlantean-are-compact-and-efficient dept.
Esther Schindler writes "Several weeks ago, Lynn Greiner's article on the state of the scripting universe was slashdotted. Several people raised their eyebrows at the (to them) obvious omissions, since the article only covered PHP, Perl, Python, Ruby, Tcl and JavaScript. As I wrote at the time, Lynn chose those languages because hers was a follow-up to an article from three years back. However, it was a fair point. While CIO has covered several in depth, those five dynamic languages are not the only ones developers use. In 6 Scripting Languages Your Developers Wish You'd Let Them Use, CIO looks at several (including Groovy, Scala, Lua, F#, Clojure and Boo) which deserve more attention for business software development, even if your shop is dedicated to Java or .NET. Each language gets a formal definition and then a quote or two from a developer who explains why it inspires passion."
+ -
story

Related Stories

[+] The State of Scripting Languages 415 comments
Esther Schindler writes to tell us that Lynn Greiner has another look at the state of the scripting universe as a follow on to the same topic three years ago. Greiner talks to major players from each of the main scripting languages (PHP, Perl, Tcl, Python, Ruby, and Javascript) to find out the current status and where they are headed in the future. "The biggest change since 2005 has been the growth of richer Web applications that perform more of their computations in the browser using JavaScript. The demand for these applications has forced developers to learn and use JavaScript much more than before. There's also been a lot of interest in Ruby, another dynamic language, spurred by the release and growth of Ruby on Rails. As a result of these changes, many developers are becoming more comfortable with dynamic languages."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by Beardo the Bearded (321478) on Wednesday October 15 2008, @02:04PM (#25387391)

    Your programming skills should not be tied to the language you use.

    • by krischik (781389) <krischik.users@sourceforge@net> on Wednesday October 15 2008, @02:08PM (#25387441) Homepage Journal

      Right on! A good programmer will learn any programming language in a fortnight. But sadly average programers don't.

      • Re: (Score:2, Funny)

        by Anonymous Coward

        How quickly will a good programmer learn Malbolge? [wikipedia.org]

      • by Eskarel (565631) on Wednesday October 15 2008, @08:53PM (#25393467)
        This is true, but totally beside the point.

        Learning a new language involves lost productivity, and if you choose a language that isn't in mainstream use it will involve lost productivity for everyone you hire to use it.

        Generally speaking new languages don't offer enough benefit over the old languages to justify that expenditure.

        It's the thing everyone always forgets, even if learning something new is easy, the new thing has to be sufficiently better than the old thing to justify the learning.

        Boutique languages are almost never a good investment because even if you hire a programmer who loves to learn the liklihood that they've learned any particular language is fairly low. Languages become popular not because they are superior in any technical sense, but because they provide a benefit for a project which outweighs the investment cost.

        Just because a programmer can learn a language doesn't mean it makes financial sense for them to do so on company time.

        • by pthisis (27352) on Wednesday October 15 2008, @04:36PM (#25390357) Homepage Journal

          I'd consider the minimum for a really good programmer to include at least a project or two's worth of exposure to:

          At least one assembly language or pseudo-asm.
          At least one mid-level pointer-driven language (C/C++/etc)
          At least one statically typed functional language (ML/Haskell/etc)
          At least one dynamically typed functional language (Lisp/Scheme/etc)
          At least one dynamically typed OO language (Smalltalk/Python/ruby/etc)
          At least one higher-level statically typed OO language (Java/Ada/C#/etc)

          That still leaves some holes that could be tricky to pick up, and ideally you'd know:
          At least one stack-based language (Forth/Postscript/etc)
          At least one imperative programming language (Prolog/etc)
          At least one DBC-centered language (Eiffel/Sather/etc)
          At least one concurrency-oriented language (erlang, etc)

          But you can have a long and successful career as a top-shelf programmer without really needing that latter group.

          And yes, those monikers are a bit arbitrary; you can do full OO in Lisp, functional programming in Python, etc. So you can get away with a lot fewer languages than there are on the list, as long as you learn the different programming models. It tends to be a little easier to learn a model with a language that's been used that way traditionally.

          I'm sure I'm missing some areas, too.

          • by arevos (659374) on Wednesday October 15 2008, @04:47PM (#25390533) Homepage

            I'd consider the minimum for a really good programmer to include at least a project or two's worth of exposure to...

            I'm familiar with languages in all those categories, but I wouldn't consider them all essential. It's important to have a wide range of experience outside the norm, if only because it demonstrates an enjoyment of learning new things. But I don't necessarily think that a programmer's experience needs to be comprehensive for them to be good at their craft.

            • Re: (Score:3, Informative)

              Exposure is fine, but "at least a project or two"?

              A project or two seems about the minimum to learn a language. It's pretty much impossible to really learn a language without writing _something_ in it.

              How many production projects in Eiffel, or Sather, or Ada, or Erlang, have you, or at least some people you know personally, taken part in?

              This seems like a strawman; most learning projects are a lot smaller than anything production (e.g. compare your compiler design class in university with gcc).

              The point of

    • by dedazo (737510) on Wednesday October 15 2008, @02:13PM (#25387529) Journal

      Agreed, but even assuming you can become proficient in a given language quickly, there's usually a huge learning curve associated with the library(ies)/runtime. Not to mention the amount of time needed to arrive at the "this is how you actually do it" point for any language.

      I can write a 20-line utility script in Perl or Scheme just fine. Applications are another matter.

      • Re: (Score:3, Insightful)

        Exactly! There's very little difference among the syntax and features of most languages. Sure there's big differences in some areas from one language to the next, but there's also usually big similarities to offset those. Once you've got 6 or 7 languages under your belt, there's very little that's genuinely "new" in any language, it's just a question of the subset of things you're already familiar with that happen to be included in X language.

        The libraries and runtimes of any particular language on the ot
    • by quanticle (843097) on Wednesday October 15 2008, @02:15PM (#25387561) Homepage

      While your skills should certainly be language independent, it is also true that different languages make different things easy. Otherwise, why would we have so many of them?

      I think the main thing I see is that the old argument, "Scripting languages are far too slow!" has finally been put to rest. All of the up and coming languages cited in the article are dynamically typed, interpreted (or bytecode-interpreted) languages.

      • by steveha (103154) on Wednesday October 15 2008, @02:27PM (#25387761) Homepage

        I think the main thing I see is that the old argument, "Scripting languages are far too slow!" has finally been put to rest.

        Well, that was always an oversimplification anyway. Too slow for what, specifically?

        Even today, no one would seriously think about writing a video encoder entirely in a dynamic interpreted language. That's a very compute-intensive application and you can't afford the overhead. But how many of us write video encoders? There are many tasks for which the overhead of a dynamic interpreted language is no big deal.

        Computers are really fast these days, so you can afford some overhead. If your trivial program runs in 0.6 seconds instead of 0.01 seconds, you may not care about the difference. And if you can write your program in 1/10 the time, you may come out way ahead. (And if the program is a one-off, that only needs to be run a few times, all you really care about is how much of your time it took to write the thing and get it correct.)

        steveha

        • Re: (Score:3, Insightful)

          Of course you are partly correct, but each time I try to run the music player on the eee (amarok), I find that it is written in such a bloated way that it hangs the music each time I open a page in firefox. I now just run mplayer directly, using up about 0.1% of cpu power. We don't have to write everything by hand in assembly anymore, but at least a basic optimization of the overhead should be fundamental in every software project.
          • by 0xABADC0DA (867955) on Wednesday October 15 2008, @03:32PM (#25389065)

            However, if I wrote any sort of interactive application, a scripting language would not be my first choice. To me, it basically boils down to this: a "job" that cranks off, does it's own thing, and then ends, is a very good candidate for a scripted language. For an "application", I'm probably going to crack out C or C++ to tackle that one.

            And I completely disagree about GUIs. The only requirement on language choice for an application is that user interaction happen in ~0.1 seconds or less, and on today's computers scripting languages can do this easily. So with that out of the way the choice is on how easy it is to write, how nice it looks, how reliable it is, etc. And in these categories scripting owns C, C++.

            A lot of great programs are being written in JavaScript or Python these days. For instance, MusicBrainz' Picard is written in python, but you would never know it from using it. Even ones that are supposed to be 'fast'... users don't notice a performance difference between mercurial (python) and svn (c), but mercurial is already light-years better because people can understand the code (svn sourcecode is an absolute disaster re: readability).

            I would go so far as to say that the primary reason to write most GUIs nowadays in C or C++ is just so they can't be reverse engineered.

      • by burris (122191) on Wednesday October 15 2008, @02:50PM (#25388195)

        All of the up and coming languages cited in the article are dynamically typed, interpreted (or bytecode-interpreted) languages.

        scala and f# are both statically typed

      • Re: (Score:3, Informative)

        All of the up and coming languages cited in the article are dynamically typed, interpreted (or bytecode-interpreted) languages.

        Incorrect. Scala is very much statically typed (but has type inference).

        Besides, what an article in a magazine considers hypeworthy may not correspond to real world usage. There are many opionions in the article put forward as facts.

      • Re: (Score:3, Interesting)

        Have scripting languages gotten faster, or have the computers we run them on gotten faster?

    • Re: (Score:3, Interesting)

      Indeed but I can understand what the article might be getting at without having read it yet.

      It's always best to use the best language for the job and far to many Java or .NET shops will use Java and .NET for everything even when there are much better tools for the job. It's a problem that arises time and time again and it took some time to convince many C++ developers that whilst C++ could do everything it wasn't necessarily best for everything.

      If the article is suggesting these languages should be used for

    • by zullnero (833754) on Wednesday October 15 2008, @02:36PM (#25387937) Homepage
      I had this discussion with a recruiter the other day that was adamant about me inserting every single language and tool they wanted into every job description I had.

      I said "the situation is very much like a mechanic where I have a wide range of tools I use to solve a problem, but the only thing that anyone cares about is that at some point, I used a wrench for something...without really caring about what the problem actually was."

      Anyone can sit down, surf the web, find some sample code, stick it into a project, and then site that you used said tool in your resume...but it's not about that, it's about how you solved that problem.
    • by Fred_A (10934) <{fred} {at} {fredshome.org}> on Wednesday October 15 2008, @02:50PM (#25388213) Homepage

      Your programming skills should not be tied to the language you use.

      Quite. I use harsh language and it hasn't interfered with my programing skills whatsoever.
      Stupid git.

    • by Frater 219 (1455) on Wednesday October 15 2008, @02:52PM (#25388255) Journal

      Your programming skills should not be tied to the language you use.

      Anyone who thinks this doesn't know very much about the diversity of programming languages, I suspect.

      What you say may be true about a restricted set of languages: I would expect a good C++ programmer to be readily able to learn C# or Java; likewise I would expect a Python programmer to be readily able to learn Ruby. But that's because C++ and Java are not very far apart, nor are Python and Ruby.

      But there are plenty of good C++ or Java programmers who would be completely lost in Lisp or Haskell. Why? Because a good Lisp or Haskell program does not break the problem down along the same lines as a good C++ or Java program. They involve a different set of skills. C++ coders do not tend to think of programming as extending the language to fit their problem space; they do not tend to use higher-order functions; they do not necessarily isolate I/O from core algorithm as Haskell programmers must; and they don't have access to anything even remotely resembling Lisp macros.

      Now, you might say that a person is not a good programmer unless they have mastered a wide range of languages with vastly different approaches. But that's a much higher bar than most folks would use to qualify programmers.

      • by immcintosh (1089551) <slashdotNO@SPAMianmcintosh.org> on Wednesday October 15 2008, @03:38PM (#25389179) Homepage

        Don't make the diversity out to be more than it is. You point out the two major breeds of programming languages which currently exist: declarative and imperative. That's fine. When it comes down to it, the "wide range" isn't any wider than these two underlying concepts. Once you understand how imperative languages fundamentally work you can translate that into any one, and the same goes for declarative languages.

        So yeah, imperative programming skills translate across any largely imperative language, and declarative programming skills translate across any largely declarative language. I'd say that a really good programmer should be proficient in either, and some languages allow a degree of both (even C++, if you don't mind somewhat terrifying template trickery). Beyond that, this is his whole point. Once you understand those fundamentals, any other kind of variety just drops away.

        • by Frater 219 (1455) on Wednesday October 15 2008, @07:30PM (#25392809) Journal

          There are not just two kinds of programming languages. There are a whole bunch of different features that languages can have, that affect how programmers think about problems. I mentioned a few of them above, but consider:

          Extensible syntax. Some programming languages have extensible syntax; they allow you to define macros or "parsing words" that act like new syntactic constructs. Lisp is the usual example here, but some of the stack-based languages, like Factor, also have this property. C++, Java, and Python do not have it. Extensible languages allow programmers to create embedded domain-specific languages, moving the language's syntax closer to that of the problem domain.

          Type system differences. This isn't just static vs. dynamic typing, either. In Haskell, you create types that describe the meanings of the values your program will manipulate. In contrast, C++ programmers usually use types just to describe the implementation of data structures in memory. In Common Lisp you can talk about "the type composed of integers from 0 to 10".

          Density and function length. Languages that are very dense and do not have a lot of syntactic sugar tend to encourage very small functions. Languages that are more verbose tend to encourage longer functions, if only because it takes more words to get an idea out.

          Object system. There are many kinds of object-oriented languages: prototype-based ones like JavaScript, static ones like C++, multiple-dispatch ones like Common Lisp, and so on. Interfaces? Multiple inheritance? Mixins? Around methods? MOP? The presence or absence of these features greatly influences how you can use objects in a program.

          These are not minor differences. They dramatically change the way that you have to approach problems in order to write good code in a language. If you write Common Lisp as if it were C++, you are going to be producing bad code. If you write functions in Haskell that are as long as the ones you'd write in Java, you are going to produce incomprehensible code.

  • by Trespass (225077) on Wednesday October 15 2008, @02:06PM (#25387411) Homepage

    Oh, you meant programming. Well, fuck it. =P

  • by R2.0 (532027) on Wednesday October 15 2008, @02:09PM (#25387457)

    Klingon, Swedish Chef, Elvish (can't pronounce Dwarvish), Pirate, Porn Star Dialogue, and Latin.

    • Hey, that looks like my resume!

      • Re: (Score:2, Funny)

        "There's dialog in Pron?"

        If you count the grunting and moaning - THAT would perk up a Powerpoint presentation.

        • The first pornographic movie I ever saw - Looking for Love [iafd.com] -- featured a plot with reasonable amount of dialog. The setting was a sexual therapist's office and waiting room which featured a plant which, unbeknownst to the doctor and his patients, made horny anybody who smelled it after they sprayed it with water. It worked wonders for the impotent man and his wife, the doctor's secretary and some random woman, and a few others.

          Plus, it was also the first time I'd seen a woman penetrated with a Vidal Sasso
  • by Anonymous Coward on Wednesday October 15 2008, @02:18PM (#25387607)

    donotwant developers programming

    Sounds like the corporate policies I've gotten used to.

  • Wait and see. (Score:5, Insightful)

    by LWATCDR (28044) on Wednesday October 15 2008, @02:25PM (#25387727) Homepage Journal

    I remember when ADA was going to be the next big thing. Then it was SmallTalk. I actually used Modual-2 back in the day. C? was never going to take off. It was too big and slow for micro computers and not high level enough for minicomputers. The only people that would ever really find use for it where those few people that used Unix.
    Before that it was PL-1 and Simula. I left out the fourth generation languages that where going to let everybody write their own programs. Oh and programing by making flow charts... Or was it Hypercard that was the future...
    Well you get the idea. Most where really good programing languages but there seems to be a limited number of languages that reach critical mass. I remember Comal which was a great little language on the old 8 bit machines but it only became popular in Europe.
    Oh well we will see what happens this time.

      • Re: (Score:3, Insightful)

        Yes but Ada was supposed to be the next big thing as was SmallTalk. Frankly I really like SmallTalk. Squeak is really nice.
        More people should play with Squeak including me but time is the issue as always.
        There seems to be a burst of new languages and then they fad to a select few.
        In scripting Perl and PHP are to old standards. Python and Ruby are the new hotness. My guess is that Python has staying power. LUA and some of the others mentioned are the new new hotness.
        What most people don't get is there is a g

  • I think the term "scripting language" has drifted so far from it's original meaning (whatever that was) that it is now an entirely new term. Best I can gather, for some time now the term has been used to indicate a new language that the writer believes, either consciously or subconsciously, is inferior to their own language of choice.

    Lots of reason it could be inferior; it's just some hackers toy project, nobody uses it, it has weird syntax, whitespace is significant, or the reference implementation doesn'

  • The lost art (Score:5, Insightful)

    by Alzheimers (467217) on Wednesday October 15 2008, @02:38PM (#25387985)

    If you can't write it in a .BAT file, it can't be done.

  • LOLCODE (Score:5, Funny)

    by Shikaku (1129753) on Wednesday October 15 2008, @02:47PM (#25388163)

    HAI
    CAN HAS STDIO?
    I HAS A VAR
    IM IN YR LOOP
          UP VAR!!1
          IZ VAR BIGGER THAN 10? KTHX
          VISIBLE VAR
    IM OUTTA YR LOOP
    KTHXBYE //outputs 1-10

    • Re:LOLCODE (Score:5, Funny)

      by paulthomas (685756) on Wednesday October 15 2008, @03:22PM (#25388861) Journal

      OMG WAU!!! U CAN HAS javascript implementashun!!

      JAVASCRIPT VERZHUN moer liek:

      HAI
      CAN HAS STDIO?
      I HAS A VAR IZ 0
      IM IN YR LOOP
                  UPZ VAR!!1
                  IZ VAR BIGR THAN 10?
                                  GTFO.
                    KTHX
                  VISIBLE VAR
      KTHX
      KTHXBYE

      Javascript Lolcode Inturpretur [ajaxhacking.com].

      KTHXBYE, WTFBBQ!

      *ducks*

  • by owlnation (858981) on Wednesday October 15 2008, @03:01PM (#25388417)
    English, instead of Buzzwordish.
  • How about... (Score:3, Informative)

    by Minwee (522556) <dcr@neverwhen.org> on Wednesday October 15 2008, @03:10PM (#25388571) Homepage

    "Six Languages You Wish The Yo-Yo Who Got Fired Before You Had Never Used"?

    We could start with "Incomprehensible" and "I'm Just Learning This" and go on from there.

  • Groovy (Score:4, Interesting)

    by lgbr (700550) on Wednesday October 15 2008, @04:51PM (#25390599)

    I wasn't sure what I was getting into when I had asked a programmer to replace our crummy Jython interface with Groovy. Ten minutes after I had asked him to do it he says he's done. He shows me a clean interface complete with the functionality for saving files, copying and pasting, search and replace, and a handy output section. I had even asked him to integrate it with the rest of our program, but a simple 'import com.ourcompany.ourproduct.package' in the groovy console already had that solved. Now development has sped up slightly as we even do some development in the groovy console so that small tweaks and changes don't mean we have to wait for a re-compile.

    I am one boss who welcomes groovy.

  • by Sarusa (104047) on Wednesday October 15 2008, @05:40PM (#25391479)

    These seem to be the languages you wish your boss let you use if you're a corporate guy who's already in a shotgun wedding with JVM or .NET (and it is CIO Magazine, so this makes sense). And then for some reason Lua, which is a neat language, but if it's good for your problem domain you're already using it - and it seems out of place with the others listed.

    My boss lets us use Python for most things (hell, he loves it, even though he's not a programmer, since he likes how fast and easy it makes dev and maintenance), and I don't see any reason at all to even contemplate switching to one of these. Not that they look bad, but since we're not already shackled to the JVM or .NET I just don't see a compelling draw.

    • Say you like creating programs and not maintaining them (e.g. doing boring minor "enhancements"), so you want to create a program, and then outsource the support to India (for example), so that you can go on with creating other programs.

      How do you do that in LISP?

      I don't like Java, but seems all these "outsource" programmers love it. So it makes some sense to write the program in English, and get the programmers to "compile it" to Java, C# or some other buzzword compliant language of the day.
    • Re: (Score:3, Interesting)

      Furthermore, I wish my job was to sit around all day and learn only new stuff each day../

      I used to have that job, writing for a magazine. I was really excited about it at first, but I quickly realized that to write intelligently about a technology you have to get to know it by using it in the real world, which simply takes time. I found that I simply couldn't get to know some new piece of hardware of software well enough to write anything decent about it before my article deadlines, and I felt I was getting dumber every day. So I went back into the programming and sysadmin world and now I feel

    • by arevos (659374) on Wednesday October 15 2008, @04:25PM (#25390107) Homepage

      Boo is 0.8.2 - If you wish your boss would let you use this, you're fired.

      I once created an in-house fork of Boo for file processing. It worked reasonably well as a stopgap solution, and I wasn't fired at the end of it.

      I could understand a more generic Functional Lang like Hask,OCaml,Erlang but F#?

      Haskell, OCaml and Erlang don't have access to the .NET libraries. F# does, so you get the benefits of a statically typed functional language with the extensive .NET APIs.

      Groovy - JVM Java scripting for when Java is too hard for you? Wow. You're fired.

      Groovy is a superset of Java functionality, not a subset. You can do everything in Groovy that you can in Java, but there are a lot of things in Groovy that Java lacks, most notably closures.

      So if anything, I'd contend that Groovy is harder to learn than Java.

      Clojure - Functional syntax on the JVM. Why would I use this and for what when there's no support?

      The mailing list is quite active, so I assume you're talking about a paid support contract or something? Can you even get that kind of support with, say, Scala or Ruby? Would you even want to?

      Lua... Chances your developer wants to use it inappropriately = 99%

      Uh, hire better developers?

      I mean, really, if you're working with morons, then sure, you might not want them to use a language they can screw things up too badly in. But it's probably better to just hire competent programmers in the first place.

      • Re: (Score:3, Interesting)

        I love Lua. I'm glad it was mentioned because I think it's one of the most underused languages I've had the chance to work with.

        I had a GPS daemon I needed to write for an MDT (Mobile Data Terminal) Windows CE environment, and the CE API is just a complete shocker. In the end I managed to compile a branch of Lua called LuaX (has wince libraries) which comes with a bunch of awesome modules. A few of the modules did exactly what I needed (serial port and network sockets). One simple script handled everyth