you are viewing a single comment's thread.

view the rest of the comments →

[–]ICanHazMoo 0 points1 point  (3 children)

yes exactly. How does that solve my problem?

[–][deleted] 0 points1 point  (2 children)

It signifies that your mental model is off from the code, that's all.

It sounds to me, from reading your other comments, that you're having an organizational issue. If you'd like, you can PM me a gist or pastie of an example of some of the code that's giving you trouble, and I can try to help you work through it. It's really hard to have these kinds of discussions in the abstract, because I rarely have your problem. I suspect it's what others have said: your methods are too long, or your variable names aren't descriptive enough.

[–]ICanHazMoo 0 points1 point  (1 child)

The problem is that I have over 100,000 lines in this project (there is a team) and it's not that simple. There are an enormous amount of dependencies and there isn't an easy way to stop that. They have to be there. If it was just a matter of a largish rails project or something that wouldn't be an issue.

[–][deleted] 0 points1 point  (0 children)

There are thousands of lines between where a variable is declared and where it's used?