Nintendo now only requires one code per system to play with your friends on the 3DS, but as of now there is next to nothing to actually <em>do</em> with your friends ...
In lieu of a more traditional username system, the Nintendo Switch 2 will still use the friend codes from the previous console, but thankfully, there is an easier way to add friends this time around.