sindresorhus / ama

[[I'm slow at replying these days, but I hope to get back to answering questions eventually]] Ask me anything!
https://blog.sindresorhus.com/answering-anything-678ce5623798
142 stars 32 forks source link

Have you ever participated in a programming contest? #344

Closed buefin closed 8 years ago

buefin commented 8 years ago

I'm have been programming for many years and really love it. I'm personally good at programming but not quite good at Mathematic. Recently, I have joined a programming contest, I could solve just half of the problem, I felt very disappointed about the result. In order to be better programmer, I'm not sure if I need to re-read all the mathematic theories or not; Discrete mathematics, Sorting trees, Pigeon hole, and etc.

I would like to get some advices from you. In your opinion, do you think there are a strong correlation between Programming and Mathematic? Should I re-read all the mathematic theories and join the contests in order to become a great programmer?

Thanks in advance. Any advices from you will be very valuable for me.

sindresorhus commented 8 years ago

I have never participated in a programming contest. Not my thing. Programming is more of a passion than a sport for me. Being average at math and not having a Computer Science degree haven't really slowed me down. Whether you should improve your math knowledge really depends on what kind of programming you want/need to be doing. The kind of programming I do, Node.js and front-end JavaScript, require very little math knowledge, but if you, for example, want to do scientific programming or work on hard problems at e.g. Google, you obviously need to know your math. That being said, math knowledge never hurts, but there are many more important things to learn to be a great programmer, like how to create performant scalable maintainable systems, code reuse, readable code, usable APIs, debugging & profiling, writing good tests, resolving bugs, writing approachable docs, collaborating with other humans, etc.