std.compress
John Colvin
john.loughran.colvin at gmail.com
Wed Jun 5 07:31:32 PDT 2013
On Wednesday, 5 June 2013 at 14:17:43 UTC, David Nadlinger wrote:
> On Wednesday, 5 June 2013 at 11:30:10 UTC, John Colvin wrote:
>> Although I think you're right about having smaller modules, I
>> generally find it easier to browse through a larger file than
>> many smaller files.
>>
>> Multiple files is ok if you know what you're looking for
>> (grep) but when you're just trying to scan across a system to
>> get a feel for how it's working, juggling many files is a real
>> pita.
>
> Use an editor with a file tree sidebar? Quite on the contrary,
> I find many files to be much preferable, because you
> automatically have "bookmarks" in the source to come back to,
> and having the functionality already grouped in manageable
> logical units saves you from inferring that structure again, as
> it is the case when scrolling through a huge file.
>
> On a lighter note, if it's really a problem for you that module
> files are too small, what about just concatenating all the
> files in a given directory using a little shell magic? ;)
>
> David
Agreed.
To be honest, it's a trivial matter easily solved by a variety of
tools, but I'm often just lazy and end up reading code with gedit
or similar.
More information about the Digitalmars-d
mailing list