TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What programming language do you find the smartest and most efficient?

2 pointsby ned7over 5 years ago
I use JavaScript and python regularly and I am willing to learn a new language that will increase my programming capabilities. What are some good suggestions and why?

5 comments

jolmgover 5 years ago
Haskell because of the type system. It&#x27;s very satisfying to start a change in one location and have the compiler automatically tell you all the other places you need to modify across the whole project to finish the change and practically guarantee that it runs correctly. It&#x27;s also great to not have to rely on human documentation to learn how to use a library. Looking at the type signatures is enough to learn how to use most of them. The type system also alleviates the need to write many tests.<p>It&#x27;s also efficient in that it runs very, very fast thanks to being compiled. The size of the compiled executables can be very small too, when you chose to use dynamic linking of the libraries. Choosing static linking comes with the advantage of not having to worry about installing library dependencies (beyond libc) where-ever you chose to run the resulting executables.
DarkWiiPlayerover 5 years ago
Lua. Its main selling points are that it&#x27;s small, simple to embed and easy to learn. You also won&#x27;t find many interpreted languages that can even come close to match its speed.<p>Also multiple returns. I find it hard to believe that nobody else thought of that, but it&#x27;s just not something any other language has.
评论 #21571782 未加载
jstewartmobileover 5 years ago
As a skills exercise, I&#x27;d recommend pure-functional programming with immutable data structures (clojure, elixir, etc). Getting to a point where you &quot;own&quot; recursion and non-mutation will pay dividends in any language.
评论 #21572062 未加载
mokslyover 5 years ago
Python is easily the most efficient at getting things done at our shop. Not sure it’s the smartest, but we care a lot less about that.<p>We were a C# shop for a long while, but even with .Net Core and a Windows&#x2F;azure heavy tech stack Python is just consistently better at getting things into production.<p>Dynamic types aren’t always the greatest though.
catacombsover 5 years ago
Golang is a good next step.