Slashdot Mirror


Does Company-Wide Language "Standardization" Work?

RMX asks: "In our company, we're currently going through the debate of standardizing on a computer language for our next set of products. The pro-standardization guys say that a single language (like Java) will save everyone time. The anti-standardization guys are advocating a mixed environment (of languages like Python, Ruby, and C#), and argue that the whole discussion is as silly as a manufacturing firm standardizing on screwdrivers for all their screw/nail/glue fastening needs. Have any of your companies standardized on a language? How well did it go?"

51 of 654 comments (clear)

  1. Solutions Should Be Natural by eldavojohn · · Score: 4, Insightful

    Problems and needs are naturally occurring things.

    They take on unforeseen forms with non-standard characteristics. If your tool can't solve the problem or satisfy the need, you build a new tool that does. It's the human way.

    Likewise, your company can standardize methodologies and practices all it wants. But should they ever standardize the tools they use to solve problems ... well, let's just say it won't be long before a problem or need comes along that the standard doesn't fit.

    And then someone might be tempted to work hard at trying to make your standard fix it and work. They might spend hours re-inventing the wheel. And what will that get them?

    Why, the ability to say, "Yep, and we did it all with one language."

    The customer doesn't care how a solution is created. They care that it works and meets their requirements. Rarely have I seen requirements that read "... and it must all be done in the same language."

    I am a computer programmer. I make computing devices do what I want. I will use any tool at my disposal, to hell with my employer's proposed "beneficial" restrictions.

    In my dictionary, fatalism is the inability to cope with change. Adapt or fail. I am required to adapt to each new language I learn and I hope I never get rusty at that. Confining employees to one language does just that, it gives them a false sense of security and teaches them to think inside their box.

    --
    My work here is dung.
    1. Re:Solutions Should Be Natural by acidrain · · Score: 3, Insightful

      Why, the ability to say, "Yep, and we did it all with one language."

      And the fact that I can actually debug all the code that goes into one of our games. I love debugging a C++ callstack that goes in and out of an interpreter a few times. It's bad enough having ten programmers with different approaches to programming without mixing langauges.

      Mixing langauges essentially means that a person who introduces a new langauge gets to build themselves (and a few of their pals) a little ghetto where other programmers are afraid to walk at night.

      --
      -- http://thegirlorthecar.com funny dating game for guys
    2. Re:Solutions Should Be Natural by JanneM · · Score: 3, Insightful

      I got the impression the poster was talking about choosing the right language for a given project, rather than mixing languages within the same project - or mixing languages within a single binary.

      Now, embedding an interpreter can be a very good idea in some cases (Think Emacs - or a game like Neverwinter Nights for that matter) - but of course only if the benefits outweigh the pretty daunting drawbacks that you point out.

      By contrast, having more than one language in a project may make perfectly good sense if the project itself is heterogenous; you may want to write the web backend in Java while having thin client UI glue as client-side Javascript (and of course access the database with SQL).

      And choosing proper tools for a new project rather than habitually, thoughtlessly use whatever you used on the last one is a no-brainer.

      --
      Trust the Computer. The Computer is your friend.
    3. Re:Solutions Should Be Natural by Duhavid · · Score: 4, Insightful

      I've worked with code like that in the "language of choice".

      Do these introducers never get asked to justify their actions?

      I dont see a problem with mixing languages, as long as the
      choice is a defensible one that moves the project forward.
      Making project choices on the basis of "gee, this will look
      cool on my resume", or "gosh, I really want to play with this"
      on any level ( in language or out ) should, generally, be
      disallowed.

      --
      emt 377 emt 4
    4. Re:Solutions Should Be Natural by Wdomburg · · Score: 5, Insightful

      And then someone might be tempted to work hard at trying to make your standard fix it and work. They might spend hours re-inventing the wheel. And what will that get them?

      Why, the ability to say, "Yep, and we did it all with one language."


      At the other extreme you've got people writing in whatever they want whenever they come across a problem and end up re-inventing the wheel because either "I don't like Perl!" or "Numbnuts wrote this code in Object Intercal 95, which doesn't have a compiler/interpreter on the platform I need."

      And what does that get you?

      Why, the ability to say, "Nope, we don't confine our employee's choice of languages." Well that and a morass of code based as much on individual whim as any logical need.

      As always, there is a middle ground - having a standard (or standards) with an allowance for justified exceptions.

    5. Re:Solutions Should Be Natural by MonaLisa · · Score: 5, Interesting

      There are two issues here: using a single or mixed language approach for a particular application, and using a single languange (or not) across an entire organization for all projects.

      I worked for a long time at a big national lab that was mostly a FORTRAN shop. They wanted to use FORTRAN for everything, and it was technically a bad choice for everything, but culturally it was the only solution that would fit without causing a jihad among the old timers. I much prefer C++ for these sorts of things (big complex simulations that must run fast), but had little success in converting the masses, even though it was always faster, more portable, much easier to maintain and handle complexity, and also you can actually hire good C++ programmers.

      We were able to do some mixed language solutions (C++, FORTRAN, C, perl, etc.) and they were a nightmare to maintain. in hindsight, I think it would be better to keep the apps all in one language rather than mixing. The biggest problem here is portability. These applications have incredibly long lifecycles, and the platforms change severals times underneath you, which seems to affect the inter-language interfaces the most.

      Anyway, it depends a lot on the type of application, lifecycle, target platform(s), etc. but I think in general it is best to pick a single language if at all possible for a particular application that is the best single tool for the job. But, if a different application would be better suited for a different language, go with the different language. Mandating a single language policy across an organization for all projects is counterproductive: use the right tool for the job.

    6. Re:Solutions Should Be Natural by rve · · Score: 4, Insightful

      Are you the only programmer at your company?

      Support and maintenance costs go way up when every programmer writes his little chunk of the application completey in his own style. By standardizing, on tools, coding patterns, naming etc, a company makes it less difficult for someone to debug or modify code that someone else wrote.

    7. Re:Solutions Should Be Natural by NitsujTPU · · Score: 5, Insightful

      I have to say that I agree with both your and the parent's point of view, but I think that you're taking what the parent is saying a bit too far.

      The parent is speaking of company-wide decisions. It makes a lot more sense to write a video game in C than in PHP, in the general case. It makes a lot more sense to write a web site in PHP, than in C, in the general case. You don't want to force your developers into an awkward scenario by having a company standard tool.

      You, surely, can picture the conversation where the writer of the interpreter from your game is told that he cannot use LEX/YACC, because his company standardized on C++. You can't? I was once told this at a meeting.

      On your point, however, I can also agree. Needlessly writing code in other languages makes debugging a pain, and reduces your ability to share code inside the project, a place where I imagine that the most reuse is likely to take place.

      Still. I can't really see the need for a company-wide decision to standardize on a single language for all of their development.

    8. Re:Solutions Should Be Natural by Jeremi · · Score: 5, Insightful
      Mixing langauges essentially means that a person who introduces a new langauge gets to build themselves (and a few of their pals) a little ghetto where other programmers are afraid to walk at night.


      Just to be contrarian... it can work the opposite way as well. Many of my co-workers are scared of C++, but when I added a Python interpreter to the codebase and started implementating some of the program's functionality in Python, they felt comfortable creating and editing Python code.

      --


      I don't care if it's 90,000 hectares. That lake was not my doing.
    9. Re:Solutions Should Be Natural by The_Wilschon · · Score: 5, Insightful

      or "gosh, I really want to play with this" on any level ( in language or out ) should, generally, be disallowed.

      Except that "Gosh, I really want to play with this" is, especially among hacker types, probably the single most powerful motivator there is. Disallow that, and not only do you lose out on the drive that hackers have to play with something cool, but they get annoyed and disgusted, and probably wind up working less hard on the things that they are told to work on.

      --
      SIGSEGV caught, terminating

      wait... not that kind of sig.
    10. Re:Solutions Should Be Natural by Confused · · Score: 3, Insightful
      There is really no difference what language they wrote, if they can demonstrate a reason for using a different one and there are no strings attached (e.g. as there are for anything attached to .NET) then no problem.


      This attitude may work well in small throw-away projects, but from experience I can tell you, maintaining a mixed language product is hell. Just think about the awful mess you're going to have 5 years down, when you need to do an upgrade. If the whole project is written in one language, you're going to have to find only one replacement compiler/library/development environment - which can be hard enough. If you have a mix of exotic languages, you basically can forget it, just rewrite the whole mess.

      The same applies to training. The original developers may have been the biggest guru in the necessary languages, but where are you going to find maintenance drones that are fluent enough in all of them? Training a halfwit well enough to maintain some crappy C-Code is hard enough, trying to train him in C, Ruby, Scheme and Haskell is impossible. And even if you'd succeed, Mr C-Ruby-Scheme-Haskell-Halfwit won't stay once he comes out of training, he'll be gone to the next job before the ink on his new resume dried.

      All in all, if you're doing long term projects stay with one language and try not to use too many extra libraries where you don't have the source code available.
    11. Re:Solutions Should Be Natural by 47F0 · · Score: 3, Insightful

      Yep, you're an IT manager all right.

      Frankly, I think you should standardize on COBOL for your video game product.

      A question for you. When you take your car to be serviced, do you feel like effective work is being done when the entire collection of shop tools in the garage fit into a lunchbox?

      I've been doing this for thirty years. I have worked, both as management and grunt in highly standardized, and very non-standardized environments.

      My take? It's a bell curve. At one end, development anarchy is non-productive, and unmaintainable. On the other hand, you absolutely cannot be afraid of the idea that a hammer is not a universal tool.

      Somewhere in the ideal is the notion that it often take more than one tool to do the job effectively - balanced with the knowledge that it seldom takes fifteen wrenches to change a tire.

      In general, simply because of human fear of the unknown, or sheer sloth and inertia, a large majority of shops gravitate WAY too far towards standardization. Your development manager DOES NOT WANT NEW TOOLS - it makes their job harder (i.e. challenging) "We're a VB shop - you can do anything in VB. VB Rules". Yeah, well, sometimes that's exactly right. Sometimes.

      Sorry, but I promise, whatever the cost of acquiring those new tools, if they're appropriate to the job, not acquiring them costs even more in the long run. Every time. But hey, if all you care about is the next quarterly budget, pick your poison and live with it.

      Otherwise, get used to the idea that your mission is going to be constrained and compromised by the fact that you bought the $9.99 tool set at autozone instead of hanging out at the back of the Snap-On tool van learning something. In the meantime, if your business is at all competitive, someone is out there gunning for you - with a little faster gun.

    12. Re:Solutions Should Be Natural by TheRaven64 · · Score: 5, Insightful
      You dont learn a language, which is just basically a syntax and keywords, you learn abstract concepts like iterations, paralellization, recursiveness, object orientation, etc.

      You learn all of these things. Then you look at Visual Basic code, and realise that a lot of other people didn't.

      --
      I am TheRaven on Soylent News
    13. Re:Solutions Should Be Natural by 16K+Ram+Pack · · Score: 3, Informative
      In my experience, I'd rather steer clear of such programmers.

      I've had to debug hideous code because developers decided to make use of a technology just to boost their CVs. Programs mixing ADO and DAO because someone added some code and thought they'd try out ADO (even though having consistency in the same program was more important).

      My favourite programmers are those who concentrate on delivery. They keep an eye on what's around the corner, but at the same time, have a balanced view of using new tech over old. They get the job done because they have been using the same tools and methods for so long that they know how to handle certain issues, and coding it is almost second nature. Which means that they are more focussed on things like getting the business requirements right.

    14. Re:Solutions Should Be Natural by Chandon+Seldon · · Score: 3, Insightful
      Code for the space shuttle is embedded systems code designed to run on an otherwise obsolete platform. Also, they can easily afford to spend a million dollars per line of code.

      Real projects are a bit different. There are time and budget constraints. The choice of programming language(s) is an engineering consideration, and the choice should be made by the same people who would chose data structures and algorithms.

      In the real world, working with more than one programming language can save a lot of time and effort. A competent programmer should know most of these languages anyway, and learning a new one is pretty easy.

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
  2. depends on what you code by Pavel+Stratil · · Score: 4, Insightful

    Among my collegues we discussed this about a year ago. After doing some performance tests and after trying to write "problematic" pieces of code in some other languages, we dropped the standardisation idea. You either end up with bad performance or some long bizzare code (when you have problems with translation). There are also times where interpreted/scripting languages are of much higher value. Naturally you shouldnt end up using everything...

    There are a few languages groups:
    Special: Sql, Fortran, ASM
    Brute force: C,C++
    Object: C++, Py, Java, Ruby, Lua
    Scripting: Perl, PHP, asp
    High level: Haskel, LISP

    As Python, Ruby, Lua are all the same and closely related to Java I definitely wouldnt use all of them. You might be well of with one, maximally two from each of the groups you use (appart from the special group:)).

    That's my point of view being a person solving a very wide range of problems. But if you just write stuff that doesnt have much inovation (i.e. basic desktop apps.), a single language might suite well enough.

    1. Re:depends on what you code by shutdown+-p+now · · Score: 5, Insightful
      First of all, there is no such language as "ASP". Classic ASP is VBScript/JScript out of the box (and you can also have e.g. PerlScript if you want to). ASP.NET applications can be written in any language that targets .NET, but typically it's C# or VB.NET. Also, it's very interesting how you lump Perl and PHP together and call them "scripting". If it means what it normally does, than why Python, Ruby and Lua aren't there as well? Or did you mean to write "web development", perhaps? but then it's even stranger, because Python and Ruby are also just as good as Perl in that regard (ever heard of those things called Zope and Rails?), and Perl is also a decent generic-purpose language which supports OOP (arguably to a better extent than C++ does, in fact). Lua, on the other hand, is not an object-oriented language by itself.

      Also, what makes Lisp high-level over, say, Ruby? And Haskell is a very different thing from Lisp, you know, probably deserving a category of its own (together with Scheme and OCaml).

      Then... WTF? Python and Ruby are closely related to Java?!! And Lua, too? Gosh... Lua isn't even object-oriented, for one! Ruby is essentially a bastard child of Smalltalk semantically, highly dynamic, closure-centric - nothing even remotely close to what Java is. Python - it has multiple inheritance and multimethods, again, something Java avoids on purpose. So... er... looks like you don't know what you're talking about, really...

    2. Re:depends on what you code by Anonymous Coward · · Score: 5, Funny

      We need a new moderation option: (Score:5, Pwned)

    3. Re:depends on what you code by root-a-begger · · Score: 4, Insightful

      I agree with your concept of categorizing based on type/style of programming. I don't especially agree with your categories, but that's just my opinion.
      About 2 years ago, I went through the same thought process as asked in the original post. I was not encumbered by a large IT department that would dismiss my opinions if I came up with non-mainstream ideas. This led me to a very broad and lengthy search. Here is the result of my quest for an answer:

      1 - Application language - Erlang
      2 - Brute furce / close to the metal - C
      3 - System scripts - Bash

      I chose erlang after 8 years of Java programming which was followed by 8 years of Smalltalk. The main reasons for departing the mainstream OO world were concurrency, distribution and conceptual integrity. I found that in large systems what kept me worried most is being able to "prove" that my code worked as the system scaled and became distributed over local and worldwide "clusters". I wanted to be certain that no race conditions or locks occurred (just being able to monitor and restart VMs was not the answer for me). You can get concurrency assurance with Java or any "shared memory" / object pointer based langugage but you need very well written and tested frameworks to fully encapsulate anything that may be touched by more than one thread/process. Solutions like JBoss or other widely encompassing application servers also were not the answer for me as I had to trust that everything the app server did was correct and wading into these projects to find out if things are correct or to fix anomolies is a big challange.
      I simply grew tired of writting the frameworks required to encpsulate concurrency and limiting my application code to the nature of the frameworks. Sure, there are many existing frameworks in the Java world that encapsulate the hard work and concurrency for you. But thats exactly the problem: there are many of them. This gets me to the last point of my rational: conceptual integrity. Each Java framework unleashes its own concepts and patterns. I wanted one small set of patterns that are used everywhere. I found this in erlang. It turns out that by making concurrency a first class priority in the language design, the need to invent frameworks and other patterns to encapulate the hard work mostly dissapears leaving behind a clean slate to write your app.

      The second category, C, speaks for itself. Occasionally, I need to touch the OS or even bare metal and want a very straightforward way to do this. My C code ends up being very limited, well tested and compartmentalized.

      The third category was a tough call. I was tempted to pick Python/Ruby/Lua/Tcl for system scripts. But the bottom line is I didn't really need them and for anything complex, I could write system tools in erlang that were called by Bash. This keeps my usage of Bash simple and maintainable without introducing yet another language.

      I realize that my first choice, erlang, brings up the obvious issues of how do you replace programmers easily when you can't find resumes with erlang expertise. I have found that no matter what lagugage you choose, you have to re-train programmers to do things your way and there is a learning curve to introducing anyone new to your IT group. My choice in erlang has not increased the learning curve for good programms I bring on board.

      I realize this seems like a giant plug for erlang. It is and it isn't. My rational stands on its one regardless of your choice.

      good luck to you...

  3. Comment removed by account_deleted · · Score: 4, Funny

    Comment removed based on user account deletion

  4. That's dumb. by Max+Threshold · · Score: 4, Insightful
    Speaking from experience: use whatever tool works best for the job. Let me guess... the guy advocating using one programming language for everything wears a suit and has never written a single line of code in his life?

    Now, one thing that does need to be standardized is terminology. I'm working on a contract right now for a wireless telco. The hardest part of this project was getting managers from various departments to agree on how this system we're trying to automate is supposed to work, and describe it to me in a way that would allow me to translate it to software. Compounding the proverbial six-blind-men-describing-an-elephant problem was the fact that everybody was using different vocabulary.

    1. Re:That's dumb. by Rix · · Score: 3, Insightful

      I bet you've never driven a backhoe professionally, but still you have strong opinions, based on good business sense, on whether people should accidentally cut off your company's Internet connection with one?

      Yes, but I wouldn't presume to tell someone else which brand of backhoe would be least likely to do that.

  5. Size of your company by erbmjw · · Score: 5, Insightful

    It can depends on the size of your company. I worked for a fairly small shop that specialized in Java and SQL work, because of that we became known for it in a positive way. It also was very useful because we all had a decent grounding in Java and our constant work in it had all of us improving our own skill sets quite rapidly.

    But the firm had only 9 geeks, so as I said ... small shop. In other situations I can see why multiple languages would be more useful than a standardized company one.

  6. Danger, Will Robinson by Gorobei · · Score: 4, Insightful

    If you can, avoid the discussion/meetings/emails.

    Firm-wide standardization drives are

    a) usually politically driven, and if you voice the wrong opinion you will be disliked.
    b) driven by the incompetents - if they could do something profitable, they would be doing that.
    c) out of date by the time they are finalized.

    There is no upside here because there is no magic standard that will make things better.

  7. Pick Two by Tablizer · · Score: 4, Insightful

    Pick one static/strong-typed language like Java or C#, and one "scriptish" language such as PHP, Python, or Perl. Some tasks will be best suited to one or the other.

    1. Re:Pick Two by samkass · · Score: 5, Insightful

      I think the parent is exactly right. All the people talking about "use the best tool for the job" have probably not worked very long in the industry. Being able to build on each other's successes, re-use code across projects that gets more vetted with each project, and build expertise with all the "gotchas" in your language of choice will make your company's product better and the company more profitable. These days, you can do almost anything with any of the popular languages, so there's no point in using more than one or two of them.

      I'd say, standardize on Java, C#, or C++ (depending on your needs) as your primary language, add your scripting language of choice, then fire anyone who can't handle that. You'll be better off five years down the road than if you'd all built your fiefdoms around the tower of babel and every project becomes a throwaway codebase as the next "best tool" comes along 4 months later.

      Any company that can't standardize on a language doesn't really have a coherent vision anyway, and probably is either a bunch of folks pretending to be a consulting firm or will disappear before too long.

      (I'm sure I'm going to lose mod points for this reply, seeing what other people have written, but I don't see how any other approach is practical in the long term.)

      --
      E pluribus unum
  8. We chose Java by Andrew+Tanenbaum · · Score: 5, Funny

    but then we weren't allowed to use SQL or XML anymore!!

  9. Hello Mr. Rumsfield by woolio · · Score: 3, Funny

    Problems and needs are naturally occurring things.

    They take on unforeseen forms with non-standard characteristics.


    Are you talking about the "known unknowns" and the "unknown unknowns" ????

  10. Like a single screwdriver? by PornMaster · · Score: 4, Insightful

    Why wouldn't it be more like standardizing on torx vs. phillips head, or standard vs. metric?

    We all know that monoculture can be bad. Besides platform uniformity, strict monoculture opens you up for enterprise-wide vulnerability, and even getting people with a similar, closed mindset. But it also provides for the ability to have a common dialogue with one another. It can be a shared jumping-off point. It keeps you from getting screwed when the one guy at the company who knew mindfuck leaves, and nobody else knows how to read his code.

    There are costs and benefits to having, and to deviating from, a standard operating environment. Deviations should be allowed, but the deviations shouldn't be up to the developers, they should be weighed by management (who shouldn't be idiots), and risks and benefits weighed.

    Business needs shouldn't be determined by developers. Developers tend to believe in nifty hacks. Code monkeys can love the elegance of using nuance in their code, but there's also a reason that they're not in charge. And it's not just because managers are stupid. Processes may be tedious. They may even be a reason for a developer to hate his job, which isn't good for productivity. Knowing 4 languages, and having the business be dependent upon him may be wonderful from his point of view. But having an employee dictate how things will be done can be destructive to the business. Particularly when he leaves the company for another job, and the new Java guy can't do shit with the Ruby and python.

  11. Some of the pros and cons by alangmead · · Score: 5, Insightful

    A single language makes each developer easily replacable. You quit, they just hire another Java programmer. If the collection of software you develop with is sufficiently unique (XSLT with extention functions written in both Groovy and Jython on IKVM running under .Net) you can create a position that would be nearly impossible to fill.

    On the other hand, having each developer work on projects with their own collection of technologies tends cause the maintainance tasks of those projects go back to the original developer. This is generally a bad thing. Having a developer know that no one will ever see their code gives a temptation to take shortcuts that they wouldn't take others. Even more than code reviews, splitting maintanance across developers encourages quality code. You don't want a co-worker cursing your name as they try to add one minor feature to something you've done. ("F'n Andrew! Why'd he do that!").

    Different languages and other technologies have their strengths and weaknesses. If they are chosen based on their strengths and not just their familiarity (let alone out and out prejudice) then their should be productivity gains achived from the choices. Of course, that means that this would increase the ramp up time a new developer needs to be very productive.

    So if you have high turnover, you want to get new developers productively quickly (which would imply standardizing on as few languages and technologies as possible) and you want to get projects seen by as many developers as possible before the original developer leaves. (If Andrew is long gone, then "F'n Andrew!" can be an excuse given by the maintainance programmer, even if it is groundless.) If you have a lower turnover, then developers start getting a better feel over which technology choices fit in which business scenarios.

    If this standardization is being driven by upper management, they are hoping to turn the developer positions into a cookie cutter role.

  12. I just read a blog article on what Google does: by John+Harrison · · Score: 5, Informative

    http://panela.blog-city.com/python_at_google_greg_ stein__sdforum.htm discusses the fact that Google has three official languages: c++, Java, and Python. It then goes into some detail about the use of Python at Google. It is a worthwhile read.

  13. Pondering further by deadlinegrunt · · Score: 4, Insightful

    What item should I pick to always win in rock, scissors, paper?

    --
    BSD is designed. Linux is grown. C++ libs
    1. Re:Pondering further by j-cloth · · Score: 4, Funny

      Rock.

      Next question?

    2. Re:Pondering further by Bushcat · · Score: 3, Informative
      The World RPS Society at www.worldrps.com should be able to help you with this. To quote, "RPS enthusiasts will also learn advanced strategies, crucial for those playing above the level of the recreation player, which throws are illegal and (because RPS is very dull when played alone)..."

      And, of course, "Think twice before using RPS for life-threatening decisions."

  14. Re:thats just stupid by gmack · · Score: 4, Funny

    A few years ago the company I worked for was pretty much all PHP with a couple of projects in perl. I ended up taking over a project and redoing it in C. The downside of that was that when my boss saw that my C based app outdid the perl code it was supposed to replace and could be used to replace some of the PHP as well he started to want to standardize on it.

    I've never been quite as nervous as when I was asked if I could redo the websites in C.

    Thankfully we talked him out of it and he came to his senses.

  15. Better reasons than that... by cfulmer · · Score: 5, Insightful

    "Save everybody time" is the best the pro-standardization folks could come up with? How about: (1) save training and support expenses for multiple sets of tools & languages; (2) specialists in the language & its quirks can benefit the entire enterprose not just the single group; (3) integration between different pieces of software is significantly easier if they're all in the same language; (4) easier to reuse code; and (5) easier to adjust when developers leave.

    It's impossible to know whether it's a good idea in your case without knowing a lot more about what your company does, but in general a bad technical decision made for a good business reason is better than a bad business decision made for a good technical reason. The first one will cause you headaches down the road, but the second will make sure there's no road to go down. The key is deciding which decisions are good and which only appear to be good.

  16. We settled on python by ubikkibu · · Score: 5, Interesting

    at the pharma company I work at. We were all java, C++, LISP, Smalltalkers before. It's been four years now, and it was a wise decision. It's a very adept glue language that has been easy to integrate with other systems, both at the source code and network level. YMMV, and I think perl or ruby both fill this niche well too. We just wanted to have a standard platform for new development, and have been pleasantly surprised that python has been a productive choice for legacy integration and utility tasks as well. We had a requirement recently to integrate with a Java system. I used jython and it took three days, with no curly braces to be seen. We get a lot done every day now, and it's quite motivating.

  17. Dilbert - GO FOR IT! by ratboy666 · · Score: 4, Funny

    If you can get yourself on the "Standardization Committee", you can probably even have REAL fun! Like -- ask stupid questions: how does the language express factorial 10,000? Can I see some sample code? How about implementation of Knuth's Algorithm for sorting tape runs (whatever). How about dynamic programming? Backtracking? Functional programming? OOP support? Report generation from databases. GUI interfacing? Multi-threading?

    You get the drift. I am sure that you could generate at least 1,000 pages of samples, criteria, &etc.

    Ratboy

    --
    Just another "Cubible(sic) Joe" 2 17 3061
  18. For a product line, ok. For a company, god no. by gte910h · · Score: 4, Insightful

    Unless your company is an ungodly narrow sort of business, you should rule out the use of other languages entirely.

    If you're hiring programmers who are totoally hopeless in other languages, you're not getting very smart programmers.

    However, it makes oodles of sense to restrict languages for a certain product. That makes everyone on the team interchangable, and it makes it easy to have a place to plop new hires (who know that language).

    However, before you build in a product restriction, you should put an out for performance/library reasons. I think it's silly for a shop to standarize on Java/Python, when you quite often need to make a C/C++ JNI/Swig wrapper to get certain tasks done.

    At my firm we do a LOT of Python with C++ performance cores. We do some Expect scripts to interact with interactive programs. If we had standardized down to the point we would have used One And Only One language, then we would have one of many suboptimal situations: Standarizing on Expect would have been silly, TCL is not a full featured language. If we had standarized on Python Only, some of the code that needed to run over HUGE datasets would have taken approximately 15 times longer to complete than the C++ core did. The C++ core took HOURS as it was.

    If we had standardized on C++, our dev/debug time would have been much much higher. We also would have had to spend more hiring developers (you can get good python code out of an intern. Good C++ doesn't come out of interns often enough to mention).

    Standardizing on C++ isn't really standardizing. For a project to really standardize on C++, you have to pick a subset of that colossus and forbid the rest.

                                      --Michael

    --
    Want to see every step I took to start my company? http://www.rowdylabs.com/blogs/pitchtothegods
  19. Are You Surrounded by Incompetents? by cheesedog · · Score: 4, Insightful
    Here's how to tell that the people that surround you, um, how to put this delicately... 'lack critical thinking skills':
    1. They advocate standardizing all software development on one language
    2. They advocate standardizing all development tools in one IDE
    3. They advocate standardizing all code formatting into one standard (tabs v. spaces, how far to indent, where to put the curlys, etc.).
    4. They advocate standardizing on hitting '60' instead of '100' when you use the microwave and want to heat for 1 minute.
    5. They advocate standardizing on one height for all adjustable chairs in the office.

    Notice a pattern?

    If there are enough people in your organization that this issue actually has to be debated, you might as well start looking for an exit -- the company is doomed to, at best, forever wallow in mediocrity. I'm not exagerating. This type of 'discussion' shows a serious disregard for reason, logic, and a lack of respect for wisdom. It's a serious indication that those spearheading the push have no clue what they should be doing in their roles -- they can't figure out how to do real work that would actually be valuable to the company, so they choose to waste their time on this.

    There is something else at play here: whoever is pushing for this doesn't trust their developers to make sane decisions regarding development tools. Maybe that mistrust is warranted, maybe it isn't. Either way, you are screwed.

    Now, if you were talking about a 5-man startup, it's almost a sure bet that you are all going to be writing in the same language, and you might even all be using the same IDE. Same if you are working in a small team in a larger organization. But a company-wide push to put all your eggs arbitrarily in one basket? Insane. For one, it means that the company will only attract (or keep) programmers who are not interested in developing new skills. And a programmer who is not interested in keeping their toolset current is generally a very poor programmer.

    Smart people don't build monocultures on purpose.

  20. Pick Two: It Does Make Sense to Narrow the Field by BigTimOBrien · · Score: 5, Insightful

    Pick Two

    One from - Java, C#

    One from - Ruby, Python, Perl

    It makes perfect sense to standardize on both. Scripting languages will always be more appropriate for text processing and other tasks like validation and system administration.

    But, from what I've seen, it is important to standardize an organization on one of each. Letting people go off and just write System X in new technology Y might be enjoyable, but it does end up in a great deal of duplication and expense. For example, one environment I've seen has a great deal of Actionscript, a great deal or Ruby, more Perl than I'd ever want to see, and some J2EE applications. This usually occurs when an organization lacks a sufficient level of oversight over architectural decisions.

    Just pray that neither side wins. Writing only Java is as silly as writing in a different language every single day.

    --
    ------ Tim O'Brien
  21. Standardize on Hindi~ by colin_n · · Score: 4, Funny

    Your company should standardize around Hindi - the new programming language in India - It is an extremely natural language - you write down your requirements in English (even on paper), send it via e-mail / snail mail to a supercomputer called "India", the "India" machine turns it into Hindi and feeds the information to a cluster of other India machines, known as "Indians" and then these "Indians" break it down into functions, write the code, put it back together, compile and send you the binary - you wont have to worry about what language they code it in!

    --

    --------- I have no signature
    1. Re:Standardize on Hindi~ by strider44 · · Score: 5, Funny

      Is the binary Big Indian or Little Indian?

    2. Re:Standardize on Hindi~ by BeardsmoreA · · Score: 3, Funny
      At least if you mix them up you should end up with a decent Na(a)n.

      Sorry. No really.

    3. Re:Standardize on Hindi~ by piergi · · Score: 3, Interesting

      Oooh yes...this is where it's really going my friend...and it's gonna hurt so much...

      In time you will realize what is really at stake...and it's not Java or not Java.

      I saw this personally. I was working at a very large US telco, which had bought many smaller telcos in a short period of time, all using mainframes really. The old timers managed to make all work together nicely, cobol, fortran, c, whatever, it worked.

      First, they "standardized" on Java, and one and a half seconds later, they "standardized" on India.

      The problem with us programmers is that we don't think like managers. For IT managers, having outsourced all they could is a VERY GOOD thing and it's the hip thing these days. It's a promotion for them. Go to Amazon and check IT management books. They RECOMMEND it. We programmers just don't see it, it's only natural, we code, we are not managers. It is just like it was Java for programmers in the 90s, you had to try it. IT managers are not there to make sure you have a salary, they are there to make sure they have a salary.

      And for India, the only way to get started in the game is to standardize on J2EE: not even Java, J2EE. Most of those programmers (personally seen it) can't override java.lang.Object.hashCode(), but they can deploy an EJB.

      What was ludicrous about the situation is that being the company very large and rich, they could actually afford to create the outsourcing company themselves from scratch and "make it profitable". They went to India, found the people, interviewed them, prodded them into EJB programming. They used to show us "before" and "after" photos. (There used to be a field here, look at the data center now)

      The code itself...oh my God. First thing I saw was a 15 THOUSAND line jsp page, it was average. The guys down in India where such beginners that the company had to buy a million-way mega server from Sun to keep the "portal" running for at least 24 hours straight, and most of what the "portal" was doing was screen-scraping the mainframes (I am not saying Indian programmers are not good, I am just saying that the good ones are already taken/gone to the US etc).

      So, in my humble opinion, yes, you can standardize on a language, especially if you take your management's solution, Java, which is all things to all people, provided you use 10 people to make a 3 page website, use a Sun 100-way machine, and you get custom patches to Weblogic from BEA to your custom problems, since it's included in the multi-million support contract.

      But as a US programmer (I am assuming you are) you will be made to eat so much manure, you will be sorry you had'nt left.

      Just my two cents from personal experience.

  22. The distinction between standards and uniformity by jd · · Score: 5, Insightful
    I agree completely with what you're saying. It all comes down to an important distinction between having standards and having uniformity. "Wait!" I hear some cry, "Aren't the two the same?" Well, no. A standard translates, in pseudo-code terms, to "if X then Y". Uniformity translates to "always Y".


    What needs to be standardized, then, is not the language per-se, but the rules by which a language is selected. The IF statements. If you read through the standards documents on the IETF's website, you are not looking at a single, all-encompassing rule. You are looking at possibly a few thousand rules, with enough logic behind them to determine which rule applies.


    In the case of a company picking a programming language, you probably don't need a few thousand rules. A single side of paper should be more than sufficient to cover all the meaningful languages and the cases they apply in.


    Rule 1 might be: "If a more precise rule is not defined, programs should be written to the ANSI dialect of C, revision C-99 with all threading assuming the POSIX threading model and other parallelisms within a single computer assuming OpenMP extensions. Where a more precise rule exists, that rule takes precedence over this default action."


    For embedded code in web pages, the rule might be: "Except where a specific project requirement dictates otherwise, embedded code within web pages should be written in PHP, revision PHP-5.1"


    For transportable bytecode, you might say: "Web-enabled applications, applications needing to run on clients without installation and applications needing to run on otherwise unsupported platforms should be written in Java and compiled to bytecode using a standard Java SDK version 1.5"


    For configuration code, you might say: "Automatic configuration files should be written to the standards specified by Gnu Autoconf and Gnu Automake, using the applicable Gnu M4 macros" (Hey, M4 is a language too!)


    You'd then have a few more cases for specific types of work the company does a lot of. This may include additional rules requiring C, but that's fine. You want the specifics in there, so that if you want/need to change the default action, it doesn't screw everything up.


    If you're defining standards for languages, I'd also define in the same document some standard coding practices (eg: keep namespaces distinct, if you're using javadoc or something similar then comments should follow javadoc's rules, if you're using a code validator that uses comments to embed commands then state what commands should be used and when, if you're using a SCM - a very good idea - then comments to embed details like revision notes, date, etc, should be included in a standard location, etc.)


    The upshot is that there's a lot of different things to consider, nobody can just pick one language for all occasions. Well, they can, but the only language that will ALWAYS work for ALL cases is assembly, and I don't think many people really want to write entire applications in assembler any more.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  23. Re: Ada by Black+Parrot · · Score: 3, Interesting

    > Ada was developed by the DoD precisely because they wanted to have one programming language for the entire US department of defense. Naturally this was a massive undertaking. The programming language had to be all things to all people, and thus grew very, very large.

    That was a popular critique 20 years ago, but these days people tend to criticize it in the opposite direction (i.e. no standard class library).

    > The problem with this large programming language is that it is so complex that most programmers can't know all of it, and they only use a part of it. That, in turn, becomes a problem whe two sequential developers on the same piece of code know different parts of the language, and the second developer can't read the first developer's code.

    I don't think that's correct. I'll be the first to admit that I don't know every obscure feature, but then I don't use it professionally either.

    > It also produces a few problems in trying to build a correct, compliant compiler :)

    I have heard that that was true when the spec was first published a generation ago, but any such problems have long since been solved.

    > So the point here is that "standardizing on one language" has been tried before, and it was a huge flop.

    But a political flop rather than a technical flop. By the time the DoD was ready to start using it everyone wanted to program in C++, and the administrators were giving out waivers like Halloween candy.

    Also (as often seen by people's ill-informed comments about it on Slashdot (no, I'm not referring to your post)), Ada has an unjustified bad reputation based on ignorance, such as the oft-encountered claim that the first Arianne 5 rocket crashed due to a problem with Ada, and oft-encountered quotes from Hoare (saw it as a Slashdot cookie earlier today, as a matter of fact) that was actually a critique of an early draft of the language. Much of Hoare's critique was addressed in the final project, and of course we've had the '95 spec since then. (And an 0? update coming out RSN.)

    People who actually use it tend to have a high opinion of it. I use it by choice for my hobby projects.

    Also, the switch from complaints about it being "too big" a generation ago to being "too little" now show just how fickle out notions of what a language 'ought' to be like actually are.

    --
    Sheesh, evil *and* a jerk. -- Jade
  24. Libraries - not languages by StressedEd · · Score: 5, Insightful
    Having read many of the posts here I think people are missing the importance of libraries.

    I would hazard a guess that most people want to get a problem solved in the most painless manner possible when programming.

    Surely the best way to achive this is by avoiding the reinvention of the wheel.

    In some manner I tend to view languages now as nothing more than the glue that binds library calls together!

    My approach is:

    1. Work out what you want to do.
    2. Find libraries that implement the most difficult parts of the problem.
    3. See what language bindings exist.
    4. Choose the language appropriate to this.

    For example, there is a wealth of scientific code out there in F77. Just because F77 is old doesn't mean that the libraries are now wrong. They still do what they did back then. They are still useful. People have spent a great deal of time working out the error propagation in these codes, the efficiency and their validity. Do you really think you will save yourself time and do a better job by rewriting it in Java? No! So. Use them.

    Then there are (great) libraries such as ATLAS or FFTW [*] written in C. Why assume you can do better? You can't, use that too.

    In the rare case where you need to have something written from scratch, write it in whatever you are comfortable with. In my case C++/Boost (yes another library).

    Finally you need to tie all this together, and hack around with it, and analyse the results so what's wrong with a bit of Python and MATLAB?

    Perhaps this is an extreme example, and doesn't fall into the buisiness relm but the point is "the path of least resistance". Sometimes that path is dictated by existing code.

    Do you really expect someone to rewrite from scratch an XML parser in "DoomJuice", or whatever is fashionable in house, just to please the people that want to standerdise on "DoomJuice"? No, use an existing library!

    Ok, I've made my point. I will stop now.

    [*] Yes I know FFTW technically uses Objective CAML to generate C code, but that's really only a distinction that a nerd would make.

    --
    Be nice to people on the way up. You will meet them again on your way down!
  25. Hmm, web development anybody? by LoveMe2Times · · Score: 3, Insightful

    If you're doing any web development (and let's be honest, if you're doing any develolpment, your organization is doing some web development somewhere), you *must * use 3 or 4 different languages. No way around it. If your organization isn't using some combination of HTML, XML, CSS, Javascript, XSLT, XPath, ActionScript (1, 2, or 3!), SVG, and other web languages, well, WTF?? Toss in a server side language, either Java, ASP.Net (any), PHP, Perl, Ruby, etc, and often you pick (or have only 1 choice of) a tag language to match (like JSP/JSF/etc with Java). Unless you're using some data abstraction layer, ORM type thingy, you'll probably have some SQL kicking around too.

    Next, if you create an end-user application of some kind, in many many cases, you must use C/C++ due to end user requirements. Some of this is being eaten up by C#, but not everybody is willing to target the .Net runtime. Then, you probably have to write an installer, and this might be using InstallShield's scripting language or similar. Does your QA department do automated testing? The automated testing tools usually have their own scripting languages too (maybe these are moving to .Net languages now, I haven't looked in a while). And if you're a big dev team, you'll be doing automated builds, so'll have somebody who's actually hacking around with makefiles (potentially MS format NMAKE files).

    If you're company is big enough to be worrying about this kind of problem, you'll have an IT infrastructure of some importance. Your IT team damn well better be using Bash scripting, Perl, Python, or some other Sys Admin language. Even Windows admins these days write scripts; there's even this new scripting framework scheduled (as an add on?) for Vista. How about your Apache config files? Your various mail/proxy/firewall configs (talking to UNIX folks here...)?

    If you have a real IT division, I'll bet you have an accounting section. Remember why people have such trouble moving to OpenOffice.org? That's right, custom Excell/Acess solutions. What's that, VBScript you say? Moving into Fortune 1000 territory, how about R3? Well, that SAP system never actually did anything, but those consultants sure made a helluva lot of money. Manufacturing and assembly lines use all kinds of weird stuff. Got any telephony solutions running around? Are you targetting mobile devices? Use scientific/mathematical software? Rendering software? Various pre-press systems? Work in the medical/health care industry? A lawyer's office? All these verticals have lots of custom things running around that you sometimes can't avoid.

    So in a nutshell, any reasonable corporation doing software development *should* be using 5-10 languages. If you were to pick only 1 language, the only choice you could possibly have is HTML. You could theoretically write a static HTML page with no CSS, no Javascript, no server side scripting, no SQL, and no Flash. You could run it off of one server, with no admins and no scripting. With no product to hawk, you don't need an accounting deptartment, and voila. Good luck with the whole money thing, though... What a stupid question. Use what you have to based on the requirements, and when you have a choice, do your best (maybe even bend over backwards) to avoid unnecessary proliferation.

  26. Re:Depends... by O.W.M · · Score: 3, Funny

    English.

  27. The Danger in Corporate Language Standardization by constantnormal · · Score: 3, Insightful

    ... is that it tends to degenerate to the "lowest common denominator", or the most widely-used language for everything, regardless of applicability and common sense.

    Nonsense such as COBOL in the desktop environment, or perl in an IBM mainframe environment. Neither makes much sense, as the supporting codebases that might make COBOL in an IBM mainframe environment do not exist in a desktop environment (without extensive (and expensive) porting) and similarly, the large pre-existing codebases for perl do not exist (or again require substantial porting) in the mainframe environment, not to mention perl's targeted UI of a unix shell or console is not what one is presented with in mainframe environments. REXX makes for a much better choice of a scripting language on the mainframe.

    Yes, you CAN use COBOL for everything. Or Java. Or C/C++. Or perl. Or assembler.

    That old saying, "To the man with only a hammer in the toolbox, every problem looks like a nail", applies here.

    Having a toolbox with a reasonable assortment of versatile tools is a sign of a craftsman. Having a toolbox with every tool known is a sign of a rich dilettante playing at being a craftsman. Having a toolbox containing a single tool is a sign of an idiot playing at being a craftsman.