Live data from Hacker News

Ask HN: Programming – what changed your mind about a language or feature?

news.ycombinator.com

11–15 of 15 posts

Re: Ask HN: Programming – what changed your mind about a language or feature?

#11
When I first had heard about Go (golang) I was severely unimpressed. Good support for multi-threaded programming was nice, but the rest of the language seemed like a step (or two) backwards.

Then I ran across this talk by Rob Pike:

https://talks.golang.org/2012/splash.article

What really impressed me about Go was the attention to detail on all the little things that are annoying in C and related languages. How they decided to re-order how variable declarations are done, things like that.

It was about paying attention to the "ergonomics" of programming that impressed me.

Re: Ask HN: Programming – what changed your mind about a language or feature?

#12
post #4

I have been programming R for some work and enjoyed it but it wasn't very good code. So after digging a while to figure out how to get better with R I learned Racket. 1) "How to Design Programs" is the best book I have ever gone through for any language. http://www.htdp.org/ 2) Went through "Realm of Racket" with my 11 year old daughter. http://www.realmofracket.com/ 3) The documentation is the most consistent and we…

Any details on how you managed to cut 1000 lines down to 40?

Re: Ask HN: Programming – what changed your mind about a language or feature?

#13
I took on a project in Java (web backend project) a few months ago, first Java experience, I was excited.

After a couple months, the gratuitous (or what felt like gratuitous to me at least) verbosity of the language and all sort of abstractions and intricate relationship of classes/interfaces in libraries (the typical Java programmer mindset) drove me insane. Icing on the cake was the atrocity of frameworks (had to work with a legacy Spring codebase) and the need for using an extremely complicated IDE with a billion options and knobs in order to write any sort of code.

I was incredibly happy when I finished and deeply regretted taking on that work. I didn't think it would have been that bad.

I think if Java was my only option, I'd probably switch to a different non-programming career.

To put things in perspective, I am a C (kernel development)/C++ (system programming)/Go (backend development) programmer usually, working with tmux+vim and respective plugins for lightweight code completion and navigation.

Re: Ask HN: Programming – what changed your mind about a language or feature?

#14
php, javascript, python, languages with ad hoc data structures and no compilation, no jars, no dlls, no .o[bj], no .h

People hate these because they like structure over speed and ease and what they perceive as high quality. Those people are going to die sometime in the next 0-50 years. So how much is your rigid, time consuming, kid safe, "right way" worth if you were going to die tomorrow?

I've found that people overwhelmingly like to do things in the most complex, restrictive way possible when they are being paid to do it and finishing means they might no longer be paid.

Re: Ask HN: Programming – what changed your mind about a language or feature?

#15
post #12
post #4

I have been programming R for some work and enjoyed it but it wasn't very good code. So after digging a while to figure out how to get better with R I learned Racket. 1) "How to Design Programs" is the best book I have ever gone through for any language. http://www.htdp.org/ 2) Went through "Realm of Racket" with my 11 year old daughter. http://www.realmofracket.com/ 3) The documentation is the most consistent and we…

Any details on how you managed to cut 1000 lines down to 40?

Yes I was able to make concise higher functions and iterate them. Before I went through learning Racket I was doing a lot of repeating things with slightly different changes. I figured out how to attack the problem in a repeatable concise way.
Post reply on HN