>
it identifies that the 50mm lens is not the same with modern cameras (which have smaller sensors than 35mm film cameras), and recommends a 35mm lens for these camerasThat's a different thing, which is about the "crop factor".
Modern APS-C digital cameras have smaller sesnors, with a 1.5 crop factor and will need a 35mm lens to get 50mm angle of view. This is not needed for modern full-frame digital cameras, which can use a 50mm to get 50mm angle of view just like old film cameras.
The article in that section just tells people to get a 35mm for modern (APS-C crop factor) cameras, because that's what gives the 50mm effective angle of view on those.
This issue is orthogonal to the parent's suggestion for 40mm.
To put it in different terms, the article in that section is concerned with "what lens you need on a modern crop factor camera to get 50mm effective angle of view - hence the suggestion for a 35mm physical lens).
Whereas the parent is concened with the actual effective angle of view you get, and suggests 40mm effective angle of view is better than 40mm effective angle of view.
To get such 40mm effective a.o.v, you need a 40mm lens on a film camera or a full-frame digital, and a 27mm lens on a APS-C digital (the kind of cameras the article has in mind when it says that "modern cameras have smaller lensors).