Live data from Hacker News

Ask HN: Should I quit trying to be a programmer?

news.ycombinator.com

11–20 of 69 posts

Re: Ask HN: Should I quit trying to be a programmer?

#11
A lot of the things you learn at university you aren't going to be using on the job. You aren't going to be finding the median of two sorted arrays (very often). And even then a good google search will lead you to an elegant solution on stack overflow.

Granted it does take a knack to be a good programmer, attention to detail a feel for what's wrong when tracking down a bug.

But every problem will be a struggle the first time but as you get more experience things will get easier and easier and your programming intuition of what to do and what's wrong will become better and better.

There is a wide variety of jobs out there. Maybe test out a few frameworks and see what you like.

I always recommend learning Rails or Laravel because working on web applications is always interesting and both frameworks have great communities and learning resources.

Don't give up if you enjoy it. I think you're making it harder than it is. Your degree just gets you in the door. You're going to learn and do so much that wasn't covered in your classes.

Good luck.

Re: Ask HN: Should I quit trying to be a programmer?

#12
The best way to learn programming is to make it a habit to spent long hours of your time in front of a computer practicing by picking up a book to teach you programming. Choose the topic you want to learn , a project you want to build , pick a book and learn it. Spend each day writing code for a few hours 5-6 Hrs preferably or more. And in 3 months you will become better, in 6 six even better. Also reach out for help, find what else is happening in that field , keep coming to HN. And you will be on the right path.

Re: Ask HN: Should I quit trying to be a programmer?

#13
Keep working at it. Believe in yourself and your capabilities (as corny as it sounds). It really is about perseverance. If you find the frustration is wearing you down and making you feel hopeless, don't torture yourself doing work you don't want to do. With that said, if you feel a rush when things do click and that drives you, I think you'll do fine.

There are few prodigies in the field. Most people make it through sheer work ethic and self-belief. Do everything you can to hangout with other passionate people (if they're more skilled than you even better). The best way to do this is just get your foot in the door somewhere. Do whatever it takes. One year in a work environment gaining real world experience is priceless and your skills will skyrocket if you challenge yourself and step outside your comfort area.

Best of luck to you (whether you continue pursuing programming or something else)!

PS: For what it's worth, just understanding the above problem you described is half the battle. The other half is getting comfortable implementing different algorithms. For this, you can seriously just copy paste someone's solution from stack exchange and execute the code to observe the effects of your tweaks. It's kind of like how most people need to practice solving the math problems before being able to grasp the concepts behind the solution.

Re: Ask HN: Should I quit trying to be a programmer?

#14
It sounds like you're not very satisfied with how your coding practice is going. If you have the resources, I would definitely recommend trying to find a tutor to do 1-on-1 sessions with. I've seen a lot of the behaviors you mention in people I've tutored.

This is especially relevant if you think your disability is affecting the quality of your practice. You made need to engage in different strategies to get the most out of practice. (or to manage the kinds of problems you're working on).

It's possible that you would have a lot of difficulty with a career in programming, but I wouldn't even consider that until a skilled tutor or two feel that way.

Re: Ask HN: Should I quit trying to be a programmer?

#15
Maybe. It's your life - and you only get one. A lot of this is what you see yourself doing day in, day out.

There are lots of jobs that are coding adjacent. Technical SEO is an example. A mate of mine does installations of software inhouse.

You don't have to code, per se, you can likely find a job where coding knowledge helps but is not specifically what you do.

There is a lot s scope in IT beyond coding, and I'd consider exploring that.

Re: Ask HN: Should I quit trying to be a programmer?

#16
I've a few years of experience tutoring programming. From what often see and from reading your description, it sounds like your problem is "need better planning before jumping to writing a code".

Programming is akin to building a house. Once the blueprint is figured out, the actual act of building (putting bricks together, etc) is actually pretty straightforward. The key though, is good the planning.

By good planning, in your example of returning the median, you should solve the problem before touching your computer. Use either pencil-and-paper or whiteboard method as much as possible. For example, I'd plan it as follow: 1. Solve it in a high-level manner, as if you're trying to teach someone who never codes a program before 2. Write down all the function definitions you need (don't code the body, just know what each does) 3. Write down how all the functions are to interact (again, don't write the body of any of the functions yet, just assume you have them) 4. Write down pseudocode for each of the functions 5. Code

I've seen lots of beginner programmers tried to skip over to 5 without concrete plan only ended up confusing himself over trivial problem. No matter how tempting it is, jumping straight to 5 without concrete plan is only going to confuse you.

I forgot whether it was Leslie Lamport or Edsger Dijkstra, but one of them said that a good programmer should have the skill to fully plan out a computer program without coding it.

Re: Ask HN: Should I quit trying to be a programmer?

#17
Being frustrated over a problem or a series of problems is a normal thing. It sounds like you are fully engaging yourself, so I would not quit. There are valid reasons to quit, but I don't think this is one. You won't believe the amount of crappy code you will see in your career. I won't even touch or go near any PHP codebase for example.

Re: Ask HN: Should I quit trying to be a programmer?

#18
I was a bit like you... struggled at university, failed plenty of topics (some twice) because it never "clicked". I fluked a job at a small company and turns out I'm pretty decent with people & understanding what people want/need. I got by with my code, but it was elementary if I'm honest with myself.

For the past 14 years I've run my own web dev company but I understood my limitations and hired people who are actually good at coding and I've stuck to what I'm good at.

From what you write, there doesn't appear to be a passion for coding - avoiding assignments & now struggling with core constructs point to that. But something at some point got you into this field - perhaps there's something to the side that might suit your skills/passion more? Testing, QA, project management, client management, business analysis... there's lots of roles that benefit of understanding programming concepts that don't rely on you actually being a gun programmer.

Re: Ask HN: Should I quit trying to be a programmer?

#19
Well, I think alexanderdmitri's advice of looking for answers to coding problems on places like Stackoverflow is great advice and I'd like to expand on it a bit.

It's easy to get sucked into a coding problem and fight with it for days like it's a personal challenge to your abilities. That can turn into a habit. It did for me. Screw that. Admit you have a problem and then get over it.

The goal of working is to produce something, and not necessarily, or even very often, to invent something new or even invent a new way of doing something. Coding is no different.

The truth is for most of us coding is more often akin to assembling something even when you're designing and building something new. That's how I approach it anyway.

When I switched from coding mainly Perl to Javascript I learned (the hard way) to start searching for answers first instead of banging my head on my desk for hours (even days) over what were often times really just syntax issues or things that already had boilerplate solutions publicly available.

Learning to search for answers first made a huge difference in my productivity and in how much I enjoyed coding. Getting stuff done provides a sense of accomplishment and we all need that to inspire us to keep working.

And it's made me a better coder too. I have learned so many new and better ways to do things, as well as how not to do them, and found great explanations on the "whys" and "hows" in the process. And I learn them when they're relevant to what I'm working on too, not in some abstract way that is easy to forget or dismiss.

The truth is there is way more to learn about coding than we can possibly learn already and that gap is constantly expanding. That's really a great thing though because learning on a need to know basis makes it so much easier to get stuff done. It lets us focus on one problem at a time and not worry about what comes after. We can learn what we need when we get there and by then there might be a new and better way.

When I first started making a habit of searching for answers and example code for how to do something I was amazed a few times to find an answer. Now I'm more surprised when I don't find one easily.

To me, that's what a "hacker" is in the truest sense. You find and write and hack together code. There's nothing wrong with that. It's why we have "open source" code and in fact it's truly awesome.

Post reply on HN