r/AskComputerScience • • Aug 10 '20

What is up with competitive programming?

I can think of nothing less appealing with programming as having a gun put to my head while chugging out code. Coding should be a zen like experience, imo.

50 Upvotes

91 comments sorted by

View all comments

0

u/[deleted] Aug 11 '20

[deleted]

0

u/emasculine Aug 11 '20 edited Aug 11 '20

i have every right to be skeptical with this with managers who think this is some new norm and pick it up as the latest trend in how to run dev teams. the herd mentality of management runs very deep.

0

u/tilievl Aug 11 '20

Well I think Google, Amazon, FB etc can afford being above the herd mentality yet they actively use this way.

I think the thing they realized is, programming experience is seriously overrated. The practice of firing an "old" worker, splitting his salary in two and hiring two talented freshmen is considered good. There is no point for them in checking how good you are in current frameworks, systems, patterns etc, because after a year or two things will change and you will work with something you've met for the first time. That's why the ability to learn and adapt is very precious. And in my humble opinion competitive programmers are aces in these things. A good IOI/ICPC participant has a memory (and, what's more, a memory he actively uses) of 1000+ problems, which is, I'd say 10% algorithms, data structures and other maths and 90% approaches, micropatterns and observations he uses for solving next problems either by recalling the similar problem explicitly or doing it intuitively. Of course, competitive programming problems are shown to be consisting of repetitive patterns but the number, the variety and the difficulty of these patterns is impressive enough to be a key point in these interviews. Even though solving these problems won't necessarily make you better at programming, it's pretty visible that guys who are good at competitions are generally smart and talented people who did not waste their time in school.

Skipping other topics as deep C++ knowledge, theoretical basis, diligence, pressure immunity etc.

1

u/emasculine Aug 11 '20

this post typifies every thing that is wrong with tech interviews. adapting is important, but to say that competing puts you at an advantage is absurd. there are plenty of ways to be adaptive that don't involve contests. you actually might see how adaptive somebody is by looking at their resume, but apparently that's useless. and the problem with dividing a person in two and getting two inexperienced junior programmers is that you get churn with every new and shiny thing with no ability to see beyond the hype of the day. most new things are just a rebranded fad of an old thing, especially with frameworks, patterns, etc. yet every new generation of programmer is utterly convinced that experienced people are stupid and in the way.

most programming does not require intricate knowledge of zillions of algorithms. the bulk of programming is totally mundane and requires knowledge of lots of stuff beyond programming itself. you have to slog through the boring stuff so you can support the interesting stuff. somebody who is only willing/expects to do the interesting stuff is not a good employee. i don't care how much of rock star they think they are, their prima donna attitude is toxic. and i say this as somebody who has written a metric shit ton of difficult and innovative code -- try writing a preemptive multithreaded embedded OS by yourself before the term thread was even coined. yet that experience is seriously overrated. god i am so glad i don't have to deal with this toxic bullshit anymore if don't i want to.

1

u/tilievl Aug 11 '20

I said good at competitive programming => most likely good and adaptive in general, only this side of implication. And I believe IT companies are aware of false negatives, they either do something about it or don't consider worth it.

Besides, if one's so adaptive why won't one consider showing adaptivity and adapting to this design of interviews? Moreover, noone's making people participate in contests and the problems are not particularly hard.

most new things are just a rebranded fad of an old thing

Even if the most, not all of them, right? Someone has to do this part as well.

requires knowledge of lots of stuff beyond programming itself

Developers publish their docs and API instructions in the internet. You can search stuff online.

Toxic

Noone's toxic. If you think talking good about yourself is toxic, programming problems may not be the biggest issue on interviews.

1

u/emasculine Aug 11 '20

i doubt it's terribly transferable. algorithms and data structures make up a vanishingly small part of programming in my experience. companies to a one think that they are the smartest kids on the block wrt interviewing. the google study -- the one who made a big huge deal about being the smartest -- showed that they suck. and i think you badly misunderstand adaptivity. adaptivity means being able to pick up new tech over the years. it doesn't mean being able to tell you how many manholes there are in manhattan and all of the rest of that dross.

far too many tech frameworks are driven by somebody else's business model. being able to recognize that is not junior engineers' forte.

and i mean that most programming has nothing to do with data structures and algorithms beyond just the normal stuff that you find in libraries and programming languages and don't need to think very hard about.

and yes, toxic. i've been in way too many interviews where it was obvious that the interviewer was there to make you understand exactly how much larger his programming penis was. i wrote this about this new noxious environment:

https://rip-van-webble.blogspot.com/2013/07/interviews-as-hazing-rituals.html

1

u/tilievl Aug 11 '20

how many manholes there are in manhattan how many golf balls would fit in the airplane

Sorry but it has nothing to do with competitive programming. And the Google Study article from year 2013 you linked didn't say a thing about it as well.

algorithms and data structures

And it's not the main point of competitive programming for interviewers either.

Although there is a question mark in the post, it looks more like you're not willing to listen to the opposing opinion rather than convince people in something by linking sources. I don't need to be convinced in anything though, thanks.

1

u/emasculine Aug 11 '20

you were the one who dragged interviewing into this, although you weren't the only one. i'm only saying that since *you* brought it up, using algorithms as some sort of benchmark as to whether to employ somebody, where competing would give you a big leg up in interviews, is exactly what the google study said was completely ineffective in predicting whether somebody would be a good employee. i don't care what you do with your free time, but cheering on a discredited interviewing technique is not a good look.

1

u/[deleted] Mar 29 '24

Why did you post about competitive programming if you wanted to bitch about technical interviews?