Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Be wary of functions which take several parameters of the same type. Parent comment
```c# var source = new FileSystemFile("source"); source.CopyTo("target"); ```
Of course, this isn't the only way to do it; you get the usual footguns as described in the article too.
Also apologies if the formatting is crappy - on mobile, and TBH not sure what markdown-like syntax HN supports, despite being a long-time user!
There are no comments on this comment yet.
```c# var source = new FileSystemFile("source"); source.CopyTo("target"); ```
Of course, this isn't the only way to do it; you get the usual footguns as described in the article too.
Also apologies if the formatting is crappy - on mobile, and TBH not sure what markdown-like syntax HN supports, despite being a long-time user!