Is there a difference between saying that the direct sum of $|S|$ copies of a ring $R$ is the set of all functions $f: S \to R$ such that they are zero except in finitely many places and saying that $\oplus_{s \in S} R$ is the set of all tuples $(r_s, r_{s^\prime}, r_{s^{\prime \prime}}, \dots )$ such that only finitely many $r_s$ are non-zero?
It seems to be the same and the second seems more intuitive but the first one is used on Wikipedia for some reason.