Hacker News new | ask | show | jobs
by eterm 2521 days ago
FYI, "Thousands" of lines isn't particularly, a large code-base, I'm a developer who tends to specialize in legacy code bases and I've seen aspx (asp webforms) pages with 5k+ LOC in a single file.

Also, you haven't really defined what "makes sense" means for you. Does that mean being able to refactor it, maintain or just evaluate it?

That said, the following are essential:

1. An IDE with a fast token-based search

This is the number one requirement, you need to be able to search for a badly remembered function or variable name to find the method. Jetbrains' "Go to anything" search that resharper/rider has is unrivalled here, you can quickly see partial matches and the type of match (function, variable, etc)

2. An IDE with a text editor that won't choke with 5-10k LOC files.

If your environment is freezing up any time you open a certain file then you'll have no chance if (and you likely will, for a large enough project) you encouter a monster file.

3. Pen and Paper

Don't be scared to write things down, draw diagrams and write down your mental models as you go. A pen and paper is essential, it persists through all sessions, can't crash and if you think something is wrong you can easily throw it out and start again without considering that time wasted.

1 comments

> Also, you haven't really defined what "makes sense" means for you. Does that mean being able to refactor it, maintain or just evaluate it? I meant to be able to understand the components that make up the software, so to be able to maintain it and contribute to code base.

thank you for the reply.