Confusion about inductors in series vs. combined
The answer you linked describes the effect of spacing out the windings on the total inductance. That is, length refers to the length of the solenoid, not the length of wire used to create the windings. Consider:

(Image Source)