Very Basic Social Network Implementation - Too Much?

Is it bad that I've written ~450 lines of code in java, whilst implementing the basic mechanics of a social networking application, it includes code commenting (documentation comments included), and a fairly basic graph data structure implementation. From a computer science perspective, it's probably quite inefficient, but it works atm, but I can't help but feel that nearly 450 lines of code just for such a basic application is a bit over kill?

I mean it doesn't do much impressive, and the 'data base' is actually a .txt file at the moment. Just to stress how basic this program actually is. At least my Main class is only 24 lines, again, this contains code commenting.

I'm not gonna go into too much detail about my program, it still uses a command line interface, I've yet to implement a GUI. This is another reason as to why I think I may have gone a bit over the top with the amount of code per class, there's only 4 classes at this very moment in time.

Urm, okay. Not what I was hoping for but thank you, maybe. XD

Well, honestly, I couldn't even figure out what you were asking. After reading your post it just seemed like a short story about a coding project. Therefore, I figured I'd post a critique.

Fair enough, I just want to know if 450 lines of code is too much for 4 java classes. To summarise it in a nutshell.

Keeping in mind that there's nothing fancy about the program. In your personal opinion, would you say that ~450 lines of code is a bit too much? Would you recommend I try to reduce the number of lines?

I don't make much of an effort with my English on here, but I'd assume users would be able to make sense of what I'm saying, I'm not having a dig there. I'm just stating my personal point of view. I treat this like a social media platform, like Facebook, I hardly structure my conversations in a formally and grammatically correct way or manner, I don't really think about it, I just type it tbh.

1 Like

Ah, I see...

I'll state the obvious. There's no way to know if 450lines for 3 classes is too much without seeing the code and knowing what all it needs to accomplish.

1 Like

If I put it online somewhere, either here or git, would you look over it? Given you have the spare time. I'd highly appreciate it, and you could help me develop my skills as a programmer, who knows?

Keep in mind I'm far from great, I've only started my second year of university, studying computer science. So if I do make stupid mistakes, please try to remain calm.

I won't be doing it tonight, as it's quite late right now, or in the U.K. it's quite late to say the very least.

Well, I'm not a java expert and I don't really have spare time so I can't promise anything. I'll glance over it though if it's not too tedious and it's block commented.

1 Like

Java... Just think of how much code is running from the built in methods you call. You are waaaayy beyond 450 lines.

1 Like

That's very true. I didn't even consider that.

I've made a block comment every class and every method within each class.

1 Like

I wrote 200 lines of code to get an Arduino to print the outside temperature. You are fine.

3 Likes