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 is your language choice for coding challenges?

5 pointsby InquisitiveMeover 8 years ago

7 comments

InquisitiveMeover 8 years ago
I have always been using Python for this but is about time to improve this skill by using more serious programming language. In sense that it should be lower lever and at least have static typing. Contenders are: C/C++/Java. My feeling is that Java knowledge would be more useful for future work but C/C++ would make more familiar with memory management.
tom_bover 8 years ago
Clojure.<p>At stockfighter.io and HackerRank, I enjoyed practicing my Clojure hacking skills. HackerRank supports Clojure as a language that is submitted and run against automated test suites for challenges. At stockfighter.io, you can choose any language since you are submitting answers to a REST API.<p>My Clojure chops increased and I now use the language at work for new development.<p>I am debating a switch to python for machine learning challenges (maybe Kaggle?). If I decided to return to the enterprise world, I probably should drift back to plain Java for challenges.
technionover 8 years ago
I think this is actually a flaw in many such challenges.<p>I hit questions where I would say &quot;I would do that in production in Erlang, or C&quot;, but then the only metric you are judged on is time, and suddenly I&#x27;m writing Ruby again.<p>I think that&#x27;s fine when the challenge is scoped as &quot;who can solve this challenge?&quot;, but there are &quot;job application&quot; type challenges with tight timers where this is just the wrong approach. It&#x27;s similar to why you never write tests in such environments, once you get a tick on the challenge.
kzismeover 8 years ago
If code golf counts as a challenge then Jelly <a href="https:&#x2F;&#x2F;github.com&#x2F;DennisMitchell&#x2F;jelly" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;DennisMitchell&#x2F;jelly</a>
viraptorover 8 years ago
If the challenge explicitly allows managed languages, it means you don&#x27;t need raw processing speed to win -&gt; Python is fine. Need raw speed -&gt; C, or C&#x2F;Python mixture.
wprapidoover 8 years ago
python FTW! it doesn&#x27;t get in your way and supports all paradigms. after all, it&#x27;s a language of choice for so many CS courses
aprdmover 8 years ago
Python for sure. Usually they care if you can do the algorithm. Python doesn&#x27;t get in your way. It&#x27;s almost plain English