Live data from Hacker News

Ask HN: With no CS degree, what was most frustrating about learning how to code?

news.ycombinator.com

1–10 of 22 posts

Ask HN: With no CS degree, what was most frustrating about learning how to code?

#1
1) For those of you without CS degrees, what do you (or did you) find most frustrating about learning how to code?

2) What resources (e.g. mentors, websites, coding classes or bootcamps, youtube videos, books, co-workers) did you find MOST helpful in accelerating your learning?

For example, if it was a combination of factors that led you to have the skills you have today, what could you have not done without?

Re: Ask HN: With no CS degree, what was most frustrating about learning how to code?

#3
1) I would say the amount of options of programming languages and types of development there are out there.

2) No resources in particular stand out to me, though I think books were way more useful early on than blog posts or tutorials. I think it's the linear nature of books that really helped me.

My advice would be to pick one medium (web, iOS, Android, whatever) and one language (for me that was Ruby) and stick to that language only for at least a year.

Other advice would be to always be inquisitive. Though I didn't get a degree, I eventually went on to learn about operating systems, sockets, basic algorithms and data structures.

However, in my opinion getting a CS degree would be frustrating if I were to do it all over again. Learning all that implementation detail and a lot of schools not even pushing or requiring you to build things would really frustrate me.

Re: Ask HN: With no CS degree, what was most frustrating about learning how to code?

#4
I do have a CS degree, but I first learned to code in high school. I was taught by a friend of mine who already had pretty significant programming chops even at 16. I think his father invented YAML. We did our programming on PCs that we built in the classroom and installed Ubuntu on.

Anyway, I remember the hardest part for me was wrapping my mind around Ruby blocks. It sounds kind of dumb but honestly I couldn't understand them for weeks. The first programs I wrote were those text-based adventure games, like, "You're on a path in a forest. What do you do? > Go left". I did those because you didn't need to ever use blocks for them, it was all just conditional logic.

Once I grokked Ruby blocks I feel like it has all been downhill from there, at least until I stated looking at Haskell...

Re: Ask HN: With no CS degree, what was most frustrating about learning how to code?

#5
I didn't learn anything useful from my CS degree. Literally nothing. Even things like compiler design and operating system concepts were more basic than I had already studied. However if you go into a purely academic area, like AI, it might be useful to you (particularly the high level maths).

As far as resources: Really depends on the topic.

You can watch lectures for an entire CS degree for free online via places like UC Berkeley. There are also paid video stuff at places like Pluralsight (coding), CBTNuggets (server management), and as you said even YouTube has the good video now and again.

I just google whatever I need as I need it. It isn't a very formal way of learning but it is an effective one. The only trick is not to skip doing things because you don't already know how to do them.

Re: Ask HN: With no CS degree, what was most frustrating about learning how to code?

#6
No CS degree here, currently working as Senior Front-end developer after 5+ years in the field.

1) I found it most frustrating to try and choose between learning what's the most popular new technology and what would help me advance my career. It turns out, focusing on mastering the basics of HTML, CSS, and Javascript have gotten me much further than trying to jump on every new bandwagon that rolls by.

2) Honestly, the single greatest resource has been my side projects. All of the tutorials, training and learning from Google have been far surpassed by the amount of knowledge I've gained from sitting down and hacking on ideas. I seriously have had 1million side projects in my 5 years and each of them has been a challenge and an amazing learning experience.

Hope that helps

Re: Ask HN: With no CS degree, what was most frustrating about learning how to code?

#7
1) The most frustrating thing about learning how to code for me was getting my IDE or environment set up to work with whatever tutorial or book I was working from. Figuring out what the cryptic compiler errors meant was sometimes insanely difficult.

2) Some of the more helpful things for me were the Head First series of books from O'Reilly (Java and C# in particular), and having a few experienced programmers in real life to talk to. The one thing I seriously could not have done without, no question, is Google.

Re: Ask HN: With no CS degree, what was most frustrating about learning how to code?

#8
I don't have a CS degree. When I was first learning to code, but also even today: The most frustrating things are all the bullshit that goes along with writing code but isn't actually writing code...

* Setting up environments and auxiliary tools: Should I use rvm or rbenv? What's bundler? Why do I need a rake? Where's my Gemfile? Ooops, I meant my Gemfile.lock.

* Understanding the sysadmin/architecture things: So I need an HTTP server and an app server? Wait, but some app servers are HTTP servers? But you need a proxy for static content? And a load balancer? (To be fair, in the modern world these tasks are vastly simplified by services like Heroku)

* Databases: Choosing a DB, choosing a library to connect to the DB, do you use an ORM or write SQL? Nowadays, I follow the "Always use Postgres unless you have a damn good reason" rule.

* Testing. Writing unit tests is incredibly tedious. Learning how to mock/stub/fake out critical libraries is a giant pain that I still commonly goof up today. Writing good tests easily takes 2-3X the amount of time it takes me to write working code.

* Deploying. Ugh.

Re: Ask HN: With no CS degree, what was most frustrating about learning how to code?

#9
I tried to learn programming a few times on my own. Once as a young teenager with Visual Basic, then with Java ~6 years ago, and finally Objective-C. Looking back, the biggest impediment was learning about programming, and not actually doing programming. Great - I know what a for loop is, now what? My VB and Java environments sucked. There was nothing I could immediately create and get to practicing.

I had much more success learning XCode and C/Obj-C. I read some lessons on C, then switched to Objective-C by following the Stanford video course on iTunes which showed you programming + hooking up XCode interface objects to run your methods (I realize I could have done that with Visual Basic originally, but at the time I couldn't think of anything I wanted to build in VB). Then I followed tutorials on raywenderlich.com and continued from there.

If I needed help, I Googled, posted on StackOverflow or asked my one programming friend.

Re: Ask HN: With no CS degree, what was most frustrating about learning how to code?

#10

No CS degree here, currently working as Senior Front-end developer after 5+ years in the field. 1) I found it most frustrating to try and choose between learning what's the most popular new technology and what would help me advance my career. It turns out, focusing on mastering the basics of HTML, CSS, and Javascript have gotten me much further than trying to jump on every new bandwagon that rolls by. 2) Honestly, th…

#1 Very true. If you are creating a lot of personal projects than you can hop on many bandwagons, but for a majority of enterprise coding, have the web stack + C#/Java/Other major language is all that will be required of you.
Post reply on HN