bell notificationshomepageloginNewPostedit profile

Topic : Re: Writing a programming book: how to present directory structures What is good/preferred way of presenting directory trees in programming books? My main criteria are following: It should be readable - selfpublishingguru.com

10% popularity

Focus on your main goal:

It should be readable and intuitive

The other two goals make your life easier, but not necessarily the lives of your readers. Your readers come first.

So screenshots of a directory structure would be easy to comprehend. But if you have stress and have to finish the book because of some deadline, what will suffer most? Yes, revising the screenshots. Are they still correct? Do they correspond with the text? Is it easy to miss important things in a hurry? Yes. If they were easy to change, they would serve your readers better.

You see, I fooled you in the beginning, but that had it purpose: focusing.

"Looking professional" is an odd term, much overused, seldom defined. Care about the look later, or in between, but not at the beginning, you can change things.

So, you do not like

|-myproj
|-WEB-INF
|-classes
|-libs

Then make it simpler. What about

-myproj
-WEB-INF
-classes
-libs

Directory structures are hierarchical structures. Show the hierarchy and you are fine. Don't overstress showing some lines pointing from parent to child, just indent. That should be fine.


Load Full (0)

Login to follow topic

More posts by @Frith254

0 Comments

Sorted by latest first Latest Oldest Best

Back to top