DEV Community

Discussion on: Is there such thing as a bad programming language?

Collapse
 
cathodion profile image
Dustin King

It's extremely subjective and situational, but there are a lot of metrics that one could apply (though there's not necessarily an objective way to measure them), and if a language scores low on everything, one might call it "bad". But which metrics are important to you is going to vary quite a lot. Here are some I can think of:

  • Manipulexity and whipupitude, Larry Wall's terms for what he was trying for with Perl: fine grained control plus the ability to create a useful program quickly.
  • Usefulness for large teams or large projects
  • Readability
  • Succinctness (the ability to express the intent of the program with the fewest number of symbols)
  • Performance
  • Security
  • Backward/forward compatibility (If I write something today, will it run a year from now? Ten years? 10,000 years?)
  • Libraries/packages
  • Welcoming culture
  • Friendliness for beginners
  • Ability to illustrate CS or programming concepts
  • Ability to hire people who know it or are willing to learn it
  • Ease of use for some problem domain (e.g. server-side web programming for PHP)

I'm probably forgetting some. But in general, if something scores low on all these (or at least the ones you care about), then you might be justified in calling it "bad". But then what you care about might not be what the language authors care about.

There are also deliberately "bad" languages like Brainfu*k and Intercal. But maybe they're good for their intended use, which might make them not really bad.

Collapse
 
realrayinla profile image
Raji Ayinla

Great post! Looking at your list it's easy to see how some may favor friendliness and strong community culture when they're just starting out with a language or programming in general.

On the other hand, more seasoned developers might bash that same language for its "syntactic sugar" and its slow compile time.