alt

Actually I wrote more than 66K lines of codes, But I’ve removed the view files code because they are not mine. Writing 66K lines of code doesn’t mean anything special. Anyone can write tons of lines of codes. What matters is writing production level of codes. Codes that construct a product which people will pay to use.

I’m not going to lecture here about what product is and what art is. I’m here to tell you how I wrote those lines of codes in a short amount of time. Obviously the first step you need is to be an empire in programming. There’s no other way or exception, and of-course being this level of code artist takes many days of hard work. It’s not the hard work which will make you a code empire, it’s the intelligence which matters at the end.

The second thing you need to do is update your coding style so that your code is capable of working in a team. You need to work with a team to achieve this capability. Without practical knowledge no matter how hard you think your code is Okay, your code is gurbase. You have to indent, comment, document, normalize your code to be at this level.

Then you need to have your own snippet library. You will take the snippets to your codes. This will not come easily. You need to work with a highly qualified team for at least four years to build your own snippet. You can copy other’s snippet, but that will not come in handy when it’s time to use it. Always remember your code is your code, others are not yours.

You need to use many external tools which will boost your productivity. Like you need to use a Pomodoro clock, you need to use logs while code. You can use a raw dashboard to keep logs. My Mac’s dashboard works fine for me.

As you will be writing production level of codes your code has to be bug free or tested. I will say that there will be no bug, but your code has to be less buggy. To do this, you need to use unit testing. If you are over confident, then you can also use a continuous integration system. Whatever you do, your code needs to have a confident to work accurately. At this level semicolon (;) missing, spell mistake, case sensitivity mistake are not accepted.

You need to use an IDE. Most people will prefer Sublime Text. But it’s not actually an IDE in my sense. If you use Sublime Text you will find that finding critical errors are very time-consuming work. IDE will help you in this area. At this level you are a code empire, so an empire needs his crown and it’s an IDE. I use Zend Studio for PHP, WebStorm for JavaScript. There are other exceptions too while working in a very large project which I will write at my next-post.

If you made yourself this far you are the true code empire, more accurately you are a code artist, a rock-star coder. Remember, never compromise the brotherhood. Your team members are working with you, they have to understand your code at a glance. You cannot thing twice while looking at your old codes. You code is not very simple, but solves everything. Your code contains enough comments, indents and documents. They are well structured and followed by popular coding standards. You have tons of code snippets and all of them are prioritized according to your needs. You’ve assigned hot keys to quickly access your snippet library. You now work using the famous Pomodoro technique.

Now what’s left is practise, take your skill to the edge. Be a cutting-edge artist. Be a rock-star coder.