HACKER Q&A
📣 Aerbil313

Most productive programming language for individual use?


I’m seeking the most productive language for my daily use, for small software I need for myself. One criteria: The speed I’m able to get the task at hand done. I keep hearing good things about OCaML, Lisps and Smalltalk, any ideas?

Edit: In clearer words, in which programming language do you feel yourself the most productive discounting factors external to the language? (like platform monopoly, runtime, environment, package ecosystem etc.) Think about the language itself.


  👤 brucethemoose2 Accepted Answer ✓
The one with the libraries you need.

So... Depends on the task? Every language has good niches, so start by searching pypi, cargo, rubygems or even just github.


👤 thesuperbigfrog
It depends on what you are trying to do and what programming idioms you prefer.

What kind of tasks do you work on? Recommended programming languages for web development are quite different from embedded programming work. I may prefer Clojure for some tasks, but Rust for other tasks.

The programming language that I am most productive in may not be your preference. Some people prefer Rust for low-level tasks, while others prefer C++ because they have used it for decades.


👤 gregjor
Requirements too vague to begin to answer the question.

Choice of language generally has little to do with overall productivity, except you will need time to learn a new language, libraries, idioms, ecosystem. So best to start with the language you have the most expertise and experience with.

The factors you discount can affect overall productivity much more than the programming language.

Your question seems like asking which tires will let you drive fastest, ignoring everything else about the car and the road and your driving skills.


👤 WheelsAtLarge
I'm a proponent of the most popular wins. Look at the top five and pick one. You'll get lots of support in terms of libraries and general know-how for most OSs which helps immensely on productivity. You'll want to make it as easy as possible on yourself.

👤 Bosinski
hmm, you should name the environment where things should happen ? Could be e.g. inside the Java-VM, .Net, maybe some mobile-OS or a Browser-Engine ? Once that is clear, it's a bit easier to recommend a/some language/s.

greets


👤 AnimalMuppet
I'm most productive in the language that I know best. Secondary to that, I'm most productive in the language that has semantics and libraries that do the best at providing useful parts for what I'm trying to write. Third, I'm most productive in a garbage-collected language, unless I'm not allocating memory, or unless I need careful control of memory.

So if the problem I have is pulling pieces out of a text file, I reach for Perl. I know it well enough, and it's great at that problem. For most other things, I reach for either C++ or Java, because they're what I know best.

But if part of the goals of the project is "learn a new language", then that changes the logic. Then I'm explicitly looking for a language that I don't know. At that point, I have to go by what others say about the language, because I don't personally know it's strengths and appropriateness to the thing I'm trying to write.


👤 mrcode007
C++ for CLI , Swift for UI

👤 wg0
Ruby. Python. Go.

👤 nathants
gojurescript.

👤 MilnerRoute
I'd say it's the language that you personally know the best. (Because then you won't constantly be checking syntax.)

Perl actually had really good pattern matching, and Perl 6 has a lot of crazy new features -- but if you don't know of them or how to use them, it doesn't help.