Ask HN: Why do you code?
44 points| astrowilliam | 11 years ago | reply
Even after being a front end dev for the last 10ish years it blows my mind. I can open up a blank text editor and make something that can evoke emotion in other people.
I can create beautiful and amazing experiences for people (self high 5!) around the world in just 1 night of coding.
What about you?
[+] [-] jasonkester|11 years ago|reply
Age 9: It's fun
Age 13: It's fun, and my parents won't buy me any games for my C64 so I have to write my own
Age 24: It's fun, and I can automate all this boring repetitive business stuff to get my work done faster so that I can play more Freecell and Tetris.
Age 26: It's fun, and The Internet just happened and suddenly everybody wants to pay me three times what I'm worth to do it. Woohoo!
Age 31: It's fun, and if I do just one day of it for freelance clients each month I can live on this beach indefinitely.
Age 37: It's fun, and if I put up a credit card form on one of my side projects, people seem to be willing to pay me money every month just to use it.
Age 43: It's fun, and I seem to still be doing it even though I could probably pack it in and live off that SaaS income.
There seems to be a common thread there. I suspect I'll still be doing it in another 10 years.
[+] [-] unknown|11 years ago|reply
[deleted]
[+] [-] astrowilliam|11 years ago|reply
[+] [-] iliaznk|11 years ago|reply
[+] [-] lordbusiness|11 years ago|reply
* Enjoyment. I like constructing intangible things inside computers such as data structures, and manipulating them.
* Problem or task solving. I like making tools that do things to take away burden from my and others' lives.
* Self-fulfillment. I like guitar but I'm terrible at it. I like snowboarding but I'm mediocre at that. I love rock climbing but again I'm not remarkable. I'm not very good at lots of things, but I'm pretty good at coding.
* What else is there to do? As someone who has leanings towards existential nihilism, eventually one sees no value in anything. So one might as well do something to pass the time. Writing code ticks that box.
[+] [-] nsomaru|11 years ago|reply
To me, programming is like magic. It's that aha moment that you can induce in people (and yourself), that leaves them baffled and amazed (the sanskrit word for this is ascarya, wonderment).
Unfortunately, computer programs share two unfortunate aspects of magic:
[0] i.e., I don't experiences moments of amazement every time I do a Google Search, but I certainly did the first time!edit: formatting.
[+] [-] tluyben2|11 years ago|reply
[+] [-] BAN_ALL_HUMOR|11 years ago|reply
Unfortunately, the hobby was never discouraged by my parents (constantly told to get off the computer because I was "melting my brain", being heavily pushed towards business and law related subjects etc.). Although I can't entirely blame them, the result was I lost interest around high school. I didn't rediscover my passion until about my Junior year of college (thanks to Skyrim modding, honestly).
I'm here now, and I love it. I'm currently learning C and I look forward to playing catchup with everyone who had a real head start.
[+] [-] pixeloution|11 years ago|reply
Also, its well compensated. If this was a 50k/year job I'd have found a new career by now.
[+] [-] bennyg|11 years ago|reply
[+] [-] chton|11 years ago|reply
It also works the other way around. Code helps me think. It's rigid and exact, and doesn't allow for vagueness in ideas. It means that, when I'm coding, I'm required to think things through. It forces me to bring blurry notions into sharp focus.
And lastly, I believe it makes me a better person. Programming is a refined balancing act between abstracting and precision, between simplicity and complexity. Doing that balancing act makes me more capable of handling other situations. It trains your mind to understand complexity and reduce it, just as it trains it to see the problems with simplicity that make it more complex.
Oh, and it's also a great way to pay the bills. But I would still be coding if it didn't, I'd probably still be coding if I had to actually pay money to do so.
[+] [-] RobertKerans|11 years ago|reply
I like the puzzle of creating fictitious miniature, living worlds, over which I [can sometimes] exert complete control. I like words and names. I like formal elegance. It is also pleasant that I can get paid to do this in a very stable, corporate environment.
[+] [-] jpetersonmn|11 years ago|reply
[+] [-] jekrb|11 years ago|reply
Honestly, I don't even become interested or inspired to solve a problem until I experience it for myself (unless it's a job).
I feel that my interest in coding stems from the fact the I enjoy challenging conventions. I like asking why things are the way they are, and then breaking the rules to better the creation process & product.
The fact that I can learn on my own (as opposed to lectured) is what also drives me to code more. When I finally find something I want to build, I can learn how it's been done in the past, and develop my own opinions on how it should be done.
Also, coding is probably the first thing that I've ever felt I could do with my life.
[+] [-] tluyben2|11 years ago|reply
I like it because it's creating something from nothing. I like writing for the same reason (I'm better at programming though ;). For me the idea that I can simply get a <=$5 device of Ebay or the local thrash heap and open up infinite creativity, ideas, experimentation and even wealth is why my work and hobby is creating software. I don't have to anymore, but I like it and the more I learn about it the more I like it.
[+] [-] johnward|11 years ago|reply
[+] [-] evanspa|11 years ago|reply
* I can be god-like. When working on a side project, I get to make ALL the decisions.
* It's rewarding. Being able to take an idea born purely from my thoughts, and make it into something real, is inherently rewarding. Although I guess this applies to any creative endeavor, with coding it's cheap (all I need is a computer) and the feedback loop is short.
[+] [-] clarry|11 years ago|reply
[+] [-] acaloiar|11 years ago|reply
[+] [-] ZanderEarth32|11 years ago|reply
Apart from the motivation to prove to myself that I can do it, it's fun. Nothing quite like getting some piece of code to run successfully, or making something that people enjoy using.