Slashdot Mirror


What Makes a Powerful Programming Language?

A not-so Anonymous Coward queries: "My company is about to start development on a new project, and I have to decide on a language and development environment. My boss gave me a set of criteria which needs to be filled: intuitive and easy to use IDE; simplified GUI design and event handling; advanced error handling; advanced object oriented design including multiple inheritance, abstract classes, and garbage collection; full support for operator and function overloading; and portable (at compile-time) across various platforms. I have already looked at C++, Java, C++, C#, Eiffel, and even VB.net; I may be missing something but as far as I can tell all of these languages are missing something from this list. Is there a language available that has all of these features? I thought that someone from Slashdot would be able to point me in the right direction?" If you were to design a language from the ground up, what features would you include and why?

22 of 1,098 comments (clear)

  1. Sounds like you need a PFM tool by mrroot · · Score: 5, Funny

    You know, Pure Fcking Magic

    --
    I Heart Sorting Networks
  2. Fantasy by NiftyNews · · Score: 5, Funny

    "If you were to design a language from the ground up, what features would you include and why?"

    Since we're in a complete fantasy realm here where all of use have the brainpower, patience, trust fund, and buckets of countless free hours required to even BEGIN such a task...

    ...can I have a pony?

  3. Sounds suspicious by igrek · · Score: 5, Funny

    It's strange that your boss has so many requirements for the language but yet he didn't want chose the language himself.

    You have the difficult choice to buy a car in any color, provided the color is black.

  4. Re:Why do you need all these features? by Anonymous Coward · · Score: 1, Funny

    Trying to use as many language features as possible is a common pitfall when programming in modern day languages.

    No, it's not a mistake. It's called job security

    If you try to use multiple inheritance, operator overloading etc. just because you can, you will end up with an unreadable, unmaintainable, undebuggable mess.

    Sounds like a perfect recipe for a long-term career in code maintenance.

  5. Re:The boss probably already knows the answer ... by g1zmo · · Score: 4, Funny
    I have already looked at C++, Java, C++, C#, Eiffel, and even VB.net
    Wonder which way he's leaning?
    --
    I have found there are just two ways to go.
    It all comes down to livin' fast or dyin' slow.
    -REK, Jr.
  6. Re:Simplicity is good by Anonymous Coward · · Score: 5, Funny

    Most of those requirements does not make sense, they seem to be pure buzzwords bullshit by your boss

    Exactly right! While reading the long requirement list, I was expecting the last one to be:

    "and a cute animated assistant to help us find our way through the features."

  7. Re:Perl Made this Post Possible by Graspee_Leemoor · · Score: 2, Funny

    If Larry Wall is God, does that make Heidi Jesus?

    I really got to get out more.

    graspee

  8. PFM is cool, but avoid ... by mr_death · · Score: 3, Funny

    ... the MCF (Mongolian Cluster Fsck), which sadly occurs when a committee gets together to decide things.

    --
    It's Linux, damnit! Pay no attention to renaming attempts by self-aggrandizing blowhards.
  9. Re:Simplicity is good by felipeal · · Score: 3, Funny

    Anonymous Coward wrote:

    Most of those requirements does not make sense, they seem to be pure buzzwords bullshit by your boss

    Exactly right! While reading the long requirement list, I was expecting the last one to be:

    "and a cute animated assistant to help us find our way through the features."

    See, that's the problem with AC posting: it was a funny reply moded down to -1...
    (I hope this one does not have the same fate :)

  10. Re:Who cares? Language wars are over by ari_j · · Score: 3, Funny

    If a solitary programmer decides Prolog is his favorite language, he is working on his PhD and never intends to leave academia and get a "real job". And your "What if" question is moot: Nobody else does know Prolog. ;-D

  11. Re:Let me offer a proverb... by Graspee_Leemoor · · Score: 2, Funny

    "When all you have is a hammer, everything looks like a nail."

    I find the other way round true:

    "When all you have is nails, anything starts to look like a hammer".

    That's why my Swiss Army knife has dents in the side of it anyway...

    graspee

  12. Perl of Course by Anonymous Coward · · Score: 1, Funny

    Perl!

    Whenever anyone asks you what language is best to write a program in, smile, and say "Perl".

  13. Re:Simple. by curunir · · Score: 5, Funny

    For this reason, the language I'd suggest is English. It is entirely compliant with every buzz word listed above and is the only language guaranteed to be compatible with every future over hyped technology.

    It does have a couple of down sides tho...compilers cannot be purchased, only hired. Also, the compilation process can be time consuming depending on the skill of your compilers.

    However the ability to have your product planning team create the .fsd files and pass them directly to the compiler is a big plus.

    Oh...and it is also fairly simple for a trained engineer to port English programs to languages such as French, Spanish, Russian or even Japanese!

    --
    "Don't blame me, I voted for Kodos!"
  14. Re:Why specify language features? by frank_adrian314159 · · Score: 5, Funny
    why is your boss specifying language features rather than project design goals?

    Because he can...

    --
    That is all.
  15. Re:Don't pick the language first/excellent post by ramanujan · · Score: 2, Funny

    It's like walking into Home Depot and asking the contractor's desk, "Excuse me! What's the best tool?"

    ;)

  16. My recomendation... by T3kno · · Score: 2, Funny

    Would most definately have to be Brainf*ck. I really think it fits the bill for what you are looking for. It has great OO support, and is extremely easy to learn. The code you will create with it is tight and fast, and the possibilities are endless with what you can do with it.

    Take for example the following chunk of bf code:


    >+++++++++[<++++++++>-]<.>++++++[&l t;+++++>-]<-.+++++++..++
    +.
    >>+++++++[<++++++>-]+.>++++++++++.

    That code is a complete program, and will actually print out..."Hello, World!" can you believe it? In only 4 lines? Surely you jest? I can honestly tell you the answer is no, and dont call me Shirly. There are even rumors of bf supporting .NET with the upcoming * operator in version 6. Check it out, you wont be sorry.

    --
    (B) + (D) + (B) + (D) = (K) + (&)
  17. Re:Well...personally, by Cardhore · · Score: 4, Funny

    I'd rather have:
    (/ (+ (exp a b) e) (* c (+ d (+ b (+ a b)))))

    :)

  18. What IS the best religion? by namespan · · Score: 5, Funny

    what is the best religion?

    Dear Slashdot,

    My boss gave me the assignment to find the best religion. Some requirements that he gave me are:

    <UL>
    <LI>Should keep one from everlasting suffering and torment in next life
    <LI>Should help one eventually pass to nirvana-like existence, eternal increase and well-being, perhaps even an all-powerful/omniscient state
    <LI> Should help one to acheive balance, peace of mind, and a strong feeling of being alive within this imperfect world
    <LI> Should enable the occasional performance of miracles when called for
    <LI> Should improve behavior of followers (make them charitable and courteous but zealous in good causes), and help them improve the world
    <LI> Should have limited numbers of flawed adherents
    <LI> Should have a consitent theology that makes total sense to rational minds and mystics alike, yet is accesable to the common man
    <LI> Should provide insurance against armageddon-like scenarios
    <LI> Should have a finite (yea, even small) set of clear, detailed, and consistent directions for acheiving all positive results (Goedel's theorem notwithstanding). Not to mention avoiding bad results.
    <LI> Should be in line with the will of the universe's most powerful entity.
    </UL>

    I've looked at Christianity (Catholic, Eastern Orthodox, Melkite, Coptic, Protestants of several stripes), Islam, Buddhism, Hindu-ish faiths, and primitive animism, Kibology, Shirley Maclain, Scientology, Wiccan groups, secular humanism, and both U.S. political parties, but they all seem to be missing something. Can you point me in the right direction?

    --
    Libertarianism is rich wolves and poor sheep playing gambler's ruin for dinner.
    1. Re:What IS the best religion? by Black+Parrot · · Score: 2, Funny

      My boss gave me the assignment to find the best religion. Some requirements that he gave me are:
      • Should keep one from everlasting suffering and torment in next life
      • Should help one eventually pass to nirvana-like existence, eternal increase and well-being, perhaps even an all-powerful/omniscient state
      • Should help one to acheive balance, peace of mind, and a strong feeling of being alive within this imperfect world
      • Should enable the occasional performance of miracles when called for
      • Should improve behavior of followers (make them charitable and courteous but zealous in good causes), and help them improve the world
      • Should have limited numbers of flawed adherents
      • Should have a consitent theology that makes total sense to rational minds and mystics alike, yet is accesable to the common man
      • Should provide insurance against armageddon-like scenarios
      • Should have a finite (yea, even small) set of clear, detailed, and consistent directions for acheiving all positive results (Goedel's theorem notwithstanding). Not to mention avoiding bad results.
      • Should be in line with the will of the universe's most powerful entity.
      I've looked at Christianity (Catholic, Eastern Orthodox, Melkite, Coptic, Protestants of several stripes), Islam, Buddhism, Hindu-ish faiths, and primitive animism, Kibology, Shirley Maclain, Scientology, Wiccan groups, secular humanism, and both U.S. political parties, but they all seem to be missing something. Can you point me in the right direction?
      Except for the bit about improving the behavior of its followers, your requirements are best satisfied by worshiping... money!
      --
      Sheesh, evil *and* a jerk. -- Jade
  19. What Makes a Powerful Car? by Jagasian · · Score: 4, Funny

    Ok guys, I need help finding a car for a biz project that my company is working on. My boss says that the car must have the following features: side panel wood trim, a hatch back, 60-inch wheels, a blue stick shift, firestone tires, a fiberglass bumber, and oh yeah, to be hip with the latest trends, it has to be a SUV. I am just having so much trouble finding a car that has all of these features.

  20. Learn from other disciplines by John+Jorsett · · Score: 2, Funny

    Materials engineers call the equivalent thing in their field 'unobtainium,' I believe.

  21. Re:Java Interfaces by Ozx · · Score: 0, Funny

    Try finding a buffer overflow in OCaml without telling the compiler to disregard safety...