:: urbansheep (urbansheep) wrote,
:: urbansheep

Новый материал Джоэла (Nothing is as Simple as it Seems)

Something as simple as copying a file is full of perils. What if the first argument is a directory? What if the second argument is a file? What if a file with the same name already exists in the destination? What if you don't have write permission?

What if the copy fails in the middle? What if the destination is on a remote machine which is available, but which requires authentication to continue? What if the files are large and the link is slow and you need to show a progress indicator? What if the transfer speed slows down to almost zero... when do you give up and return an error message?

[ » ] Nothing is as Simple as it Seems
Как всегда, рекомендуется к прочтению для всех, занимающихся разработкой (как на уровне программирования, так и на уровне проектирования) и просто интересующихся темой software-менеджмента.

  • Post a new comment


    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded