Hacker News new | ask | show | jobs
by PaulHoule 1810 days ago
It takes discipline.

Any piece of code lives in at least two worlds, usually more. It depends on other code, and other code depends on it. It is also relevant to requirements, objects and processes in the "real world".

Get over the fear that you will "lose" the content of open browser and IDE tabs; more likely you will have a hard time navigating and get distracted. Close applications that you are not using. Disable notifications in your operating system. Delete breakpoints regularly. Develop a single "highly effective" strategy to find code that you're looking for and apply it consistently. (e.g. go down through the hierarchy of the "Project" view.)

Eclipse has a "working set" feature that shows only selected code in the "Project" and similar views. It's a lifesaver.

Adding a second or third screen helps (if you use it with discipline), as does pulling individual editors out of your IDE to float in their own windows you can tile. Notes on a piece of paper (I have huge numbers of 'reject' 4x6 and 5x7 cards around thanks to my printing hobby) are great because they live entirely outside the computer and won't add to the problem of finding things on the screen.

1 comments

Thank you, PaulHoule!

I will try your advice and develop a "highly effective" strategy for me.