12
36 Comments

What's the best language for backend development according to you?

submitted this link on September 16, 2022
  1. 18

    The one which you know very well.

    1. 1

      This is the correct answer! :)

      Personally, I use Ruby (and Rails) because I know it well and it helps me move quickly. That being said, use the right tool for the right job. If you are hitting bottlenecks in your code (and your code is optimized) then it might be time to consider a more performant language. Also, if your team is growing, it's important to think about type safety (Ruby does have gems that sort of accomplish this). In my experience, language is rarely the bottleneck for performance. It's typically database queries that need to be optimized first.

  2. 5

    So this post and link is just an ad for a web development agency?

    1. 1

      the link is an ad from my reading - but wondered about the validity of the question...

  3. 2

    Depends on what your purpose is.

    Personally, I find that I can build an MVP fastest with JS (Node.js)

    1. 2

      Agreed. Elixir with Phoenix LiveView is a great choice.

    2. 2

      I'm currently using Elixir/Phoenix + Flutter for my projects as well.

  4. 2

    Ruby. readable, concise and rails is very bootstrapper friendly

  5. 2

    The best backend language and the best frontend frameworks are the ones am indiehacker knows the best

  6. 2

    Rust - but because I can share the code with the front end (web) via wasm. So data structure is strongly typed and the same in backend and front-end. It helps as I am doing both...

    1. 3

      Sorry I am having a chuckle on this. Rust and wasm oh my my my.

      Talk about over engineering something for no good reason. Yes i get it LOL you love rust. But the learning curve is very steep indeed.

      So the advice is terrible for the original posters question.

      1. 1

        No problem. I understand. I take it as a win I managed to get a chuckle and a lol for it.

  7. 1

    I would vote for Java by default, given its ubiquity (both from finding devs who know the language and plethora of libraries that have already solved many problems).

    If you want to quickly move with the project scripting languages like Python/Django or Ruby/Rails are certainly better suited. Nice thing with Python is you can extrapolate the choice to other backends like data pipelines/ML pipelines etc.

    Go lang is better suited for systemsy/middleware kind of stuff. You can write a decently performing server middleware (for many popular protocols) with just the core language SDK in Go.

  8. 1

    I have been thinking about this recently ... I think it comes down to a few things... ease of use, the community behind it, adoption in industry but one that we don't consider that much is how 'green' or energy efficient the language is.

    Python, Ruby and PHP apparently are the most energy demanding languages. My vote would be to use JS/Typescript where possible.

  9. 1

    I don't work with backend, but I want to get into this field. thank you all for your comments. it was very helpful

  10. 1

    I've used Django, NodeJs and more recently Go for my backends. In terms of my very subjective option, I like Django the least. I think it's probably the best option for a lot of startups given all the functionality it gives you out of the box (especially if you're coupling your frontend and backend together), but I moved away from it for a few opinionated reasons.

    (1) I eventually didn't like all the abstractions. It's really nice in the beginning to get a lot of functionality with a few lines of code, but it's a pain later on trying to figure out how to customize things.
    (2) After experiencing how JS/Typescript and Go are strongly typed and easily linted, I found Python underwhelming. Yes, you can add typing, linting and formatting to Python but it feels a lot more clunky. This is definitely a personal preference, but I found Django less "fun" to work with for these reasons.
    (3) I'm a convert to serverless deployments (eg Lambda) with NoSQL (eg DynamoDB) for the database. There are a lot of benefits to this setup, including cheaper, faster and more scalable cloud infrastructure. Django won't give you that.

  11. 1

    NodeJs - Easy to learn and a ton of useful packages are available on npm to make a developers life easy.

    Ecosystem of developers if also huge.

  12. 1

    I LOVE KOTLIN. It's just so neat and you can do so much using clean code. It is a delight to code with. I love it.

  13. 1

    I am confused which one to pick among Kotlin / Golang / Quarkus. I am new to all of the three. Any suggestions?

    1. 1

      I've seen teams of engineers learn golang faster than the other languages mentioned

    2. 1

      Kotlin is just delightful to code with, things work straight out of the box and you can organize your code so well. I just love it

  14. 1

    NodeJS/DynamoDB/Lambda

    1. 1

      Hard yes to DynamoDB and Lambda (or any NoSQL + serverless option)!

  15. 1

    Broke it down by Resourcing Cost (generally speaking) - seems to be important

    PHP (Battle Tested - big community) - Widest pool $
    NodeJS (Some caveats - but strong) - Wide pool $$
    GoLang (Strong in Mostly Middleware/API) - Smaller Pool $$$
    Dart (Strong OOP - but still needs maturing - your boss at at your midsize to large company won't let you use yet - to mitigate risk) $$$

    I remember the sentiment a long time ago that Ruby would take out PHP - lots of hype - and be careful about stats and numbers from surveys like this.
    https://www.devjobsscanner.com/blog/top-8-most-demanded-languages-in-2022/

    Or do what I do an use a microservices combo to assimilate them all. Best of all worlds (for this who get the TNG reference).

  16. 1

    I know C#, Golang and Node.js and a dozen more languages besides. I won't get into a language war here. I am using Node.js on the backend for our forms software fabform.io . Do I hate javascript someday's. You better believe it, i do, but with node.js , you get shit done quickly and it works fine in production.

  17. 1

    TypeScript on Stackless (stackless.dev) is the best backend language.

  18. 1

    Python, primarily because of its huge collection of standard libraries.

    Apart from Python there is the venerable Java Script . The popularity of Node.js has increased the usage of JavaScript.

  19. 1

    The one you already use for frontend. Most of the time it's JS

  20. 0
    1. PHP
      PHP is a server-side scripting language developed by Rasmus Lerdorf in 1994. It was designed to make web programming easier and faster than previous languages. In addition to being popular among developers, PHP is also widely used in many applications including WordPress, Drupal, Joomla!, and Magento.

    2. Python
      Python is a general purpose, interpreted, object oriented, dynamic programming language. It was created by Guido van Rossum at AT&T Bell Laboratories. Python is known for its clean syntax and simple structure. Python is often described as a “programming language for people who do things”.

    3. Ruby
      Ruby is a dynamic, open source, reflective, object-oriented, high-level programming language. It was originally created by Yukihiro Matsumoto while he worked at MacroSystems Japan. Ruby is notable for its simplicity and elegance.

    4. JavaScript
      JavaScript is a multi-paradigm programming language that is dynamically typed, weakly typed, and loosely typed. It is generally considered a client-side scripting language, although it is also frequently used for server-side scripting.

    5. Java
      Java is a computer programming language that is cross platform, object-oriented, concurrent, class based, and type safe. It was first released under the name 1.0 in 1995 by James Gosling at Sun Microsystems.

    6. C
      C (pronounced /ˈkʌz/) is a general-purpose, object-oriented, imperative, statically typed, Microsoft-sponsored programming language. It was developed by Anders Hejlsberg at Microsoft Research Cambridge in 1996.

    7. Perl
      Perl is a general-purpose programming language that combines features of several other languages, notably C, awk, and shell. It was created by Larry Wall in 1987.

  21. -2

    This comment has been voted down. Click to show.

  22. 1

    This comment was deleted a year ago.

Trending on Indie Hackers
I've built a 2300$ a month SaaS out of a simple problem. 19 comments 🔥 Roast My Landing Page 12 comments Where can I buy newsletter ad promos? 11 comments How would you monetize my project colorsandfonts? 8 comments Key takeaways growing MRR from $6.5k to $20k for my design studio 6 comments How I built my SaaS in 2 weeks using NextJS and Supabase 5 comments