Lurker News
Hi HN.

My fianceè is currently enrolled on CS50 Introduction to Computer Science online.
I'm a programmer and have been for around 5-6 years, I started with VB.NET since I first started learning, then progressed onto Web Development at a large agency for 4 years (PHP, JS, React) and I'm now back with VB.NET.
I've worked with a few "complicated" (they were to me) projects in the past, but now I'm being tasked with guiding my fianceè with this course.
Some of the problems which she is expected to solve are pretty simple problems, but I just can't seem to get the hang of any of them on my own.
I would have thought that my last 5-6 years of experience would at least help me here. I can point out basic syntax errors and help with debugging, but when it comes to me trying to solve these problems on my own, I don't know where to start.
It makes me question how I was hired in the first place.
Sorry for the rant, but I was just wondering if anyone else felt like this.

Comments (296) 90 threads

Earlier comments
jyriand1 reply#
You can try TDD-ing the problem. Although TDD is usually not the right approach for coming up with algorithms or solving coding challenges, it can guide your thinking a bit. Write a test for most simple input, solve the problem for this input. Iterate and write tests for longer inputs.

I will repeat that TDD will not give you the most elegant answer, but you will at least have an basic implementation. TDD just gives you one of protocols that you can use to solve problems.

123919239#
I don't see any connection to Time Division Duplexing here.

(just another comment pointing out development vs. computer sciences)

dekhn#
sure, for the first 20 years that I was a programmer, I really couldn't wrap my head around algorithms at all. It took concerted effort (I'm a slow learner) and repeatedly reading books, talking to people, writing code and having it reviewed before I felt comfortable with hash tables, etc.
voycey#
My brain no longer works that way either, I started getting sick of the same standard code tests asked at interviews while I was a developer (Please write a palindrome detector, please write a function to reverse these sets of numbers).

My point is - computer science teaches you to understand the core of what computing is about, but don't for a second think that much of it relates to real world experience.

Load more comments