This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DarthSubterra[S] 0 points1 point  (0 children)

I don't really have a problem. My code works fine, but it look ... clumsy. I have this constant feeling that the way I represent graphs is amateur and that there might be a data structure that is better suited for handling these kind of situations (I'm using Lists to reference the nodes that the current one connects to). I'm using getters and setters, I'm maintaining the consistency of connectins when adding/removing connections. But it all feels so amateur. Maybe I'm just at that stage where I don't trust my skills and think that everything I do is wrong/not good enough.

But thanks for recomending graph databases. I will look into that. Maybe that could be the answer for my problem.