r/learnprogramming • • Jun 12 '21

3 things that has nothing to do with programming that made me a better programmer

Hi,

Been talking to a friend who studies computer science at Harvard university. He is the best programmer I know, faster than most seniors at my work in terms of coding challenges. I spoke to him about wanting to be a better programmer, and I asked him what I could do to speed up my learning process as I'm already familiarizing myself with techniques such as Vim and upping my typing speed to 150 wpm.

He told me that in order to be a better programmer, other than just programming, you need to have 3 skills.

  1. Take long walks without a phone

What he really meant was learn to be patient. Take long walks for an hour or preferably longer with your own thought. Focus on your breath, think about life and learn to be patient. The further from home the better. Just don't think about work or problems.

2. Make art

He told me that you need to be creative. Programmers tend to be very analytic and sometimes stay in the box due to their lack of creative thinking. He suggests activating your right brain. Whether this is through music, painting, sculpting or any other form of creativity does not matter he suggests.

3. Work out

There are multiple studies that prove that working out intensively 3 hours per week or longer can enhance memory significantly. I suggest going to PubMed and read the articles for yourself as there are tons that back this claim.

Don't force yourself to do anything. I found his 3 ''rules'' to be true, and I also feel happier. Hope you learned something.

1.8k Upvotes

187 comments sorted by

View all comments

Show parent comments

0

u/Mundosaysyourfired Jun 14 '21 edited Jun 14 '21

Of course, the code is dog shit. They have hours to solve multiple problems not days, weeks, or months to design or architect a system.

Find me a good CT programmer that's shitty at his regular dev job? It doesn't exist, because CT skills show a fundamental understanding of analysis, thinking of the appropriate tool, and applying a solution with the little time they have.

Writing off CT programming as having no transferable skills is ignorant, just because they write "dogshit code" in hours that solves a problem is just the surface. To write that "dogshit code" and place high in CT you need to know your stuff.

It may not be the end all be all. I'm sure there are good devs out there that don't set foot in CT at all but to say that CT is counterproductive or has no transferable skills is IMO just plain wrong.

1

u/Poddster Jun 14 '21

Find me a good CT programmer that's shitty at his regular dev job? It doesn't exist

Did you actually check this? Just want to give you this opportunity. Remember: I only need to find a single example to satisfy your criteria.

Writing off CT programming as having no transferable skills is ignorant,

Of there are lots of transferable skills. But most code produced in a competitive programming environment is dog shit.

You also appear to be confusing "code produced during competitive programming" with "people that partake in competitive programming".

I would have thought, being a competitive programmer, that you keen logical skills would have seen this distinction. And also the fact that I only need a single data point to satisfy your question.

So how long have you been competitive programming for? Would you say that "dog shit" code is personal attack on you and you're deeply upset by it?

Why do you think competitive programming is so important to a professional software engineer? Have you found it important when working professionally as a software engineer? What about your manager, do they find it important and look for those kills when hiring the rest of your team?

0

u/Mundosaysyourfired Jun 14 '21 edited Jun 14 '21
  • CT experience is an asset, not a deteriment. Its not required, but its not what you claimed it to be, counterproductive.

  • hiring managers look at many soft skills as well as programming proficency, it also depends on what domain you're hiring for and what company. A security firm will 100% look favorably on tried and true security CTF (if you consider that competitive programming) participants as well as big tech companies like Google, Facebook will likely give you an interview if you place high at CT events.

  • sure find me one thats ever placed highly, that actually cannot perform their dev job at an adequate level even though they want to.

  • so skills are transferable from ct to regular programming. Great I agree.

  • dogshit code is offensive because you're undercutting what is required to be good at CT programming with your one excuse. "Dogshit code" == CT is counterproductive. But you've already went back on that so problem solved?

0

u/Poddster Jun 14 '21

CT experience is an asset, not a deteriment.

This assertion is not a fact. Do you have a source for this?

Its not required, but its not what you claimed it to be, counterproductive.

It's counterproductive in my example. Clever code is not maintainable.

hiring managers look at many soft skills as well as programming proficency, it also depends on what domain you're hiring for and what company.

How do you know this? From personal experience? There's a lot more to being a software engineer other than "soft skills and [competitive] programming proficiency"

A security firm will 100% look favorably on tried and true security CTF (if you consider that competitive programming) participants .

Also, I don't consider CTF to be the same thing as competitive programming. But again, CTF has almost nothing to do with day to day software engineering. Even in most security firms.

  • sure find me one thats ever placed highly, that actually cannot perform their dev job at an adequate level even though they want to.

You've moved the goal posts. You previous challenge was this:

Find me a good CT programmer that's shitty at his regular dev job? It doesn't exist, because CT skills show a fundamental understanding of analysis, thinking of the appropriate tool, and applying a solution with the little time they have.

I merely had to find you a good CT programmer that's shitty at his regular dev job. Now I have to find you a "highly placed" one and now have to factor in their motivation?

Once you're done tweaking your challenge let me know and we can look at finding the data about that.

dogshit code is offensive because you're undercutting what is required to be good at CT programming with your one excuse. "Dogshit code" == CT is counterproductive. But you've already went back on that so problem solved?

  1. Please quote where I "went back on that"? At no point have I ever moved from the position that code produced in a competitive programming environment is dog shit.

  2. I'm surprised you think competitive programming environments produce long-term maintanable code.

ps: You keep saying CT programmer and CT programming. What does that acronym mean in terms of competitive programming?

Anyway, you keep dodging my questions about your personal experience levels. I guess this is because:

  1. You're still a student / very fresh graduate. You have almost no experience in the day to day job of a software engineer. You're here on /r/learnprogramming to quite literally learn programming, rather than to help people learn programming

  2. You're "into" competitive programming, or at least the idea of it.

  3. You've bought into the /r/learnprogramming FAANG treadmill

  4. You're deeply upset that someone would say competitive programming objectively produces dog shit code, because your entire self-worth and personality is based around doing competitive programming in an effort to "land" a job at FAANG.

0

u/Mundosaysyourfired Jun 14 '21 edited Jun 14 '21

1: What questions have I ever asked in this subreddit? I have only ever helped people with their problems and actual code iirc.

Thinking you ever know everything? Lol..... talk about that high horse.

Do you barr yourself from using stackoverflow now that you have assumed the position of all knowing?

2: Good CT programming has been stated. The original conversation started with a first place gcj winner. Lol?

3: Let me ask you one of the original questions I asked that you never answered again. What kind of questions do you think a faang company asks you?

4: You're literally insane if you think you haven't walked back on anything.

Objectively competitive programming is dogshit code according to you and its a counterproductive skill.

Then you say obviously competitive programming has transferable skills for the person into regular programming... okay?

So now are we back into its useless and is not beneficial at all again? Lol...