Ask HN: How do you choose languages for building applications?
1–10 of 48 posts
Re: Ask HN: How do you choose languages for building applications?
#2Also, you can ship fast and write more performant version, possibly in different language, later.
Re: Ask HN: How do you choose languages for building applications?
#32. Ecosystem. I might choose a language for a game based on available frameworks. Or Python for ML based on available libraries. Or if you want to work with XMPP, Erlang is handy to know.
3. Familiarity. You’ll move faster and write better code with a language and ecosystem you and your team are already familiar with.
But often there are many valid options and you just have to choose one.
Re: Ask HN: How do you choose languages for building applications?
#4>Say, i want to build tcp client for check connection and can deploy anywhere without install any dependency
Why? What are you trying to accomplish? Where do these constraints come from? Where does the no dependency constraint come from? Where does deploying anywhere come from? Where does checking the connection come from? What is the real problem you are trying to solve?
These questions are to avoid the XY problem, to avoid the trap of solutionism, and to get to the "Job to Be Done".
Someone once asked me how to solder a thick copper wire to a thin steel plate. When I asked him why, I listened in disbelief as he answered that the fuse blew out and that he was going to get a thicker wire and solder it so it doesn't blow out. His solution comes from an incorrect diagnosis of the problem at hand, and he asked me about the solution framed as problem, not the true, root, problem.
To answer your question: it depends.
Re: Ask HN: How do you choose languages for building applications?
#5Re: Ask HN: How do you choose languages for building applications?
#6Re: Ask HN: How do you choose languages for building applications?
#7Re: Ask HN: How do you choose languages for building applications?
#8No matter what people say, the reality is that people use languages they know best. And unless you strive for the best possible performance, there is really no other reason to change that. Do not let perfectionism be in the way of "good enough". Also, you can ship fast and write more performant version, possibly in different language, later.
Re: Ask HN: How do you choose languages for building applications?
#9Re: Ask HN: How do you choose languages for building applications?
#10For everything else, you either go with what you know, or just try to evaluate the best choice based on the language and toolchain.