Phobos packages a bit confusing

Nick Sabalausky a at a.a
Sun Nov 29 20:17:09 PST 2009


"retard" <re at tard.com.invalid> wrote in message 
news:heuh3h$o71$3 at digitalmars.com...
> Hi
>
> after using D1 and Tango for couple of years we decided to experiment
> with D2 and Phobos in a small scale project. For some reason the mostly
> flat package hierarchy seemed rather confusing.
>
> For instance, it took two of us 15 minutes to build a program that reads
> a line from user, converts the string to a natural number, adds one, and
> finally prints it to the screen. Entities like 'stdin' seem to have no
> documentation at all. What should I import to get it, what interfaces
> does it implement etc.
>

I actually find that kind of ironic, because that's pretty much how I feel 
about tango's ultra-separation-mania. I use tango all the time and I still 
can't do a single IO operation without spending at least ten minutes hunting 
blindly through the docs and finally finding what I need (including the 
necessary documentation) is spread out across at least three different 
modules.





More information about the Digitalmars-d mailing list