You can find a thread/issue where this is discussed. Some group decided to call it readdir() and like it more. I just got used to it. I think it's silly, but it's just syntax.
On Wednesday, September 14, 2016 at 7:36:18 AM UTC-7, Jacob Quinn wrote: > > readdir() > > On Wed, Sep 14, 2016 at 8:34 AM, Adrian Lewis <[email protected] > <javascript:>> wrote: > >> In the filesystem package, if we have pwd() and cd(), why do we not have >> ls()? >> >> Aidy >> > >
