Your example code is missing 4 error checks that should additionally be
handled.
On Thursday, 1 November 2018 11:17:37 UTC+2, Henry wrote:
>
> Hi,
>
> I am concerned with the direction Go2 is going. If anything, Go2 should
> reduce and consolidate features from Go1 rather than adding new ones.
On Thu, Nov 1, 2018 at 5:18 AM Laurent Moussault
wrote:
>
> IMHO, this kind of refactorization actually makes the code less readable, for
> everyone but the programmer that just wrote it. Though it may seem obvious at
> first what functions like "CopyFile" do, an outsider reading the code will
IMHO, this kind of refactorization actually makes the code less readable,
for everyone but the programmer that just wrote it. Though it may seem
obvious at first what functions like "CopyFile" do, an outsider reading the
code will have to check the source to know for sure what is going on.
Whe