r/computerscience • u/bing_07 • Oct 28 '18
I love coding but hate competitive programming.
So I have been coding since 2 years. So far I have a good grip of Wev design and Android. I am fluent in python (it was the forst programming language that I learned). I love making websites, GUI(s), apps and other stuff which boosts my imagination. I love participating in hackathons and solving problems.
However
I hate competitive programming. Many times I tried websites like codechef, spoj, hackerearth etc. But I am plain bad at it. It just reminds me of maths done in classroms. It doesn't feel like you are making something new. Just a mere algorithm to process numbers and strings for desired efficient output.
Personally I feel like coding is a means of self expression and I feel good when I am making something from the scratch.
Yet everyone keeps telling me how important it is gor a progammer. Companies like google, Microsoft etc. Holds competitions for recruitment based on the same.
What should I do ? Is it really important for progammers ? Should I go against my will and keep trying them?
7
u/[deleted] Oct 28 '18
Don't listen to that. Competitive programming is just that; a competition. It's not about writing the best code, it's about writing code that does just enough to solve the problem, quickly. Sure, it helps you figure out solutions to problems but it's code you throw away. It's not code you will use again after a competition. It's mainly problem solving.Yes competitions are often very math centric and revolve around extrapolating the structure of the problem and using a known algorithm to solve it. Nothing much more than that.
However, it's not all there is; there are many more things to programming than competitive programming. Code accuracy and readability is significantly more important in real world scenarios.
If you want something more, there is research, there are actual projects that do need improvement. Sometimes, you don't need speed, you need security. It's a tradeoff.
7
u/vansterdam_city Oct 28 '18
These type of problems are only important to get jobs at selective tech companies in the Bay area (and a handful of other places).
The vast majority of time spent by software engineers is exactly what you enjoy - building stuff.
It's actually almost laughable that Google will make people master a vast array of DS+algos knowledge and pay them hundreds of thousands, only to have them tinker on some tiny corner of a website with basic JavaScript and CSS all day!
There are tons and tons of places that will ask coding questions barely above fizzbuzz level. You can build stuff all day there too!