Hacker News new | ask | show | jobs
by memonkey 4095 days ago
I am one of those self-taught no degree developers currently building my own portfolio. It definitely is intimidating to contribute to open source projects not to mention learning the projects/technology to be able to contribute. But as for my own projects, it's increasingly discouraging to find out my ideas have been done inside and out. I think the only thing keeping people like me going is the passion of figuring out HOW to do it.

But then there are things like data structures and algorithms which are backboney but wholly unnecessary unless you want to work at Google. So, that's another thing. Because I can build a bunch of projects but what if I don't have the data structs/algo? Or what are the projects I can accomplish that implement those things?

3 comments

I don't think anybody doing your project should discourage you. It's usually in the process of trying to do something that has been done before that you get an insight or think about a better way of doing it. Plus, doing things that have been done before is a very good way to learn. Thats how in the old days apprentices became masters.

As for the alg/ds. In my opinion, there are some fundamental things that you need to know about DS/alg that make you a better developer. What people usually get wrong is assuming that it is the applicability of the algorithms or datastructure that matters ( who cares if you know about a Red/Black Tree ! ) . I think its more about the patterns and the way they allow you to think.

Understanding how tree traversal is done may not be directly useful in your work but helps you understand recursive thinking which is super important. Knowing how QuickSort/MergeSort work doesn't have any application in real life but makes you think about problems with a divide/conquer approach in mind which is again super practical. You will never write a Hash/Dictionary but knowing what is the difference between one and an array has immense applicability on your work.

My advice to you: stay away from memorizing DS/Alg. Throw out your "cracking the coding interview" book if you have one and pick a algorithm and datastructure book and try to understand it. Then you can move on to solving problems yourself and you will realize that you are a better developer for it. Here is what I would suggest:

http://ocw.mit.edu/courses/electrical-engineering-and-comput... http://interactivepython.org/runestone/static/pythonds/index...

Of course, you don't need to know all of the stuff here :)

I was exactly in your shoes a year ago. I am a self-taught developer and I completely empathize with the pain and intimidation of open source, and the frustration of defining and breaking down a personal project.

The answer to your question, the idea spot is somewhere in between. Yes, you need to know data structures/algo because there is only so far you can go if that's all you know. I am a very strong believer in "learn as you go" and "pull information as needed". Many people start out learning the fundamentals but forget what they learned because they didn't put it into practice. So my recommendation would be to keep building things and your portfolio, while challenging yourself to also learn the fundamentals as needed for your project.

> But as for my own projects, it's increasingly discouraging to find out my ideas have been done inside and out.

Sure, but if you are solving a problem you come across, and the current solutions cannot solve it, there is no reason to not build it yourself!

There are different ways to solve a problem, and chances are your solution may be very useful to other people as well.

And lastly, I'd say don't focus too much on data structures and algorithms until you actually need to think about them. "premature optimization is the root of all evil" (or something like that, at least what I take from it is don't do it until you have to. But that's just my take on it.