How do people write more than 10,000 lines of code all by themselves?

Well I am creating one project called Iris for almost a year.

This is the latest stats of the code

Total is 1 758 243 lines of code for a year. Almost 2 million. 56 times the Bible

And this is not a huge project. It’s little application for eye protection written in C++ mostly. There is AI and UI code which I’m not counting.

Let’s say I have write 1 million lines, because you know I have used some free libraries for JSON parsing for example.

It’s not about the project, it’s about the goal. I want to make the best software for health and productivity. I want to make layer over the Operating system and I work on this thing every day. Every day for the last year.

When I was a game developer our code base was 80 million lines of code. For a single game.

I am not so good programmer also. I am 20 years old and I have been programming for5 years.

The challenge is to keep code clean. To get to 1 million lines of code, I have written and refactored over 10 million lines of code.

You can write 10,000 lines of code with printf(), but you know it will not be super awesome program.

You don’t need to be awesome programmer. You become awesome programmer with writting code. Every day I say to myself:

One line per day every day. You can do it.

Every morning when I get up. I end up writting 1000 or 2000 lines of code per day. But I write a lot. This is my goal. This is my dream. This is why I get up in the morning. Tomake it happen.

In the momment the software looks like this

It’s not something complex. It looks super basic and super easy to make.

People don’t always appreciate how many hours and lines of code we put as a programmers to make even something as simple as textbox or a new type of algorithm.

But we as a programmers know this. We know how hard is to make something.

You don’t need to be good programmer. You need to write code. Every day. And never ever give up.

P.S.
I wrote this originally as answer in Quora