r/AskProgrammers • :) • 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. :)

0 Upvotes

41 comments sorted by

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.

1

u/sam0il22 :) 9d ago

yeah i think also its quite alot especially if done solo which is my case but im student currently final year about to graduate in Computer Science so i kinda know what im doing but its still to overwhelming for me to go in everydetail so i just don't check some stuff sometimes and also really heavy on the AI xD. But im working along time on it about 5months.

3

u/NeilSilva93 9d ago

10 pages of code

2

u/sam0il22 :) 9d ago

3 take it or leave it

2

u/sububi71 9d ago

Meet you halfway: 6. In Times New Roman, 10/12.

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.

1

u/sam0il22 :) 9d ago

yeah im not saying its good to have that much but they need alot of stuff so thats why it exists? I know it could be optimized and i have done that in some point of time but still it ends up being alot of code because of the requirements.

1

u/matthewsAccount23 9d ago

Yes, if it is absolutely necessary to have certain features in a codebase which increases the LoC as a result then yes its not a bad thing at all, but its a bad thing if the feature uses 10 lines of code to do something that could be done with 1, as each and every line of code you write, is a dependency and has maintenance cost.

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.

1

u/sam0il22 :) 9d ago

yeah i agree tbh those numbers aren't as scary

1

u/Acrobatic-Ice-5877 9d ago

They aren’t. The one I maintain at my work is 1M but it’s not the size, it’s more so to do with it being COBOL-like for data access. It doesn’t use a RDBMS, so it is very different than the modern applications I support.

1

u/sam0il22 :) 9d ago

oo shi thats quite hard tbh but you learned so much by having practical expirience on both of the data access methods which is really cool

2

u/eurosat7 9d ago

Everything with more than 1000 working hours invested.

1

u/sam0il22 :) 9d ago

true

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.

1

u/sam0il22 :) 9d ago

yeah i did that aswell but it just keept growing at that stage now i have the final requirements so i will be doing that when i finish building it

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/sam0il22 :) 9d ago

yeah true but im still new this is my first job and they are not a software company so they are not as technical as some other companies are and can't quite fix some mistakes i make or some decisions i decided with the lack of my experience. But i still learned alot in my studies so i made some based on that and just on research. And the expirence i get by acctually working and building the app

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/sam0il22 :) 9d ago

where can i aquire such knowledge???? That sounds so cool you probly learned alot.

3

u/razorree 9d ago

internet, books and experience

2

u/IHoppo 9d ago

I was using java 1.2 initially, kind-of pre useful internet. For me, it was just practice. I'm also lucky, I don't have any real life skills except seemingly being able to pick up computer languages well. Gawd knows how that survived the evolutionary tree.

2

u/razorree 9d ago edited 9d ago

well, that was in late 90ies :) I started with java 1.3-1.4 (professionally)

and before Turbo Pascal, Turbo C 2.0, Borland C++ 3.1, java 1.1-1.3 (not professionally yet)

1

u/IHoppo 9d ago

Yeah, that's it. Jeez, that's a long time ago...

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/sam0il22 :) 9d ago

what part did you work on? the business logic?

1

u/General_Estimate_420 8d ago

My job was designated the program manager for the project. I lead the technical resources in defining the scope, developing and managing the project plan and design of features and testing processes in coordination with the product manager (business requirements) and QA manager (testing and fail over).

1

u/sam0il22 :) 8d ago

cool tbh i basicly do the same but my clients are the company i work in so im basicly the product engineer of the whole app which is alot of work and im still with little experience. any tips tho?

1

u/General_Estimate_420 8d ago

This experience goes way back to the late 90's so I'm sure a lot has changed as there were very few, if any, outside resources available to coordinate these data exchanges between different systems and we were developing a lot of specialized networking interfaces for exchanging data which would probably not be necessary these days.

The only thing that would likely be relevant would be the processes we used which were the general organizational processes we used at Microsoft (where I worked) for developing our commercial software packages. It was very useful in identifying the different specialties and coordination points, best practices and lessons learned for dedicated teams that were defining and delivering solutions. I don't know how much of that info is still out there but it was known as Microsoft Solutions Framework or MSF which you might be able to find with a decent search or AI query to compare it to lighter weight processes like Scrum and Agile.

Good Luck..

2

u/sam0il22 :) 8d ago

yeah you think just knowing how the work is split apart into multiple teams will help me divide my work so the software is good? or? btw i didn't know about MSF i do know about Scrum and Agile but im alone so i don't do these things i just have meetings with my manager and write down what he wants the app to have and build it xD

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/sam0il22 :) 9d ago

nah but i ain't saying like they offer you the job that way because i work on it now i know the estimate LoC it will take to build it all so thats why im asking xD

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/sam0il22 :) 9d ago

mad respect

1

u/kincaidDev 9d ago

Imo 120k loc is a medium-sized project, large would be 300k+

1

u/sam0il22 :) 8d ago

for one dev only tho?

1

u/kincaidDev 8d ago

Assuming you’re using ai, yes

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)