The mythical book, Mythical man month quotes that no matter the programming language chosen, a professional developer will write on average 10 lines of code (LoC) day.
As we can see, a new developer will probably write about 100 lines of code a day, or about 25,000 lines of code in a given working year. In contrast, a more senior engineer is probably writing about 20 lines of code a day, or about 5,000 lines of code in a given working year.
That said, 10,000 lines of code is a lot in one file. Even people who don't care about number of lines of code at all rarely have more than 2,000 to 3,000.
If you are writing Windows Forms in C# using Visual Studio you could easily write 1,000 lines of code in an hour (because the IDE makes them for you). Similarly, if you are merely typing up what should be done by an ORM product, then you can easily write 1,000 lines of code in a day.
Most programmers work 8 hours a day, but in those 8 hours, you have a lunch break, team meeting, and then the work that needs to be done on a computer, which is coding, researching, and all the other things that go with that. That's how things would work in the perfect world, but things aren't always perfect.
People assume that one needs to invest a tremendous amount of time to learn to code, and that's actually not the case. It is true that the more time you put in, the faster you'll learn, but if you're okay with a longer timeframe, an hour a day is plenty.
Typically, computer programmers work an average of 40 hours per week, which comes to eight hours per day, Monday through Friday. They usually work between the hours of 9:00 a.m. and 5:00 p.m or comparable work schedules that are typical to office culture.
30,000 lines is pretty small - I could learn everything about it fairly easily.
A SmartBear study of a Cisco Systems programming team revealed that developers should review no more than 200 to 400 lines of code (LOC) at a time. The brain can only effectively process so much information at a time; beyond 400 LOC, the ability to find defects diminishes.
Programmers usually work between 9 am to 5 pm or work schedules comparable to typical office culture. However, some programmers work additional hours to finish coding, troubleshoot errors, meet deadlines and oversee multiple projects simultaneously.
A million lines of code, if printed, would be about 18,000 pages of text. That's 14x the length of War and Peace.
Tutorial: How to Make Your Own Flappy Bird
Our full Flappy Bird game is only 800 lines of code, which makes it a great resource to learn programming games with Felgo.
Some estimates state that Minecraft has around 1.8 million lines of code. However, this number will vary depending on how the lines of code have been counted. Other sources we found claim that the latest version of Minecraft has between 200,000 to 500,000 lines of code.
1st Rule Of Programming: If It Works Dont Touch It. 2nd Rule: Never Forget Rule 1. If you love writing computer programs, developing software, debugging and are a coding enthusiast, this great saying is awesome.
The mythical book, Mythical man month quotes that no matter the programming language chosen, a professional developer will write on average 10 lines of code (LoC) day.
By comparison, Microsoft Windows—one of the most complex software tools ever built for a single computer—is about 50 million lines. To revist this article, visit My Profile, then View saved stories.
Indeed, a modern car now contains around 100 million lines of software code, and is expected to have around 300 million lines of code by 2030. For comparison, a passenger plane has around 15 million lines. As we move towards autonomous driving the role of the driver will be progressively removed to increase safety.
As you can see, Google has by far the largest codebase of all. And all 2 billion lines of code fits into a single code repository. But it isn't a Git repository.
Eliminating redundancies and applying loss-less compression, that information can be compressed into about 50 million bytes, according to Kurzweil. About half of that is the brain, which comes down to 25 million bytes, or a million lines of code.
His experience on those projects helped prepare him to take on Elden Ring, whose randomizer clocks in at over 45,000 lines of code and more than 90,000 configuration files.
A typical Spotify code contains 23 bars, and each code starts with the Spotify logo.
[Here are] 5 amazing facts on exactly how much time is spent on debugging and code fixing in the software industry: On average, a developer creates 70 bugs per 1000 lines of code (!) 15 bugs per 1,000 lines of code find their way to the customers. Fixing a bug takes 30 times longer than writing a line of code.
In general, coding is a fairly relaxing job. There is the flexibility of working remotely as a programmer, and in many cases there is the security of routine. However, as with any job, whether coding is stressful depends largely on the company you work with. Cultural pressures and tight deadlines can cause stress.
Sitting down for too long can be very bad for your back, typing too much can be awful for your wrists, and staring at a screen all day will be hard on your eyes. Your body will translate all of this pressure as fatigue at first, and in due time, as pain.
1k hours is 25 work weeks - less than half a year of full time study/work. Definitely not enough for the average person. For the average person, getting "good" in programming is probably closer to 5 or more years full time. This would be roughly 10k hours.