Ask HN: How to write the first line of code in a new startup?
My friends and I, are starting to create our own startup, we have no intend on revolution the world but some of our idea seems to be interesting enough to try.
My main goal, as a developper is to provide a great start for our idea. But I'm facing an interesting question.
How do I write my first php line of code. I mean, I'v started plenty of little project but what make a startup a great startup? What is the first thing you need to do when you'r the developper? And the secondary question, there probably many technological challenges so does startup rely on framework (and trust other) or prefer to use a custom solution?
11 comments
[ 0.25 ms ] story [ 33.3 ms ] thread[1] I suggest Laravel 4 (http://four.laravel.com) just because I like it and happen to be playing around with it at the moment. It's already got a Twig package if you're into that.
And good luck with the whatever it is.
two, write
<?php
that's your first line of code.
In a nutshell, that is the joy, excitement and inspiration behind all great projects.
<?php //Pandora's Box ?>
Just be sure to write lots and lots of tests. You'll thank me later :)
Stop asking stupid questions and go get something done.
People starting out are afraid to start and get things wrong, pick the wrong way or whatever, so they don't start. Every person who wants to know whether their first language should be python or ruby, java or c++, etc instead of picking one and trying it may have this issue.
It's not about the right language, it's the fear of making the wrong choice.
(note: this has effected me too).
So for you, the way to write your first line of php is to write it. Break your idea down into parts, and implement them.
Have a goal. Find something that might get you there. Don't spend too much time avoiding failures. Instead, learn as you go from your mistakes. Pick something that might work and try it. Don't try to pick the perfect thing without having worked on your problem... That is a paralyzing impossibility.
If my advice is not applicable, ignore it.