This is a question about "nasty details" of the binomial coefficients.
I would like to understand the definition of binomial coefficients $ n \choose k $ for general integers $n$ and $k$.
One way to define binomial coefficients is as the number of cardinality $k$ subsets of an cardinality $n$ subsets, which is,
${n \choose k} := |\{\; S \subseteq \{ 1, \dots, n \} \;:\; |S| = k \;\}|$
This formula is well-defined for any integer $n$ and $k$. Note that for $k = 0$ we always get ${n \choose k} = 1$ regardless of $n$ but generally it is zero for negative $n$.
There are many other ways of defining the binomial coefficients. For instance, another definition is:
${n \choose k} := \prod_{i=1}^k \dfrac{ n+1-i }{ i }$
which is equals $1$ for any non-positive $k$ regardless of $n$. Argueably, the latter definition of the binomial coefficients is not regarded as "foundational" for non-negative $n$ and $k$, but that does not really help in deciding for integers the binomial coefficients are defined and what their values are.
Is there a commonly accepted definition of ${n \choose k}$ for any integers $n$ and $k$, and what are the benefits of that definition for the working mathematician?
My preferred definition is:
$$\binom{x}k=\begin{cases} \frac{x^{\underline{k}}}{k!},&\text{if }0\le k\in\Bbb Z\\ 0,&\text{if }0>k\in\Bbb Z\,, \end{cases}$$
where $x$ can in principle be any complex number (though I’ve only actually seen it used with $x\in\Bbb R$), and $x^{\underline{k}}$ is a falling factorial. This behaves correctly for non-negative integer values of $x$ and $k$, behaves as it ought for negative integer $k$, works well in connection with manipulation of generating functions, and makes the binomial coefficient a polynomial in $x$ of degree $k$, which can be useful.