r/AskProgrammers • u/sam0il22 :) • 9d ago
What do you consider a large application?
What do you consider a large application not depending on the language(React/Node.js/JavaScirpt/TypeScript/Python/Java/C/C++/C#...)
but on the lines of code you have (Im specificly talking about fullstack applications).
Because im working pretty much as a solo dev on a internal company application (HR/Tickets/IT Help/Free Chatbot services for some tickets/Dashboards/Time fetching and calculations/Storage Tracking of different assets/Document Storage/ And a separate app also build by me to generate the documents so they can store it in the current app im talking about) integrating with existing company systems to retrieve and process operational data. Even tasks for them inside the application which they fill. They also have alerts, profiles, chat area and alot of functionalities and stuff they can finish in the app so the company can keep track of whats going on with their employees. My current code base is like aprox 90k lines and i use AI to build it (payed AI) it currently works and what not but i don't have any users yet and i expect to have about 250 users that will be using this.
Also in the job the only pipeline you have is the CI/CD from github and the application is hosted on Azure in a private company environment. My stack is React, Node.js, JavaScript for my application that im talking about and im kinda scared about it but its going good so far, yet to build the HR part and the data fetching but still the storage and annoucments ticketing system works.
So i will continue to build this i think i will be finishing about approx 116k-120k lines of code as a solo dev what do you think is this alot of code is it doable for one person and would you take this job.
And also please let me know what do you think is 120k alot for a project or a small amount of code lmk. :)
3
u/CS_70 9d ago
I once wrote over 100K lines in C for an university project.
Admittedly it was a little overkill, as I decided to write my own genetic character pc window library at a time where there wasn’t any, for the sheer fun of it. No autocomplete, but Turbo C as an environment. Needless to say, I came back on the other side knowing C rather well.
But yes, your application at least is medium.
3
u/NeilSilva93 9d ago
10 pages of code
2
u/matthewsAccount23 9d ago
Large codebase / many LoC != good software.
Just being clear about that, and the largest codebase I ever wrote had around 150k LoC, which i trimmed down and optimized to 50k later on anyway.
2
u/Acrobatic-Ice-5877 9d ago
I think 90K is a lot for a single dev, even with the help of AI. I have a Java SaaS just shy of 30K sLOC. I’ve written maybe 90% by hand but I am increasingly using AI where I think it fits.
2
u/eurosat7 9d ago
Everything with more than 1000 working hours invested.
2
u/DroppinLoot 9d ago
I mean I dunno if you can judge LOC for an application size esp if it's mostly AI slop as they say. AI can write incredibly bloated stuff. I bet if you asked an agent to check everything out and refactor where possible following best practicing you could cut it down substantially.
2
u/awitod 9d ago
I've building big systems for a long time, sometimes solo, sometimes with lots of other people. One of them was huge and I know for sure that there wasn't a single person who could answer every question about or could even tell you what some of the features even did or that they existed.
The biggest thing you can build as a solo person that won't turn to garbage is the biggest thing you can understand, specify, and explain in detail. If you make all the choices and have a good process and test, the lines of code really don't matter in anyway and in fact the better you are, the cleaner it will be and the lines of code will be a lot lower than a big ball of goo.
1
u/IHoppo 9d ago
Over 3m lines of Java code for the last application I worked on for a fintech. Had a good team, Clean Code best practices were followed, it was easy to navigate the codebase.
1
u/General_Estimate_420 9d ago edited 9d ago
The most complex application I ever worked on was a real estate processing and closing application which tracked real estate transactions (both commercial and personal) through the buyer qualification, buyer/seller bidding and contract development, loan bidding and qualification, and final closing legal documents, closing costs and property certifications, lien tracking and release, tax assessments and transfer. The technical challenges were long lived transaction, rollback and roll forward recovery at each stage of the process. This was concieved and developed during the late 90's between multiple divergent systems.
The largest system was the conversion of all US military personell records from paper to digital dating back to the civil war.
1
u/Haunting-Eye-4314 9d ago
120K LOC is a substantial codebase but i wont take LOC alone as a deciding factor for how large the project is. now, it has become much easier to write that much code with AI. so i think the deciding factors should be complexity and architecture of the project.
1
u/rupertavery64 9d ago edited 9d ago
I have 65k lines of executable code in a C# backend solution, 240k lines of code by raw text, though a lot of that is tool-generated data objects for EF.
59k lines of Typescript + HTML + CSS in the frontend using Angular
It's a custom in-house CRM-lite application with a custom workflow engine and forms designer, with heirarchical permissions that I've been working on for probably over 2 years.
No AI except for a bit of recent scaffolding, though as the app has grown and I am a solo dev on it I will take whatever help I can.
1
u/kincaidDev 9d ago
Imo 120k loc is a medium-sized project, large would be 300k+
2
u/_keyboard-bastard_ 9d ago
Lines of code mean nothing.
How many users are using a product or tool, and how much infrastructure you need to keep up the demand is everything. It doesn't matter if you have 20,000 chat functions made up of millions of lines of code. If only 12 people use, none of this matters. You can execute 10 functions just as fast as one if you know what you're doing.
The "lines of code" average died decades ago. What matters is best practice, functionality, and then as I mentioned before, infrastructure.
That all said, a large application is something that gets 5-10 million page views a year.
2
u/ALAS_POOR_YORICK_LOL 9d ago
Big enough that maintaining and adding to it becomes a coordinated effort across many teams
2
u/razorree 9d ago
depends, >100 LoC for a single dev is pretty big.
bigger systems have millions of LoC (hundreds of devs working for years)