SolidWorks is subscription based, so your $50 buys access this year and probably you won’t want to use the model again next year, right?
OpenSCAD is free software, and that matters.
Hopefully readers know it’s decades behind and very rough to use. Your example of “superpower modern CAD” could have been a whole lot simpler... probably some simple 2D geometric construction would be enough to show a big gap.
SolidWorks is locked to Windows - out in the real world that might be 95% of the users but here it’s probably 50%.
To finish my defense of OpenSCAD: there’s a place and an upside to all-text source and coding parameterized with traditional variables that you can change in your editor and recompile just like any other code. No GUI is only 80% bad.