Ask HN: Do you program in a language that you feel indifferent towards?
Maybe you don't have a choice in the language you use at work. Or maybe you chose a language for its features or performance even though you neither like or dislike the language. Does this sound like a familiar scenario? If so, what are your thoughts? How have you found the experience of using a language that you have no liking for?
13 comments
[ 9.7 ms ] story [ 38.2 ms ] threadFor the last 8+ years I have written mostly in Java, professionally. I'd much rather write Python or C#, but I have to work in Java, at least for now.
Though, I’m a bit of a language junky, I love playing with new languages that largely break away from the classic C Style. My daily languages I use, and actually deeply enjoy working with are Ruby, JS/TS (mostly TS now-a-days), and Elixir. Likely Haskell is the next language I’ll try to seriously learn, as it’s one I just want to check off my list. But, I’ve also dabbled around with rust, tried to drink the lisp koolaid, but couldn’t get past the (((())))))) - I hope one day to try again to see what the hype is about, and I occasionally check up on Idris, but I’m going to let that one mature a bit more/at least get Haskell under my belt before I give it a serious effort.
With all that said, Python is solid, but with all the other options out there, it just seems terribly boring. Maybe that’s largely due to my lack of meaningful work with it in the past few years, but I’m not at all interested in using it anymore. Also, the whole white space thing is a huge turn off, Which is one of the things I actually used to really like about it.
Something like Kotlin, on the other hand, is so pleasurable that people often make up projects to have a reason to use it. Which is not necessarily a good thing.
Personally, I am that kind of person that likes to experiment with a lot of languages to have a bigger toolset. So when I visit some subreddit related to a new language and I look for topics that would help me decide if that language is good for what I am looking for, I always find topics with people adoring the language and there is rarely any downsides mentioned. That kind of praise is just counterproductive and I don't understand why other people don't see it that way.
The JVM is still my go to for any project. Go and especially Go 2 seem interesting but there's basically zero chance I'd be able to use it at work so... meh.
But some tools are more powerful and/or easier to use.
Using R for work at the moment - what a mess. So many exceptions, silent errors, unexpected behaviour, special cases, 3 object-oriented systems in a non object-oriented language - each of them slightly different; lazy vs non-lazy evaluation, 3 different types of data frames - similar to each other (but not quite the same) and you can use the same operations and packages on some of them, but not always; the same algorithms implemented in different packages with a similar but slightly different syntax... and so on.
Many tools/languages that have a difficult learning curve also provide a significant payoff/increase in productivity when you master the tool. R is nothing like this. Learning all of the strange features just brings you up to a level where you can write code have it do what you expect it would do.