Mostly just a terminology : in the book I'm reading, the vanishing set of some collection of polynomials in $k[X_1,\ldots, X_n]$ is called an affine algebraic set in $k^n$. It seems like some sources call this an affine algebraic variety.
In this book, an "affine algebraic variety" is a ringed space isomorphic as a ringed space to $(V,\mathcal{O}_V)$, where $V$ is an affine algebraic set, and $\mathcal{O}_V$ is the sheaf of regular functions on $V$.
I'm just wondering if there's any reason people opt for one way or the other.